mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 03:28:28 -04:00
theme: sweep everything that isnt using a spacing token from singleton,
add Theme.XXS
This commit is contained in:
@@ -455,7 +455,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.verticalCenterOffset: parent.height * 0.2
|
||||
|
||||
@@ -582,7 +582,7 @@ Rectangle {
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottomMargin: 3
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: CalendarService && CalendarService.calendarAvailable && CalendarService.hasEventsForDate(dayDate)
|
||||
|
||||
Repeater {
|
||||
@@ -965,7 +965,7 @@ Rectangle {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.leftMargin: (modelData && modelData.id && modelData.id.startsWith("task_")) ? 60 : (Theme.spacingS + 6)
|
||||
anchors.rightMargin: (modelData && modelData.id && modelData.id.startsWith("task_")) ? 64 : Theme.spacingXS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: !taskItem.isEditing
|
||||
|
||||
StyledText {
|
||||
|
||||
@@ -154,7 +154,7 @@ Rectangle {
|
||||
|
||||
Column {
|
||||
id: detailsColumn
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: !root.dense
|
||||
width: implicitWidth
|
||||
|
||||
@@ -183,7 +183,7 @@ Rectangle {
|
||||
Repeater {
|
||||
model: root.values.length
|
||||
Row {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
name: root.values[index].icon
|
||||
|
||||
@@ -349,7 +349,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.label
|
||||
|
||||
Reference in New Issue
Block a user