forked from Shinonome/dots-hyprland
finalize simpler cookie clock
This commit is contained in:
@@ -27,7 +27,7 @@ Item {
|
|||||||
property color colBackground: Appearance.colors.colSecondaryContainer
|
property color colBackground: Appearance.colors.colSecondaryContainer
|
||||||
property color colOnBackground: ColorUtils.mix(Appearance.colors.colPrimary, Appearance.colors.colSecondaryContainer, 0.5)
|
property color colOnBackground: ColorUtils.mix(Appearance.colors.colPrimary, Appearance.colors.colSecondaryContainer, 0.5)
|
||||||
property color colHourHand: Appearance.colors.colPrimary
|
property color colHourHand: Appearance.colors.colPrimary
|
||||||
property color colMinuteHand: Appearance.colors.colSecondary
|
property color colMinuteHand: Appearance.colors.colSecondaryActive
|
||||||
property color colOnHourHand: Appearance.colors.colOnPrimary
|
property color colOnHourHand: Appearance.colors.colOnPrimary
|
||||||
|
|
||||||
readonly property list<string> clockNumbers: DateTime.time.split(/[: ]/)
|
readonly property list<string> clockNumbers: DateTime.time.split(/[: ]/)
|
||||||
@@ -58,7 +58,6 @@ Item {
|
|||||||
|
|
||||||
// 12 dots around the cookie
|
// 12 dots around the cookie
|
||||||
Repeater {
|
Repeater {
|
||||||
|
|
||||||
model: 12
|
model: 12
|
||||||
Item {
|
Item {
|
||||||
visible: clockStyle === "simpler-cookie" ? false : true
|
visible: clockStyle === "simpler-cookie" ? false : true
|
||||||
@@ -86,7 +85,7 @@ Item {
|
|||||||
z: 1
|
z: 1
|
||||||
anchors.centerIn: cookie
|
anchors.centerIn: cookie
|
||||||
spacing: -16
|
spacing: -16
|
||||||
visible: false // LOOK
|
visible: clockStyle === "simpler-cookie" ? false : true
|
||||||
|
|
||||||
// Numbers
|
// Numbers
|
||||||
Repeater {
|
Repeater {
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ ContentPage {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: Translation.tr("Material simpler cookie"),
|
displayName: Translation.tr("Material simpler cookie"),
|
||||||
icon: "cookie",
|
icon: "circle",
|
||||||
value: "simpler-cookie"
|
value: "simpler-cookie"
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user