1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-04 12:38:31 -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
@@ -447,7 +447,7 @@ DankPopout {
Column {
anchors.centerIn: parent
spacing: 2
spacing: Theme.spacingXXS
StyledText {
text: I18n.tr("Health")
@@ -484,7 +484,7 @@ DankPopout {
Column {
anchors.centerIn: parent
spacing: 2
spacing: Theme.spacingXXS
StyledText {
text: I18n.tr("Capacity")
@@ -513,7 +513,7 @@ DankPopout {
Column {
anchors.centerIn: parent
spacing: 2
spacing: Theme.spacingXXS
StyledText {
text: modelData.state === UPowerDeviceState.Charging ? I18n.tr("To Full") : modelData.state === UPowerDeviceState.Discharging ? I18n.tr("Left") : ""
@@ -245,7 +245,7 @@ DankPopout {
Column {
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
StyledText {
text: root.getLayoutName(modelData)
@@ -351,7 +351,7 @@ DankPopout {
Column {
anchors.verticalCenter: parent.verticalCenter
width: parent.width - 64 - Theme.spacingS
spacing: 2
spacing: Theme.spacingXXS
StyledText {
width: parent.width
@@ -364,7 +364,7 @@ DankPopout {
Row {
width: parent.width
spacing: 4
spacing: Theme.spacingXS
StyledText {
text: {
@@ -755,7 +755,7 @@ BasePill {
anchors.left: parent.left
anchors.leftMargin: 1
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
DankIcon {
id: audioIcon
@@ -792,7 +792,7 @@ BasePill {
anchors.left: parent.left
anchors.leftMargin: 1
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
DankIcon {
id: micIcon
@@ -829,7 +829,7 @@ BasePill {
anchors.left: parent.left
anchors.leftMargin: 1
anchors.verticalCenter: parent.verticalCenter
spacing: 2
spacing: Theme.spacingXXS
DankIcon {
id: brightnessIcon
@@ -34,7 +34,7 @@ BasePill {
Column {
id: contentColumn
anchors.centerIn: parent
spacing: 2
spacing: Theme.spacingXXS
visible: root.isVerticalOrientation
DankIcon {
@@ -88,7 +88,7 @@ BasePill {
Row {
anchors.verticalCenter: parent.verticalCenter
spacing: 4
spacing: Theme.spacingXS
StyledText {
text: "↓"
@@ -117,7 +117,7 @@ BasePill {
Row {
anchors.verticalCenter: parent.verticalCenter
spacing: 4
spacing: Theme.spacingXS
StyledText {
text: "↑"
@@ -1331,7 +1331,7 @@ BasePill {
anchors.verticalCenter: menuContainer.popupUsesVerticalLine ? undefined : parent.verticalCenter
anchors.horizontalCenter: menuContainer.popupUsesVerticalLine ? parent.horizontalCenter : undefined
columns: menuContainer.popupUsesVerticalLine ? 1 : (root.useSingleLineOverflowPopup ? root.hiddenBarItems.length : Math.min(5, root.hiddenBarItems.length))
spacing: 2
spacing: Theme.spacingXXS
rowSpacing: 2
Repeater {
@@ -1572,7 +1572,7 @@ Item {
Component {
id: rowLayout
Row {
spacing: 4
spacing: Theme.spacingXS
visible: loadedIcons.length > 0 || SettingsData.showWorkspaceIndex || SettingsData.showWorkspaceName || loadedHasIcon
Item {
@@ -1759,7 +1759,7 @@ Item {
Component {
id: columnLayout
Column {
spacing: 4
spacing: Theme.spacingXS
visible: loadedIcons.length > 0 || SettingsData.showWorkspaceIndex || SettingsData.showWorkspaceName || loadedHasIcon
DankIcon {