add functioning theme picker and overhaul theming system
This commit is contained in:
parent
20b8012b78
commit
64a269816d
680 changed files with 6166 additions and 5969 deletions
|
|
@ -9,10 +9,11 @@ import qs.settings
|
|||
BarComponent {
|
||||
id: root
|
||||
required property ShellScreen barScreen
|
||||
implicitWidth: wsLayout.implicitWidth
|
||||
implicitWidth: 10 * (16 + 4)
|
||||
RowLayout {
|
||||
id: wsLayout
|
||||
anchors.centerIn: parent
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 4
|
||||
Repeater {
|
||||
model: WindowManager.screenProjection(root.barScreen).windowsets
|
||||
|
|
@ -21,7 +22,7 @@ BarComponent {
|
|||
required property var modelData
|
||||
implicitWidth: 16
|
||||
implicitHeight: implicitWidth
|
||||
color: modelData.active ? Colors.accent : 'transparent'
|
||||
color: modelData.active ? Colors.c.base0D : 'transparent'
|
||||
MouseArea {
|
||||
id: clickHandler
|
||||
anchors.fill: parent
|
||||
|
|
@ -33,7 +34,7 @@ BarComponent {
|
|||
id: wsText
|
||||
anchors.centerIn: parent
|
||||
text: parent.modelData.name
|
||||
color: parent.modelData.shouldDisplay ? parent.modelData.active ? Colors.base00 : Colors.base05 : Colors.base03
|
||||
color: parent.modelData.shouldDisplay ? parent.modelData.active ? Colors.c.base00 : Colors.c.base05 : Colors.c.base03
|
||||
font.bold: parent.modelData.active
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue