quickshell: add background wrapper around weekday headers
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
269c9bbe15
commit
6e69f86f17
1 changed files with 21 additions and 12 deletions
|
|
@ -1902,18 +1902,27 @@ in
|
|||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
|
||||
Row {
|
||||
spacing: 0
|
||||
Repeater {
|
||||
model: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"]
|
||||
Text {
|
||||
required property var modelData
|
||||
width: 32
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: modelData
|
||||
color: Theme.base03
|
||||
font.family: "FiraMono Nerd Font"
|
||||
font.pixelSize: 13
|
||||
Rectangle {
|
||||
width: 7 * 32
|
||||
height: weekdayRow.height + 8
|
||||
radius: 6
|
||||
color: Theme.base02
|
||||
|
||||
Row {
|
||||
id: weekdayRow
|
||||
anchors.centerIn: parent
|
||||
spacing: 0
|
||||
Repeater {
|
||||
model: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"]
|
||||
Text {
|
||||
required property var modelData
|
||||
width: 32
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: modelData
|
||||
color: Theme.base03
|
||||
font.family: "FiraMono Nerd Font"
|
||||
font.pixelSize: 13
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue