From 7a0c4fe6b43d87b069f7ac218374227778f564bb Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 10 Apr 2025 19:06:50 +1000 Subject: sidebar: dashboard current desktop -> date Put date instead of current desktop on dashboard Date is more useful imo (especially for vertical bar) --- scss/sidebar.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scss') diff --git a/scss/sidebar.scss b/scss/sidebar.scss index 3f07678..1730f82 100644 --- a/scss/sidebar.scss +++ b/scss/sidebar.scss @@ -156,7 +156,6 @@ .details { font-size: lib.s(14); - color: scheme.$yellow; @include lib.spacing(8, true); @@ -166,8 +165,11 @@ margin-bottom: lib.s(10); } - .uptime { - color: scheme.$blue; + $-colours: scheme.$yellow, scheme.$blue; + @for $i from 1 through list.length($-colours) { + :nth-child(#{$i + 1}) { + color: list.nth($-colours, $i); + } } } } -- cgit v1.2.3-freya