move theme to styling
This commit is contained in:
parent
467c9bc0e3
commit
4375f6e13d
36 changed files with 68 additions and 67 deletions
|
|
@ -11,7 +11,7 @@ import Quickshell.Bluetooth
|
|||
StyledPopupWindow {
|
||||
id: root
|
||||
|
||||
backgroundColor: Theme.palette.base300
|
||||
backgroundColor: Styling.theme.base300
|
||||
margins: 16
|
||||
radius: 8
|
||||
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ StyledLabel {
|
|||
PropertyChanges {
|
||||
icon {
|
||||
text: Styling.lucide.icons.batteryWarning
|
||||
color: Theme.palette.error
|
||||
color: Styling.theme.error
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -76,7 +76,7 @@ StyledLabel {
|
|||
StyledButton {
|
||||
Layout.alignment: Qt.AlignRight
|
||||
text: 'Disconnect'
|
||||
palette.button: hovered ? Theme.palette.error : Theme.palette.base200
|
||||
palette.button: hovered ? Styling.theme.error : Styling.theme.base200
|
||||
|
||||
onClicked: {
|
||||
if (root.modelData.state != BluetoothDeviceState.Connected) {
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ StyledLabel {
|
|||
hoverEnabled: root.modelData.state == BluetoothDeviceState.Disconnected
|
||||
text: 'Unpair'
|
||||
|
||||
palette.button: hovered ? Theme.palette.error : Theme.palette.base100
|
||||
palette.button: hovered ? Styling.theme.error : Styling.theme.base100
|
||||
|
||||
onClicked: {
|
||||
if (!hoverEnabled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue