From a5e65be03411778ca0d56481afbae77fedf61a0c Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Thu, 6 Oct 2022 19:18:38 +0200 Subject: [PATCH] [themes] Fix line edit placeholder text color --- resources/themes/Blend of Gray/palette.txt | 1 + resources/themes/Blend of Gray/style.qss | 7 +++++-- resources/themes/Night Mapping/palette.txt | 5 +++-- resources/themes/Night Mapping/style.qss | 7 +++++-- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/resources/themes/Blend of Gray/palette.txt b/resources/themes/Blend of Gray/palette.txt index 124b6c3918b..9c2d054da2b 100644 --- a/resources/themes/Blend of Gray/palette.txt +++ b/resources/themes/Blend of Gray/palette.txt @@ -6,3 +6,4 @@ 10:#373737 12:#f0f0f0 13:#373737 +20:#727272 diff --git a/resources/themes/Blend of Gray/style.qss b/resources/themes/Blend of Gray/style.qss index 932d980fd2d..a8fe27531b2 100644 --- a/resources/themes/Blend of Gray/style.qss +++ b/resources/themes/Blend of Gray/style.qss @@ -1,9 +1,13 @@ QWidget { - color: @text; background: transparent; } +QLabel, QCheckBox, QRadioButton +{ + color: @text; +} + QWindow, QMainWindow, QMdiSubWindow, QDialog, QAbstractScrollArea, QFocusFrame, QWizardPage, QDockWidget, QDockWidgetGroupWindow, QTabWidget, QGroupBox { color: @text; @@ -200,7 +204,6 @@ QLineEdit, QTextEdit, QPlainTextEdit border-style: solid; border-radius: 0.2em; background-color:@itembackground; - color:@text; selection-background-color: @selection; selection-color: @itemdarkbackground; } diff --git a/resources/themes/Night Mapping/palette.txt b/resources/themes/Night Mapping/palette.txt index 9faae05722a..8977eddf2d7 100644 --- a/resources/themes/Night Mapping/palette.txt +++ b/resources/themes/Night Mapping/palette.txt @@ -1,10 +1,11 @@ -0:#aaaaaa +0:#111111 2:#323232 5:#535353 -6:#aaaaaa +6:#111111 9:#222222 10:#535353 12:#d7801a 13:#323232 14:#0080ff 15:#0080ff +20:#535353 diff --git a/resources/themes/Night Mapping/style.qss b/resources/themes/Night Mapping/style.qss index 3af26c04a33..442769b4f3a 100644 --- a/resources/themes/Night Mapping/style.qss +++ b/resources/themes/Night Mapping/style.qss @@ -1,9 +1,13 @@ QWidget { - color: @text; background: transparent; } +QLabel, QCheckBox, QRadioButton +{ + color: @text; +} + QWindow, QMainWindow, QMdiSubWindow, QDialog, QAbstractScrollArea, QFocusFrame, QWizardPage, QDockWidget, QDockWidgetGroupWindow, QTabWidget, QGroupBox { color: @text; @@ -197,7 +201,6 @@ QLineEdit padding: 0.12em; border: 1px solid #111; background-color: #888; - color: #111; selection-background-color: @selection; selection-color: @text; }