make style smarter
This commit is contained in:
parent
ffa3068128
commit
aebb29a028
6 changed files with 24 additions and 32 deletions
|
|
@ -18,8 +18,6 @@ Rectangle {
|
|||
implicitHeight: 600
|
||||
color: Colors.c.base00
|
||||
radius: Config.cfg.appearance.rounding
|
||||
border.width: 1
|
||||
border.color: Colors.c.base03
|
||||
MouseArea {
|
||||
acceptedButtons: Qt.AllButtons
|
||||
anchors.fill: parent
|
||||
|
|
@ -55,8 +53,7 @@ Rectangle {
|
|||
implicitWidth: 300
|
||||
implicitHeight: 30
|
||||
radius: Config.cfg.appearance.rounding
|
||||
border.width: 1
|
||||
border.color: Colors.c.base03
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -69,8 +66,6 @@ Rectangle {
|
|||
delegate: Rectangle {
|
||||
id: container
|
||||
required property var modelData
|
||||
border.width: 1
|
||||
border.color: Colors.c.base03
|
||||
color: Colors.c.base02
|
||||
height: 30
|
||||
radius: Config.cfg.appearance.rounding
|
||||
|
|
|
|||
|
|
@ -30,11 +30,10 @@ Rectangle {
|
|||
id: audioRep
|
||||
model: Audio.sinks
|
||||
|
||||
delegate: Rectangle {
|
||||
delegate: BarComponent {
|
||||
Layout.margins: 5
|
||||
id: audioDelContainer
|
||||
Layout.fillWidth: true
|
||||
color: Colors.c.base02
|
||||
radius: Config.cfg.appearance.rounding - 4
|
||||
required property var modelData
|
||||
implicitHeight: audioRow.implicitHeight + 8
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ Variants {
|
|||
margins.left: Config.cfg.bar.floating ? 10 : 0
|
||||
margins.right: Config.cfg.bar.floating ? 10 : 0
|
||||
Rectangle {
|
||||
color: Colors.c.base01
|
||||
color: Colors.c.base00
|
||||
radius: Config.cfg.bar.floating ? Config.cfg.appearance.rounding : 0
|
||||
anchors.fill: parent
|
||||
implicitHeight: parent.height
|
||||
|
|
|
|||
Loading…
Reference in a new issue