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

calendar: use surfaceVariantText for adjacent month day numbers

This commit is contained in:
bbedward
2026-06-29 16:14:41 -04:00
parent 894efa58a3
commit e40faaa442
2 changed files with 9 additions and 3 deletions
@@ -574,7 +574,7 @@ Rectangle {
anchors.centerIn: parent
text: dayDate.getDate()
font.pixelSize: Theme.fontSizeSmall
color: isToday ? Theme.primary : isCurrentMonth ? Theme.surfaceText : Theme.onSurface_38
color: isToday ? Theme.primary : isCurrentMonth ? Theme.surfaceText : Theme.surfaceVariantText
font.weight: isToday ? Font.Medium : Font.Normal
}
+8 -2
View File
@@ -44,13 +44,19 @@ Theme.cornerRadiusLarge // Larger radius
### Surface Colors
```qml
Theme.surface
Theme.surfaceContainerLowest
Theme.surfaceContainerLow
Theme.surfaceContainerLowest // matugen-only (see note)
Theme.surfaceContainerLow // matugen-only (see note)
Theme.surfaceContainer
Theme.surfaceContainerHigh
Theme.surfaceContainerHighest
```
> **Note:** Not every theme color is consumed by DMS's own UI. `surfaceContainerLowest`,
> `surfaceContainerLow`, and `backgroundText` are currently unused by DMS components — they
> exist to complete the Material palette and are exported to matugen templates (VS Code,
> KDE, Firefox, Zed, etc.). They're still safe to reference in plugins; they just aren't
> relied on internally.
### Text Colors
```qml
Theme.onSurface // Primary text on surface