From 19983f4ab6b18acfb647a00502ede6501091f72f Mon Sep 17 00:00:00 2001 From: Neo Yuki Aylor Date: Sun, 31 Aug 2025 02:12:43 +0100 Subject: [PATCH] Add a new option for panel labels --- build/system24.css | 2 ++ src/main.css | 1 + src/panel-labels.css | 1 + 3 files changed, 4 insertions(+) diff --git a/build/system24.css b/build/system24.css index a4895a9..f4005af 100644 --- a/build/system24.css +++ b/build/system24.css @@ -75,6 +75,7 @@ body { --panel-labels: on; /* off: default, on: add labels to panels */ --label-color: var(--text-muted); /* color of labels */ --label-font-weight: 500; /* font weight of labels */ + --label-casing: lowercase; /* lowercase: default, uppercase: make panel labels fully uppercase, capitalize: make panel labels start with a capital letter */ } /* color options */ @@ -309,6 +310,7 @@ body { z-index: 100; font-size: 16px; transition: color var(--border-hover-transition); + text-transform: var(--label-casing); } &:hover::after { diff --git a/src/main.css b/src/main.css index 368eeae..68f973c 100644 --- a/src/main.css +++ b/src/main.css @@ -74,6 +74,7 @@ body { --panel-labels: on; /* off: default, on: add labels to panels */ --label-color: var(--text-muted); /* color of labels */ --label-font-weight: 500; /* font weight of labels */ + --label-casing: lowercase; /* lowercase: default, uppercase: make panel labels fully uppercase, capitalize: make panel labels start with a capital letter */ } /* color options */ diff --git a/src/panel-labels.css b/src/panel-labels.css index 4f5530a..b0d81fb 100644 --- a/src/panel-labels.css +++ b/src/panel-labels.css @@ -37,6 +37,7 @@ body { z-index: 100; font-size: 16px; transition: color var(--border-hover-transition); + text-transform: var(--label-casing); } &:hover::after {