From 17e543a3e86872462599f6a6a46def732ee2c7ee Mon Sep 17 00:00:00 2001 From: João Augusto Costa Branco Marado Torres Date: Tue, 5 Aug 2025 19:20:33 +0100 Subject: feat: alternative background color MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Augusto Costa Branco Marado Torres --- src/components/templates/Authors.astro | 2 +- src/styles/global.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/templates/Authors.astro b/src/components/templates/Authors.astro index 61ca026..9482bcd 100644 --- a/src/components/templates/Authors.astro +++ b/src/components/templates/Authors.astro @@ -346,7 +346,7 @@ if (!expectedFingerprints.isSubsetOf(verifiedFingerprints)) { } tbody tr:nth-child(odd) { - background-color: oklch(from var(--color-light) l c h / calc(alpha * 0.25)); + background-color: var(--color-light-bg); } section[popover] { diff --git a/src/styles/global.css b/src/styles/global.css index 47dc065..36ebe55 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -12,7 +12,9 @@ --color-active: oklch(0.4564 0.1835 20.81); --color-mute: oklch(0.46 0 0); --color-light: oklch(0.66 0 0); + --color-light-bg: oklch(0.73 0 0); --color-dark: oklch(0.47 0 0); + --color-dark-bg: oklch(0.36 0 0); --size-13: 7.4375rem; --size-12: 5.5625rem; @@ -60,7 +62,9 @@ a:active { --color-active: oklch(0.6923 0.1759 37.7); --color-mute: oklch(0.67 0 0); --color-dark: oklch(0.66 0 0); + --color-dark-bg: oklch(0.73 0 0); --color-light: oklch(0.47 0 0); + --color-light-bg: oklch(0.36 0 0); } } -- cgit v1.2.3