mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-21 22:50:14 +03:00
fixes for colors for Latte Components
This commit is contained in:
parent
7e69c5986e
commit
eac3c510d4
@ -157,7 +157,7 @@ T.ComboBox {
|
||||
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
|
||||
// https://bugreports.qt.io/browse/QTBUG-67007
|
||||
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
|
||||
color: theme.textColor //control.enabled ? theme.textColor : theme.disabledTextColor
|
||||
color: theme.buttonTextColor //control.enabled ? theme.textColor : theme.disabledTextColor
|
||||
selectionColor: Kirigami.Theme.highlightColor
|
||||
selectedTextColor: Kirigami.Theme.highlightedTextColor
|
||||
|
||||
|
@ -82,9 +82,9 @@ T.CheckDelegate {
|
||||
enabled: control.enabled
|
||||
opacity: {
|
||||
if (control.highlighted || control.pressed) {
|
||||
return 0.7;
|
||||
return 0.6;
|
||||
} else if (control.hovered && !control.pressed) {
|
||||
return 0.4;
|
||||
return 0.3;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user