Skip to content

Commit 14292b4

Browse files
kusmamdo
authored andcommitted
Increase contrast in dark-mode (#38525)
This increases the default brightness for the body text-color in dark mode, which inceases readability a bit. It was also suggested to darken the background a bit, but we unfortunately don't have a darker gray in our color palette. So for now, let's increase the text-color by two notches, and leave the background color as-is instead.
1 parent 9369cd9 commit 14292b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scss/_variables-dark.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $light-border-subtle-dark: $gray-700 !default;
4040
$dark-border-subtle-dark: $gray-800 !default;
4141
// scss-docs-end theme-border-subtle-dark-variables
4242

43-
$body-color-dark: $gray-500 !default;
43+
$body-color-dark: $gray-300 !default;
4444
$body-bg-dark: $gray-900 !default;
4545
$body-secondary-color-dark: rgba($body-color-dark, .75) !default;
4646
$body-secondary-bg-dark: $gray-800 !default;

0 commit comments

Comments
 (0)