1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-04 04:28:30 -04:00

theme: large consolidation of colors into Theme.qml, add

surfaceContainerLow/Lowest
This commit is contained in:
bbedward
2026-06-29 15:50:42 -04:00
parent 50570023ff
commit 894efa58a3
182 changed files with 886 additions and 782 deletions
@@ -24,7 +24,7 @@ Rectangle {
width: parent?.width ?? 0
height: deviceRowContent.height + Theme.spacingM * 2
radius: Theme.cornerRadius
color: deviceMouseArea.containsMouse ? Theme.surfaceHover : "transparent"
color: deviceMouseArea.containsMouse ? Theme.surfaceHover : Theme.withAlpha(Theme.surfaceHover, 0)
readonly property bool hasCustomAlias: AudioService.hasDeviceAlias(deviceNode?.name ?? "")
readonly property string displayedName: AudioService.displayName(deviceNode)
@@ -62,7 +62,7 @@ Item {
height: 60
radius: Theme.cornerRadius
color: root.colorMode === modelData.id ? Theme.primarySelected : Theme.surfaceHover
border.color: root.colorMode === modelData.id ? Theme.primary : "transparent"
border.color: root.colorMode === modelData.id ? Theme.primary : Theme.withAlpha(Theme.primary, 0)
border.width: 2
Column {
@@ -94,7 +94,7 @@ Rectangle {
width: 32
height: 32
radius: 16
color: deleteMouse.containsMouse ? Theme.error : "transparent"
color: deleteMouse.containsMouse ? Theme.error : Theme.withAlpha(Theme.error, 0)
anchors.verticalCenter: parent.verticalCenter
DankIcon {
@@ -285,7 +285,7 @@ Rectangle {
height: 40
radius: Theme.cornerRadius
color: root.cfg.gpuPciId === modelData.pciId ? Theme.primarySelected : Theme.surfaceContainer
border.color: root.cfg.gpuPciId === modelData.pciId ? Theme.primary : "transparent"
border.color: root.cfg.gpuPciId === modelData.pciId ? Theme.primary : Theme.withAlpha(Theme.primary, 0)
border.width: 2
Row {