diff options
author | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-08-05 19:20:33 +0100 |
---|---|---|
committer | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-08-05 19:20:33 +0100 |
commit | 17e543a3e86872462599f6a6a46def732ee2c7ee (patch) | |
tree | 8e4093875cd1199ca15f812ca49e210f7f014caf | |
parent | 4e0ab554c01eba4b5a1ee0b24ce7264a1ab8792d (diff) |
feat: alternative background color
Signed-off-by: João Augusto Costa Branco Marado Torres <torres.dev@disroot.org>
-rw-r--r-- | src/components/templates/Authors.astro | 2 | ||||
-rw-r--r-- | src/styles/global.css | 4 |
2 files changed, 5 insertions, 1 deletions
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); } } |