fix(ui): Make styling more consistent

Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
Collecting
2026-01-31 00:49:26 +01:00
parent 4568f63570
commit dcef7593cf

View File

@@ -69,8 +69,6 @@
border-left: 2px solid %%ACCENT_COLOR%%; border-left: 2px solid %%ACCENT_COLOR%%;
} }
/* All other styles remain the same... just paste this block at the top */
QWidget { QWidget {
background-color: %%BACKGROUND_COLOR%%; background-color: %%BACKGROUND_COLOR%%;
color: %%TEXT_COLOR%%; color: %%TEXT_COLOR%%;
@@ -217,18 +215,31 @@
selection-background-color: %%ACCENT_COLOR%%; selection-background-color: %%ACCENT_COLOR%%;
} }
QPushButton { QPushButton, QToolButton {
background-color: %%ACCENT_COLOR%%; background-color: transparent;
color: #ffffff; color: %%TEXT_COLOR%%;
border: none; border: 2px solid %%ACCENT_COLOR%%;
padding: 10px 20px; padding: 5px 15px;
border-radius: 6px; border-radius: 6px;
font-weight: bold; font-weight: bold;
min-height: 20px; min-height: 20px;
} }
QPushButton:hover { QPushButton:hover, QToolButton:hover {
background-color: %%ACCENT_COLOR_HOVER%%; color: %%ACCENT_COLOR_HOVER%%;
border-color: %%ACCENT_COLOR_HOVER%%;
}
QPushButton:pressed, QToolButton:pressed {
color: #ffffff;
background-color: %%ACCENT_COLOR_PRESSED%%;
border-color: %%ACCENT_COLOR_PRESSED%%;
}
QPushButton:disabled, QToolButton:disabled {
background-color: %%TERTIARY_BG_COLOR%%;
border-color: %%TERTIARY_BG_COLOR%%;
color: %%DISABLED_TEXT_COLOR%%;
} }
</string> </string>
</property> </property>