33
44: root {
55 color-scheme : dark;
6- background-color : # 0b1120 ;
76 --brand-cyan : # 22d3ee ;
87 --brand-teal : # 14b8a6 ;
98 --brand-amber : # fbbf24 ;
109 --brand-ink : # 0b1120 ;
10+ --page-bg : # 0b1120 ;
11+ --page-bg-soft : # 020617 ;
12+ --text-strong : # f8fafc ;
13+ --text-main : # e2e8f0 ;
14+ --text-muted : # cbd5e1 ;
15+ --text-soft : # 94a3b8 ;
16+ --panel-bg : rgba (15 , 23 , 42 , 0.45 );
17+ --panel-bg-strong : rgba (15 , 23 , 42 , 0.92 );
18+ --card-bg : rgba (255 , 255 , 255 , 0.05 );
19+ --card-bg-strong : rgba (2 , 6 , 23 , 0.55 );
20+ --border-soft : rgba (255 , 255 , 255 , 0.10 );
21+ --header-bg : rgba (15 , 23 , 42 , 0.72 );
22+ --control-bg : rgba (255 , 255 , 255 , 0.10 );
23+ --control-bg-hover : rgba (255 , 255 , 255 , 0.18 );
24+ --link-color : # 93c5fd ;
25+ --link-hover : # bfdbfe ;
26+ --accent-cta : # 67e8f9 ;
27+ --accent-cta-hover : # a5f3fc ;
28+ --accent-cta-text : # 0f172a ;
29+ --focus-ring : # 67e8f9 ;
30+ --shadow-soft : rgba (2 , 6 , 23 , 0.35 );
31+ background-color : var (--page-bg );
32+ }
33+
34+ : root [data-theme = "light" ] {
35+ color-scheme : light;
36+ --page-bg : # f8fafc ;
37+ --page-bg-soft : # e2e8f0 ;
38+ --text-strong : # 0f172a ;
39+ --text-main : # 1e293b ;
40+ --text-muted : # 475569 ;
41+ --text-soft : # 64748b ;
42+ --panel-bg : rgba (255 , 255 , 255 , 0.84 );
43+ --panel-bg-strong : rgba (255 , 255 , 255 , 0.96 );
44+ --card-bg : rgba (255 , 255 , 255 , 0.92 );
45+ --card-bg-strong : rgba (248 , 250 , 252 , 0.96 );
46+ --border-soft : rgba (15 , 23 , 42 , 0.12 );
47+ --header-bg : rgba (255 , 255 , 255 , 0.86 );
48+ --control-bg : rgba (15 , 23 , 42 , 0.06 );
49+ --control-bg-hover : rgba (15 , 23 , 42 , 0.10 );
50+ --link-color : # 0369a1 ;
51+ --link-hover : # 0f172a ;
52+ --accent-cta : # 0891b2 ;
53+ --accent-cta-hover : # 0e7490 ;
54+ --accent-cta-text : # ffffff ;
55+ --focus-ring : # 0891b2 ;
56+ --shadow-soft : rgba (15 , 23 , 42 , 0.12 );
1157}
1258
1359html {
1460 scroll-behavior : smooth;
1561}
1662
1763body {
18- @apply min-h-screen bg-slate-950 text-slate-100 antialiased;
64+ @apply min-h-screen antialiased;
1965 position : relative;
66+ background : var (--page-bg );
67+ color : var (--text-main );
2068}
2169
2270body ::before {
@@ -30,6 +78,13 @@ body::before {
3078 radial-gradient (circle at 80% 90% , rgba (251 , 191 , 36 , 0.14 ), transparent 45% );
3179}
3280
81+ : root [data-theme = "light" ] body ::before {
82+ background :
83+ radial-gradient (circle at 15% 18% , rgba (20 , 184 , 166 , 0.15 ), transparent 50% ),
84+ radial-gradient (circle at 80% 10% , rgba (14 , 165 , 233 , 0.14 ), transparent 44% ),
85+ radial-gradient (circle at 80% 90% , rgba (251 , 191 , 36 , 0.15 ), transparent 48% );
86+ }
87+
3388a {
3489 @apply transition-colors;
3590}
@@ -41,21 +96,32 @@ main {
4196}
4297
4398.prose strong {
44- @apply text-white ;
99+ color : var ( -- text-strong ) ;
45100}
46101
47102.prose {
48- @apply space-y-4 text-slate-100;
103+ @apply space-y-4;
104+ color : var (--text-main );
49105}
50106
51107.prose p {
52108 @apply leading-relaxed;
53109}
54110
55111.prose-invert {
56- color : # e2e8f0 ;
112+ color : var ( --text-main ) ;
57113}
58114
59115.glass-panel {
60- @apply rounded-3xl border border-white/10 bg-white/5 shadow-xl backdrop-blur;
116+ @apply rounded-3xl shadow-xl backdrop-blur;
117+ border : 1px solid var (--border-soft );
118+ background : var (--panel-bg );
119+ }
120+
121+ .nav-link {
122+ color : var (--text-muted );
123+ }
124+
125+ .nav-link : hover {
126+ color : var (--text-strong );
61127}
0 commit comments