diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-25 08:50:40 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-25 08:51:03 +0800 |
commit | 651f230fbf8bdd1e81005bf68c247aa38f0bc1d0 (patch) | |
tree | 53cade78ea3b25e521d4dd45f02f145e8e17051e | |
parent | Indent python with spaces (diff) | |
download | powxy-651f230fbf8bdd1e81005bf68c247aa38f0bc1d0.tar.gz powxy-651f230fbf8bdd1e81005bf68c247aa38f0bc1d0.tar.zst powxy-651f230fbf8bdd1e81005bf68c247aa38f0bc1d0.zip |
Lighter primary color var
-rw-r--r-- | static/style.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css index 3a2b6a4..9d60fb9 100644 --- a/static/style.css +++ b/static/style.css @@ -18,6 +18,7 @@ html { --darker-box-background-color: hsl(0, 0%, 92%); --lighter-box-background-color: hsl(0, 0%, 95%); --primary-color: hsl(320, 50%, 36%); + --primary-color-lighter: hsl(320, 50%, 56%); --primary-color-contrast: hsl(320, 0%, 100%); --danger-color: #ff0000; --danger-color-contrast: #ffffff; @@ -26,6 +27,7 @@ html { @media (prefers-color-scheme: dark) { html { --background-color: hsl(0, 0%, 0%); + --primary-color-lighter: hsl(320, 50%, 16%); --text-color: hsl(0, 0%, 100%); --link-color: hsl(320, 50%, 76%); --light-text-color: hsl(0, 0%, 78%); @@ -111,3 +113,9 @@ details { border-radius: var(--radius-1); box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.15); } + +::-moz-selection, ::selection { + color: var(--text-color); + background-color: var(--primary-color); +} + |