From 7ea3b94d2313ab1eacc745e44c07f23715ec1b83 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Fri, 14 Jul 2023 21:48:16 -0400 Subject: [PATCH] =?UTF-8?q?feat(core):=20=E2=9C=A8=20tweak=20sitestats=20f?= =?UTF-8?q?ont=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/skins.citizen.styles/common/theme.less | 14 ++++++++++++++ .../skins.citizen.styles/components/Sitestats.less | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/resources/skins.citizen.styles/common/theme.less b/resources/skins.citizen.styles/common/theme.less index a250a1a3..2b9c6c25 100644 --- a/resources/skins.citizen.styles/common/theme.less +++ b/resources/skins.citizen.styles/common/theme.less @@ -46,6 +46,20 @@ a { --color-link--active: ~'var( --color-primary--active )'; } +/* +:root.skin-citizen-light { + --color-surface-0: ~'hsl( var( --color-primary__h ), 20%, 92% )'; + --color-surface-1: ~'hsl( var( --color-primary__h ), 25%, 95% )'; + --color-surface-2: ~'hsl( var( --color-primary__h ), 25%, 88% )'; + --color-surface-3: ~'hsl( var( --color-primary__h ), 15%, 80% )'; + --color-surface-4: ~'hsl( var( --color-primary__h ), 15%, 75% )'; + + --color-base--emphasized: ~'hsl( var( --color-primary__h ), 80%, 20% )'; + --color-base: ~'hsl( var( --color-primary__h ), 25%, 30% )'; + --color-base--subtle: ~'hsl( var( --color-primary__h ), 25%, 40% )'; +} +*/ + /** * Dark theme */ diff --git a/resources/skins.citizen.styles/components/Sitestats.less b/resources/skins.citizen.styles/components/Sitestats.less index 87da14c8..60f771c6 100644 --- a/resources/skins.citizen.styles/components/Sitestats.less +++ b/resources/skins.citizen.styles/components/Sitestats.less @@ -1,6 +1,6 @@ .citizen-siteStats { display: flex; - font-size: 0.875rem; // TODO: Put this in variable + font-size: 0.8125rem; // TODO: Put this in variable gap: var( --space-md ); line-height: var( --line-height-xxs ); white-space: nowrap;