diff options
| author | eltrac <hi@eltr.ac> | 2026-02-20 11:31:55 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-02-20 11:31:55 +0800 |
| commit | f0a89c42c21eec6bcce6c1b21dfbf4a73b178099 (patch) | |
| tree | e1564f9952150e5478794d4aa8f765822d4a304f /assets/css/utils | |
| parent | 1254ffb025721ad75ce30951a167202bfecbf8ec (diff) | |
refactor: use relative CSS colors
Diffstat (limited to 'assets/css/utils')
| -rw-r--r-- | assets/css/utils/_variables.scss | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/assets/css/utils/_variables.scss b/assets/css/utils/_variables.scss index cf2b3ce6..cead160f 100644 --- a/assets/css/utils/_variables.scss +++ b/assets/css/utils/_variables.scss @@ -2,8 +2,7 @@ /* colors */ --background-color: oklch(0.9707 0.0027 286.35); --bright-background-color: oklch(0.9851 0 0); - --block-background-color: rgb(var(--block-background-color-rgb)); - --block-background-color-rgb: 233, 232, 237; + --block-background-color: oklch(0.933 0.007 295.445); --border-color: oklch(0.8758 0.0123 247.97); --text-color: oklch(0.2316 0.0038 286.1); --secondary-text-color: oklch(0.5399 0.0077 286.14); @@ -39,8 +38,7 @@ .dark { --background-color: oklch(0.2408 0.0049 219.67); - --block-background-color: rgb(var(--block-background-color-rgb)); - --block-background-color-rgb: 24, 26, 27; + --block-background-color: oklch(0.216 0.004 228.978); --border-color: rgba(255, 255, 255, 0.2); --text-color: oklch(0.8532 0.0082 73.73); --secondary-text-color: oklch(0.6863 0.0196 78.19); |
