From 57b6a76ad5eed3bcc687e14e06b064b794219fb9 Mon Sep 17 00:00:00 2001 From: hfcRed Date: Mon, 22 Dec 2025 22:56:57 +0100 Subject: [PATCH] Add text accent --- app/styles/common.css | 2 +- app/styles/vars.css | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/styles/common.css b/app/styles/common.css index 0a80f2b53..4bb0b01be 100644 --- a/app/styles/common.css +++ b/app/styles/common.css @@ -82,7 +82,7 @@ details summary { } a { - color: var(--theme); + color: var(--color-text-accent); font-weight: var(--semi-bold); text-decoration: none; } diff --git a/app/styles/vars.css b/app/styles/vars.css index d1e9b6d50..9919b9cc5 100644 --- a/app/styles/vars.css +++ b/app/styles/vars.css @@ -1,7 +1,4 @@ html.light { - --color-base: oklch(100% 0 0); - --color-text: oklch(21% 0.01 285); - --color-accent-low: oklch(32% 0.17 355); --color-accent: oklch(53% 0.24 355); --color-accent-high: oklch(87% 0.06 355); @@ -21,12 +18,13 @@ html.light { --color-error-high: oklch(41.268% 0.15511 8.446); --color-error: oklch(65.223% 0.22164 5.216); --color-error-low: oklch(89.949% 0.04928 355.498); + + --color-base: oklch(100% 0 0); + --color-text: oklch(21% 0.01 285); + --color-text-accent: var(--color-accent); } html.dark { - --color-base: oklch(25.33% 0.016 255); - --color-text: oklch(97.807% 0.029 255); - --color-accent-low: oklch(28% 0.08 355); --color-accent: oklch(57% 0.23 355); --color-accent-high: oklch(83% 0.08 355); @@ -46,6 +44,10 @@ html.dark { --color-error-low: oklch(31% 0.07 10); --color-error: oklch(65% 0.19 10); --color-error-high: oklch(87% 0.07 10); + + --color-base: oklch(25.33% 0.016 255); + --color-text: oklch(97.807% 0.029 255); + --color-text-accent: var(--color-accent-high); } html {