From 1070a028e85f362bfa941975183ff491c5278f98 Mon Sep 17 00:00:00 2001 From: Jeremy Prevost Date: Tue, 22 Aug 2023 09:34:57 -0400 Subject: [PATCH] Adjust search preview contrast Increases contrast for both light and dark modes for the search preview --- docs/_sass/color_schemes/dark.scss | 7 +++++-- docs/_sass/color_schemes/light.scss | 9 +++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/_sass/color_schemes/dark.scss b/docs/_sass/color_schemes/dark.scss index a970d27..9ea77c7 100644 --- a/docs/_sass/color_schemes/dark.scss +++ b/docs/_sass/color_schemes/dark.scss @@ -7,13 +7,16 @@ $body-heading-color: $gray-warm; $sidebar-color: $black; $border-color: $gray-d2; + $nav-child-link-color: $gray-warm; $nav-link-color: $gray-warm; -$search-result-preview-color: $grey-dk-000; $link-color: $blue-bright; $btn-primary-color: $blue; $base-button-color: $gray-d1; -$search-background-color: $gray-d1; + +$search-background-color: $gray-d2; +$search-result-preview-color: $grey-dk-000; + $table-background-color: $gray-d1; $feedback-color: darken($sidebar-color, 3%); diff --git a/docs/_sass/color_schemes/light.scss b/docs/_sass/color_schemes/light.scss index 11fedc6..292aa07 100644 --- a/docs/_sass/color_schemes/light.scss +++ b/docs/_sass/color_schemes/light.scss @@ -1,17 +1,22 @@ @import 'global/variables'; $body-background-color: $white; + $sidebar-color: $gray-l4; + $border-color: $grey-dk-200; $body-text-color: $black; $body-heading-color: $black; + $nav-child-link-color: $blue; $nav-link-color: $blue; -$search-result-preview-color: $grey-dk-000; $link-color: $blue; $btn-primary-color: $blue-200; $base-button-color: $grey-dk-250; -$search-background-color: $grey-dk-250; + +$search-background-color: $gray-l4; +$search-result-preview-color: $black; + $table-background-color: $grey-dk-250; $feedback-color: darken($sidebar-color, 3%);