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:
Grant Likely
2025-06-14 08:37:51 +01:00
committed by Ryan Foster
parent cbfd6d2677
commit fbc99ecd74

View File

@@ -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,