summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/SystemTheme.h
diff options
context:
space:
mode:
authorJaime Valenzuela Durán <jaime@jpandoac.xyz>2022-03-05 01:28:03 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-05 10:25:14 +0100
commit7c324004312d98c355234b6201a6b9930dd98090 (patch)
treef511ff1360f3eef0b80c7e78a2e68913a3f2751f /Userland/Libraries/LibGfx/SystemTheme.h
parent26d29e922096acc79729acd01ae2a3fdf153a50f (diff)
downloadserenity-7c324004312d98c355234b6201a6b9930dd98090.zip
Base+LibGUI+LibGfx: Improve disabled text readability
Currently, disabled text colors are hardcoded. They look good in Default and light themes, but no so good in dark ones. This PR adds new variables for all themes to correctly display disabled text.
Diffstat (limited to 'Userland/Libraries/LibGfx/SystemTheme.h')
-rw-r--r--Userland/Libraries/LibGfx/SystemTheme.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGfx/SystemTheme.h b/Userland/Libraries/LibGfx/SystemTheme.h
index 30b15b4279..769760c6dd 100644
--- a/Userland/Libraries/LibGfx/SystemTheme.h
+++ b/Userland/Libraries/LibGfx/SystemTheme.h
@@ -30,6 +30,8 @@ namespace Gfx {
C(BaseText) \
C(Button) \
C(ButtonText) \
+ C(DisabledTextFront) \
+ C(DisabledTextBack) \
C(DesktopBackground) \
C(FocusOutline) \
C(Gutter) \