forked from Shinonome/dots-hyprland
sidebar calendar done
This commit is contained in:
@@ -114,8 +114,8 @@ Singleton {
|
||||
property color colOnLayer2: m3colors.m3onSurface;
|
||||
property color colLayer3: mix(m3colors.m3surfaceContainerHigh, m3colors.m3onSurface, 0.96);
|
||||
property color colOnLayer3: m3colors.m3onSurface;
|
||||
property color colLayer1Hover: mix(colLayer1, colOnLayer1, 0.85);
|
||||
property color colLayer1Active: mix(colLayer1, colOnLayer1, 0.70);
|
||||
property color colLayer1Hover: mix(colLayer1, colOnLayer1, 0.88);
|
||||
property color colLayer1Active: mix(colLayer1, colOnLayer1, 0.77);
|
||||
property color colLayer2Hover: mix(colLayer2, colOnLayer2, 0.90);
|
||||
property color colLayer2Active: mix(colLayer2, colOnLayer2, 0.80);
|
||||
property color colLayer3Hover: mix(colLayer3, colOnLayer3, 0.90);
|
||||
|
||||
@@ -6,6 +6,8 @@ pragma Singleton
|
||||
Singleton {
|
||||
property string time: Qt.formatDateTime(clock.date, "hh:mm")
|
||||
property string date: Qt.formatDateTime(clock.date, "dddd, dd/MM")
|
||||
property string month: Qt.formatDateTime(clock.date, "MMMM")
|
||||
property string year: Qt.formatDateTime(clock.date, "yyyy")
|
||||
property string uptime: "0h, 0m"
|
||||
|
||||
SystemClock {
|
||||
|
||||
@@ -11,8 +11,8 @@ Button {
|
||||
required default property Item content
|
||||
property bool extraActiveCondition: false
|
||||
|
||||
implicitWidth: 26
|
||||
implicitHeight: 26
|
||||
implicitHeight: Math.max(content.implicitHeight, 26, content.implicitHeight)
|
||||
implicitWidth: Math.max(content.implicitHeight, 26, content.implicitWidth)
|
||||
contentItem: content
|
||||
|
||||
background: Rectangle {
|
||||
|
||||
@@ -7,5 +7,5 @@ Text {
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
font.family: Appearance.font.family.main
|
||||
font.pixelSize: Appearance.font.pixelSize.small
|
||||
color: Appearance.colors.colOnBackground
|
||||
color: Appearance.m3colors.m3onBackground
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user