From 4b6d7916e673efc7baecb40df5bc0a9509c834e6 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 12 Aug 2025 18:13:57 +1000 Subject: config: add clock font config Also use mono font for lock media artist Add rubik to nix font deps --- modules/lock/Center.qml | 4 ++++ modules/lock/Media.qml | 1 + 2 files changed, 5 insertions(+) (limited to 'modules/lock') diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml index fecd4aa..574894b 100644 --- a/modules/lock/Center.qml +++ b/modules/lock/Center.qml @@ -30,6 +30,7 @@ ColumnLayout { text: root.timeComponents[0] color: Colours.palette.m3secondary font.pointSize: Math.floor(Appearance.font.size.extraLarge * 3 * root.centerScale) + font.family: Appearance.font.family.clock font.bold: true } @@ -38,6 +39,7 @@ ColumnLayout { text: ":" color: Colours.palette.m3primary font.pointSize: Math.floor(Appearance.font.size.extraLarge * 3 * root.centerScale) + font.family: Appearance.font.family.clock font.bold: true } @@ -46,6 +48,7 @@ ColumnLayout { text: root.timeComponents[1] color: Colours.palette.m3secondary font.pointSize: Math.floor(Appearance.font.size.extraLarge * 3 * root.centerScale) + font.family: Appearance.font.family.clock font.bold: true } @@ -61,6 +64,7 @@ ColumnLayout { text: root.timeComponents[2] ?? "" color: Colours.palette.m3primary font.pointSize: Math.floor(Appearance.font.size.extraLarge * 2 * root.centerScale) + font.family: Appearance.font.family.clock font.bold: true } } diff --git a/modules/lock/Media.qml b/modules/lock/Media.qml index 0f0f3f4..be289eb 100644 --- a/modules/lock/Media.qml +++ b/modules/lock/Media.qml @@ -91,6 +91,7 @@ Item { color: Colours.palette.m3primary horizontalAlignment: Text.AlignHCenter font.pointSize: Appearance.font.size.large + font.family: Appearance.font.family.mono font.weight: 600 elide: Text.ElideRight } -- cgit v1.2.3-freya