make style smarter
This commit is contained in:
parent
ffa3068128
commit
aebb29a028
6 changed files with 24 additions and 32 deletions
|
|
@ -4,11 +4,9 @@ import qs
|
|||
import qs.settings
|
||||
|
||||
Rectangle {
|
||||
property color accent: Colors.c.base02
|
||||
property color base: Qt.rgba(Colors.accent.r, Colors.accent.g, Colors.accent.b, active ? 0.5 : 0.19)
|
||||
property bool active: false
|
||||
color: active ? Colors.c.base03 : Colors.c.base02
|
||||
color: base
|
||||
implicitHeight: Config.cfg.bar.height - 8
|
||||
radius: Config.cfg.appearance.rounding - 4
|
||||
border.width: 1
|
||||
border.color: Colors.c.base03
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue