mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-05 21:18:30 -04:00
calendar: use surfaceVariantText for adjacent month day numbers
This commit is contained in:
@@ -574,7 +574,7 @@ Rectangle {
|
|||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: dayDate.getDate()
|
text: dayDate.getDate()
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
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
|
font.weight: isToday ? Font.Medium : Font.Normal
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -44,13 +44,19 @@ Theme.cornerRadiusLarge // Larger radius
|
|||||||
### Surface Colors
|
### Surface Colors
|
||||||
```qml
|
```qml
|
||||||
Theme.surface
|
Theme.surface
|
||||||
Theme.surfaceContainerLowest
|
Theme.surfaceContainerLowest // matugen-only (see note)
|
||||||
Theme.surfaceContainerLow
|
Theme.surfaceContainerLow // matugen-only (see note)
|
||||||
Theme.surfaceContainer
|
Theme.surfaceContainer
|
||||||
Theme.surfaceContainerHigh
|
Theme.surfaceContainerHigh
|
||||||
Theme.surfaceContainerHighest
|
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
|
### Text Colors
|
||||||
```qml
|
```qml
|
||||||
Theme.onSurface // Primary text on surface
|
Theme.onSurface // Primary text on surface
|
||||||
|
|||||||
Reference in New Issue
Block a user