From 29b044db9db451b8b8d6fe45727a1a4ac6a857d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Niedzi=C3=B3=C5=82ka?= Date: Fri, 9 Jun 2023 12:18:45 +0200 Subject: [PATCH] fix(style): Make scrollbar colors match MDN (#1132) Co-authored-by: Queen Vinyl Da.i'gyu-Kazotetsu --- editor/css/editor-libs/common.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/css/editor-libs/common.css b/editor/css/editor-libs/common.css index d82d4856f..d02716602 100644 --- a/editor/css/editor-libs/common.css +++ b/editor/css/editor-libs/common.css @@ -134,6 +134,7 @@ --text-primary-green: #007936; --text-primary-blue: #0069c2; --text-primary-yellow: #746a00; + color-scheme: light; } .theme-dark { @@ -225,6 +226,7 @@ --text-primary-green: #00d061; --text-primary-blue: #8cb4ff; --text-primary-yellow: #c7b700; + color-scheme: dark; } @media (prefers-color-scheme: light) { @@ -345,6 +347,7 @@ --text-primary-green: #007936; --text-primary-blue: #0069c2; --text-primary-yellow: #746a00; + color-scheme: light; } } @@ -439,6 +442,7 @@ --text-primary-blue: #8cb4ff; --text-primary-yellow: #c7b700; --selection-background-color: #233244; + color-scheme: dark; } }