1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 07:52:50 -05:00

theme: add colorful bar widget option

This commit is contained in:
bbedward
2025-11-21 00:07:23 -05:00
parent 46caeb0445
commit dfe2f3771b
27 changed files with 170 additions and 84 deletions

View File

@@ -292,7 +292,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter
size: Theme.barIconSize(root.barThickness)
name: "sports_esports"
color: Theme.surfaceText
color: Theme.widgetTextColor
visible: {
const moddedId = Paths.moddedAppId(appId)
return moddedId.toLowerCase().includes("steam_app")
@@ -321,7 +321,7 @@ Item {
return appId.charAt(0).toUpperCase()
}
font.pixelSize: 10
color: Theme.surfaceText
color: Theme.widgetTextColor
}
Rectangle {
@@ -354,7 +354,7 @@ Item {
visible: !SettingsData.runningAppsCompactMode
text: windowTitle
font.pixelSize: Theme.barTextSize(barThickness)
color: Theme.surfaceText
color: Theme.widgetTextColor
elide: Text.ElideRight
maximumLineCount: 1
}
@@ -527,7 +527,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter
size: Theme.barIconSize(root.barThickness)
name: "sports_esports"
color: Theme.surfaceText
color: Theme.widgetTextColor
visible: {
const moddedId = Paths.moddedAppId(appId)
return moddedId.toLowerCase().includes("steam_app")
@@ -555,7 +555,7 @@ Item {
return appId.charAt(0).toUpperCase()
}
font.pixelSize: 10
color: Theme.surfaceText
color: Theme.widgetTextColor
}
Rectangle {
@@ -587,7 +587,7 @@ Item {
visible: !SettingsData.runningAppsCompactMode
text: windowTitle
font.pixelSize: Theme.barTextSize(barThickness)
color: Theme.surfaceText
color: Theme.widgetTextColor
elide: Text.ElideRight
maximumLineCount: 1
}
@@ -777,7 +777,7 @@ Item {
anchors.centerIn: parent
text: I18n.tr("Close")
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
color: Theme.widgetTextColor
}
MouseArea {