From ab131a6f1821321dea9752f3691aceb4d4f9f68c Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 23 Jun 2023 12:11:30 +0200 Subject: [PATCH] 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. --- scss/_variables-dark.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/_variables-dark.scss b/scss/_variables-dark.scss index 494eefac23ed..79f29a305853 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;