Files
DankMaterialShell/quickshell/Modules/Settings/PluginBadge.qml
T
bbedward 014c69b09a settings: tile color restyle and re-org, use materials own shift for
them towards theme
controlCenter: make a real grid, add numerous more tile varieties, add
icon size option
surfaces: fix elevation levels in general, and shift them down
settings: restyles and re-org
sliders: scale down universally
2026-09-18 14:32:55 -04:00

42 lines
1014 B
QML

import QtQuick
import qs.Common
import qs.Widgets
Rectangle {
id: root
property string label: ""
property string iconName: ""
property color tone: Theme.primary
property bool onImage: false
height: Theme.iconSize
width: content.implicitWidth + Theme.spacingS * 2
radius: Theme.cornerRadiusS
color: Theme.chipSurface
border.color: Theme.outlineVariant
border.width: Theme.outlineWidth
Row {
id: content
anchors.centerIn: parent
spacing: Theme.spacingXXS
DankIcon {
name: root.iconName
size: Theme.iconSizeSmall
color: root.tone
visible: root.iconName.length > 0
anchors.verticalCenter: parent.verticalCenter
}
StyledText {
text: root.label
font.pixelSize: Theme.fontSizeSmall
font.weight: Theme.fontWeightMedium
color: root.tone
anchors.verticalCenter: parent.verticalCenter
}
}
}