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

theme: sweep everything that isnt using a spacing token from singleton,

add Theme.XXS
This commit is contained in:
bbedward
2026-07-02 12:00:09 -04:00
parent a98417d66b
commit 093acdbff7
104 changed files with 280 additions and 237 deletions
@@ -274,7 +274,7 @@ PluginComponent {
}
Column {
spacing: 2
spacing: Theme.spacingXXS
Layout.alignment: Qt.AlignVCenter
Layout.fillWidth: true
@@ -234,7 +234,7 @@ PluginComponent {
verticalBarPill: Component {
Column {
spacing: 2
spacing: Theme.spacingXXS
DankIcon {
name: "monitor"
color: Theme.primary
@@ -344,7 +344,7 @@ PluginComponent {
anchors.right: parent.right
anchors.top: parent.top
anchors.margins: Theme.spacingS
spacing: 2
spacing: Theme.spacingXXS
RowLayout {
width: parent.width
@@ -419,7 +419,7 @@ PluginComponent {
Column {
visible: isExpanded
width: parent.width
spacing: 2
spacing: Theme.spacingXXS
topPadding: 4
RowLayout {
@@ -74,7 +74,7 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
Typography {
width: parent.width
@@ -24,7 +24,7 @@ Rectangle {
id: menuColumn
anchors.fill: parent
anchors.margins: Theme.spacingS
spacing: 2
spacing: Theme.spacingXXS
DankToggle {
width: parent.width
@@ -170,7 +170,7 @@ Row {
Column {
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
width: parent.width - Theme.iconSize * 2 - Theme.spacingM * 3
Typography {
@@ -51,7 +51,7 @@ Rectangle {
Column {
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
Typography {
text: UserInfoService.fullName || UserInfoService.username || I18n.tr("User")
@@ -13,7 +13,7 @@ Row {
readonly property var availableSizes: isSlider ? [50, 75, 100] : [25, 50, 75, 100]
spacing: 2
spacing: Theme.spacingXXS
Repeater {
model: root.availableSizes
@@ -279,7 +279,7 @@ Rectangle {
Row {
id: pinInputRow
anchors.centerIn: parent
spacing: 4
spacing: Theme.spacingXS
DankIcon {
name: "push_pin"
@@ -288,7 +288,7 @@ Rectangle {
Row {
id: pinOutputRow
anchors.centerIn: parent
spacing: 4
spacing: Theme.spacingXS
DankIcon {
name: "push_pin"
@@ -197,7 +197,7 @@ Item {
Column {
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
StyledText {
text: device ? (device.name || device.deviceName) : ""
@@ -266,7 +266,7 @@ Item {
Column {
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
StyledText {
text: modelData.name
@@ -344,7 +344,7 @@ Rectangle {
Row {
id: pinBluetoothRow
anchors.centerIn: parent
spacing: 4
spacing: Theme.spacingXS
DankIcon {
name: "push_pin"
@@ -226,7 +226,7 @@ Rectangle {
Row {
id: globalPinRow
anchors.centerIn: parent
spacing: 4
spacing: Theme.spacingXS
DankIcon {
name: "push_pin"
@@ -304,7 +304,7 @@ Rectangle {
Column {
id: deviceIconColumn
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
DankIcon {
name: {
@@ -502,7 +502,7 @@ Rectangle {
Row {
anchors.centerIn: parent
spacing: 4
spacing: Theme.spacingXS
DankIcon {
name: "show_chart"
@@ -91,7 +91,7 @@ Rectangle {
Column {
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
DankIcon {
name: "storage"
@@ -107,7 +107,7 @@ Rectangle {
Column {
anchors.verticalCenter: parent.verticalCenter
width: parent.width - Theme.iconSizeLarge - Theme.spacingM
spacing: 2
spacing: Theme.spacingXXS
StyledText {
text: I18n.tr("Silence notifications")
@@ -683,7 +683,7 @@ Rectangle {
Row {
id: pinWifiRow
anchors.centerIn: parent
spacing: 4
spacing: Theme.spacingXS
DankIcon {
name: "push_pin"
@@ -146,7 +146,7 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
StyledText {
width: parent.width
@@ -60,7 +60,7 @@ Rectangle {
Row {
anchors.centerIn: parent
spacing: 4
spacing: Theme.spacingXS
DankIcon {
name: BatteryService.getBatteryIcon()
@@ -82,7 +82,7 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
StyledText {
width: parent.width