diff options
| author | Erik Faye-Lund <[email protected]> | 2023-06-23 12:11:30 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2023-06-25 14:44:38 -0700 |
| commit | 14292b4a22b3390a633184b97043e3e4a85db93a (patch) | |
| tree | aacfb2cf01ee74fea32b7ecec1164b06f4947d8e | |
| parent | 9369cd93fb177a967ae3d59485721491bb388d1d (diff) | |
| download | bootstrap-14292b4a22b3390a633184b97043e3e4a85db93a.tar.xz bootstrap-14292b4a22b3390a633184b97043e3e4a85db93a.zip | |
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.
| -rw-r--r-- | scss/_variables-dark.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_variables-dark.scss b/scss/_variables-dark.scss index 494eefac2..79f29a305 100644 --- a/scss/_variables-dark.scss +++ b/scss/_variables-dark.scss @@ -40,7 +40,7 @@ $light-border-subtle-dark: $gray-700 !default; $dark-border-subtle-dark: $gray-800 !default; // scss-docs-end theme-border-subtle-dark-variables -$body-color-dark: $gray-500 !default; +$body-color-dark: $gray-300 !default; $body-bg-dark: $gray-900 !default; $body-secondary-color-dark: rgba($body-color-dark, .75) !default; $body-secondary-bg-dark: $gray-800 !default; |
