mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-19 13:56:06 -04:00
frontend: Add theming for checked QToolButtons
The Yami theme provides colours for checked QPushButtons, but does not do the same for checked QToolButton. This commit adds colors for the QToolButton:checked: state that match the QPushButton:checked: colors
This commit is contained in:
committed by
Ryan Foster
parent
cbfd6d2677
commit
fbc99ecd74
@@ -1498,6 +1498,19 @@ QToolButton:focus,
|
||||
background-color: var(--button_bg_hover);
|
||||
}
|
||||
|
||||
QToolButton:checked,
|
||||
.btn-tool:checked {
|
||||
background-color: var(--primary);
|
||||
border-color: var(--primary_light);
|
||||
}
|
||||
|
||||
QToolButton:checked:hover,
|
||||
QToolButton:checked:focus,
|
||||
.btn-tool:checked:hover,
|
||||
.btn-tool:checked:focus {
|
||||
border-color: var(--primary_lighter);
|
||||
}
|
||||
|
||||
QToolButton:pressed,
|
||||
QToolButton:pressed:hover,
|
||||
.btn-tool:pressed,
|
||||
|
||||
Reference in New Issue
Block a user