Skip to content

Commit

Permalink
Adjust search preview contrast
Browse files Browse the repository at this point in the history
Increases contrast for both light and dark modes for the search preview
  • Loading branch information
JPrevost committed Aug 22, 2023
1 parent a43babb commit 1070a02
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
7 changes: 5 additions & 2 deletions docs/_sass/color_schemes/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%);

Expand Down
9 changes: 7 additions & 2 deletions docs/_sass/color_schemes/light.scss
Original file line number Diff line number Diff line change
@@ -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%);

Expand Down

0 comments on commit 1070a02

Please sign in to comment.