mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-03 20:18:31 -04:00
theme: sweep everything that isnt using a spacing token from singleton,
add Theme.XXS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user