Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Fix Darker theme pressed text contrast

Rodney14d88abab3f6
diff --git a/stuff/config/qss/Darker/Darker.qss b/stuff/config/qss/Darker/Darker.qss
index 6546f5f02..82ffab3b5 100644
--- a/stuff/config/qss/Darker/Darker.qss
+++ b/stuff/config/qss/Darker/Darker.qss
@@ -474,7 +474,7 @@ QPushButton:hover {
QPushButton:pressed {
background-color: #424c61;
border-color: #495368;
- color: #424c61;
+ color: #d3d3d3;
}
QPushButton:checked {
background-color: #242424;
@@ -515,7 +515,7 @@ QPushButton:disabled {
#CustomPanelButton:pressed {
background-color: #424c61;
border-color: #495368;
- color: #424c61;
+ color: #d3d3d3;
}
#CustomPanelButton:checked {
background-color: #242424;
@@ -558,7 +558,7 @@ QComboBox:checked {
QComboBox:pressed {
background-color: #424c61;
border-color: #6378a6;
- color: #424c61;
+ color: #d3d3d3;
}
QComboBox:pressed:focus {
background-color: #424c61;
@@ -1857,7 +1857,7 @@ PaletteViewer QToolBar #keyFrameNavigator #KeyTotal {
#WordButton:pressed {
background-color: #424c61;
border-color: #495368;
- color: #424c61;
+ color: #d3d3d3;
}
#WordButton:checked {
background-color: #242424;
@@ -1966,7 +1966,7 @@ QDialog #dialogButtonFrame QPushButton:focus:hover {
QDialog #dialogButtonFrame QPushButton:focus:pressed {
background-color: #424c61;
border-color: #495368;
- color: #424c61;
+ color: #d3d3d3;
}
/* -----------------------------------------------------------------------------
Scene Settings
@@ -2099,7 +2099,7 @@ ProjectPopup QLabel {
#toolOptionsPanel QPushButton:pressed {
background-color: #424c61;
border-color: #495368;
- color: #424c61;
+ color: #d3d3d3;
}
#toolOptionsPanel QPushButton:checked {
background-color: #242424;
@@ -2572,7 +2572,7 @@ Ruler {
#enableBlankFrameButton:pressed {
background-color: #424c61;
border-color: #495368;
- color: #424c61;
+ color: #d3d3d3;
}
#enableBlankFrameButton:checked {
background-color: #242424;
diff --git a/stuff/config/qss/Default/less/themes/others/darker-theme.less b/stuff/config/qss/Default/less/themes/others/darker-theme.less
index ec9b0b640..55e551bfa 100644
--- a/stuff/config/qss/Default/less/themes/others/darker-theme.less
+++ b/stuff/config/qss/Default/less/themes/others/darker-theme.less
@@ -74,7 +74,7 @@
@button-border-color-hover: #050202;
@button-bg-color-focus-hover: @hl-color;
-@button-text-color-pressed: @dark-color-2;
+@button-text-color-pressed: @text-color;
@button-border-color-pressed: @darker-muted-accent-color;
@button-text-color-checked: #d6d6d6;