summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-29 15:26:17 +0200
committerDanilo M. <danix@danix.xyz>2026-04-29 15:26:39 +0200
commitaedd04d53391f698dbe00f5d0be805ab78cc7f43 (patch)
tree397fc9a6ce65fbf6268f2341f6512c1fed622bca /assets
parent997ea90b7f85329476771e8b30a38fb86c18a07f (diff)
downloaddanixxyz-theme-aedd04d53391f698dbe00f5d0be805ab78cc7f43.tar.gz
danixxyz-theme-aedd04d53391f698dbe00f5d0be805ab78cc7f43.zip
fix: align html.theme-light CSS vars with THEMING-STANDARD.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'assets')
-rw-r--r--assets/css/main.css52
1 files changed, 26 insertions, 26 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index 9e32abf..f773a6a 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -33,19 +33,19 @@
/* Light theme overrides */
html.theme-light {
- --bg: #ffffff;
- --bg2: #f8f9fa;
- --bg2-rgb: 248, 249, 250;
- --surface: #f0f3f7;
- --surface-rgb: 240, 243, 247;
- --border: #d9dfe8;
- --accent: #9333ea;
- --accent-rgb: 147, 51, 234;
- --accent2: #10b981;
- --accent-glow: rgba(147, 51, 234, 0.1);
- --text: #1f2937;
- --text-dim: #374151;
- --muted: #d1d5db;
+ --bg: #f0f4f8;
+ --bg2: #e2eaf4;
+ --bg2-rgb: 232, 234, 244;
+ --surface: #d4dff0;
+ --surface-rgb: 212, 223, 240;
+ --border: #a8bdd8;
+ --accent: #7c3aed;
+ --accent-rgb: 124, 58, 237;
+ --accent2: #008f5a;
+ --accent-glow: rgba(124, 58, 237, 0.1);
+ --text: #0d1b2a;
+ --text-dim: #2e4a6a;
+ --muted: #6888a8;
/* Article type colors - light */
--type-tech: #7c3aed;
--type-life: #d97706;
@@ -63,19 +63,19 @@ html.theme-light {
/* No-JS fallback: prefers-color-scheme light */
@media (prefers-color-scheme: light) {
html:not(.theme-dark) {
- --bg: #ffffff;
- --bg2: #f8f9fa;
- --bg2-rgb: 248, 249, 250;
- --surface: #f0f3f7;
- --surface-rgb: 240, 243, 247;
- --border: #d9dfe8;
- --accent: #9333ea;
- --accent-rgb: 147, 51, 234;
- --accent2: #10b981;
- --accent-glow: rgba(147, 51, 234, 0.1);
- --text: #1f2937;
- --text-dim: #374151;
- --muted: #d1d5db;
+ --bg: #f0f4f8;
+ --bg2: #e2eaf4;
+ --bg2-rgb: 232, 234, 244;
+ --surface: #d4dff0;
+ --surface-rgb: 212, 223, 240;
+ --border: #a8bdd8;
+ --accent: #7c3aed;
+ --accent-rgb: 124, 58, 237;
+ --accent2: #008f5a;
+ --accent-glow: rgba(124, 58, 237, 0.1);
+ --text: #0d1b2a;
+ --text-dim: #2e4a6a;
+ --muted: #6888a8;
--type-tech: #7c3aed;
--type-life: #d97706;
--type-quote: #008f5a;