summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/style.css3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/style.css b/src/style.css
index 23feff9..c920dc8 100644
--- a/src/style.css
+++ b/src/style.css
@@ -5,13 +5,13 @@
:root {
color-scheme: light dark;
--ref-offset: 2ch;
+ --faint: color-mix(in hwb, var(--fg) 75%, var(--bg));
}
@media (prefers-color-scheme: light) {
:root {
--fg: black;
--bg: white;
- --faint: rgba(0, 0, 0, 0.75);
}
a, a:visited {
@@ -23,7 +23,6 @@
:root {
--fg: white;
--bg: black;
- --faint: rgba(255, 255, 255, 0.75);
}
a, a:visited {