From a610ca7ee1173be9491df69430165bf79523d3c6 Mon Sep 17 00:00:00 2001 From: Olivier Bado-Faustin <12731381+Badatos@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:17:22 +0100 Subject: [PATCH] improve contrasts --- docs/assets/css/style.css | 6 +++--- docs/assets/css/syntax_highlight.scss | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/assets/css/style.css b/docs/assets/css/style.css index 06af9fdc73..d3c8688941 100644 --- a/docs/assets/css/style.css +++ b/docs/assets/css/style.css @@ -12,9 +12,9 @@ --bs-btn-active-border-color: #9C5514; } -.btn-outline-primary { - --bs-btn-color: #9C5514; - --bs-btn-border-color: #9C5514; +[data-bs-theme="dark"] .btn-outline-primary { + --bs-btn-color: #FFF; + --bs-btn-border-color: #FFF; --bs-btn-hover-bg: #9C5514; --bs-btn-hover-border-color: #473321; --bs-btn-active-bg: #9C5514; diff --git a/docs/assets/css/syntax_highlight.scss b/docs/assets/css/syntax_highlight.scss index 70202d564a..230b54d161 100644 --- a/docs/assets/css/syntax_highlight.scss +++ b/docs/assets/css/syntax_highlight.scss @@ -3,6 +3,10 @@ @import "rouge"; +.highlight { + border-left: 3px solid var(--bs-gray-500); +} + pre.highlight{ padding: 1rem; } @@ -10,3 +14,7 @@ pre.highlight{ .highlight .nv { color: #027F88; } + +.highlight .nb{ + color: #0B7AAC; +}