Skip to content

Commit e77fa62

Browse files
committed
code: add light theme
1 parent b35c0b1 commit e77fa62

1 file changed

Lines changed: 112 additions & 19 deletions

File tree

src/scss/_kanagawa.scss

Lines changed: 112 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,184 @@
11
.comment {
2+
color: #5e7e85;
23
/* Subtle gray for comments */
3-
color: #727169;
44
}
55

66
.embedded {
7+
color: #b88b00;
78
/* Warm yellowish tone for embedded code */
8-
color: #dca561;
99
}
1010

1111
.escape {
12+
color: #b85f5f;
1213
/* Reddish for escape characters */
13-
color: #c34043;
1414
}
1515

1616
.function {
17+
color: #4c8cff;
1718
/* Soft blue for function names */
18-
color: #7e9cd8;
1919
}
2020

2121
.function-builtin {
22+
color: #ff8f00;
2223
/* Orange for built-in functions */
23-
color: #ff9e3b;
2424
}
2525

2626
.keyword {
27+
color: #d19a66;
2728
/* Bright yellow/orange for keywords */
28-
color: #ffa066;
2929
font-weight: bold;
3030
}
3131

3232
.number {
33+
color: #e06c75;
3334
/* Reddish for numbers */
34-
color: #ff5d62;
3535
}
3636

3737
.operator {
38+
color: #d55fde;
3839
/* Pinkish-red for operators */
39-
color: #e46876;
4040
}
4141

4242
.property {
43+
color: #b88b00;
4344
/* Golden yellow for properties */
44-
color: #dca561;
4545
}
4646

4747
.punctuation-bracket {
48+
color: #a39eeb;
4849
/* Purplish tone for brackets */
49-
color: #a093c7;
5050
}
5151

5252
.punctuation-delimiter {
53-
/* Neutral beige for punctuation */
5453
color: #c8c093;
54+
/* Neutral beige for punctuation */
5555
}
5656

5757
.punctuation-special {
58-
/* Light ivory for special punctuation */
5958
color: #e2d3ba;
59+
/* Light ivory for special punctuation */
6060
}
6161

6262
.string {
63+
color: #50b482;
6364
/* Green for strings */
64-
color: #98bb6c;
6565
}
6666

6767
.string-special-path {
68+
color: #d19a66;
6869
/* Orange for special strings (path) */
69-
color: #ffa066;
7070
}
7171

7272
.string-special-uri {
73+
color: #ff8f00;
7374
/* Bright orange for URIs */
74-
color: #ff9e3b;
7575
}
7676

7777
.variable {
78+
color: #b88b00;
7879
/* Neutral white for variables */
79-
color: #dca561;
80-
//color: #dcd7ba;
8180
}
8281

8382
.variable-builtin {
83+
color: #ff8f00;
8484
/* Bright orange for built-in variables */
85-
color: #ff9e3b;
8685
}
8786

8887
.variable-parameter {
88+
color: #4c8cff;
8989
/* Soft blue for function parameters */
90-
color: #7e9cd8;
90+
}
91+
92+
@media (prefers-color-scheme: dark) {
93+
.comment {
94+
/* Subtle gray for comments */
95+
color: #727169;
96+
}
97+
98+
.embedded {
99+
/* Warm yellowish tone for embedded code */
100+
color: #dca561;
101+
}
102+
103+
.escape {
104+
/* Reddish for escape characters */
105+
color: #c34043;
106+
}
107+
108+
.function {
109+
/* Soft blue for function names */
110+
color: #7e9cd8;
111+
}
112+
113+
.function-builtin {
114+
/* Orange for built-in functions */
115+
color: #ff9e3b;
116+
}
117+
118+
.keyword {
119+
/* Bright yellow/orange for keywords */
120+
color: #ffa066;
121+
font-weight: bold;
122+
}
123+
124+
.number {
125+
/* Reddish for numbers */
126+
color: #ff5d62;
127+
}
128+
129+
.operator {
130+
/* Pinkish-red for operators */
131+
color: #e46876;
132+
}
133+
134+
.property {
135+
/* Golden yellow for properties */
136+
color: #dca561;
137+
}
138+
139+
.punctuation-bracket {
140+
/* Purplish tone for brackets */
141+
color: #a093c7;
142+
}
143+
144+
.punctuation-delimiter {
145+
/* Neutral beige for punctuation */
146+
color: #c8c093;
147+
}
148+
149+
.punctuation-special {
150+
/* Light ivory for special punctuation */
151+
color: #e2d3ba;
152+
}
153+
154+
.string {
155+
/* Green for strings */
156+
color: #98bb6c;
157+
}
158+
159+
.string-special-path {
160+
/* Orange for special strings (path) */
161+
color: #ffa066;
162+
}
163+
164+
.string-special-uri {
165+
/* Bright orange for URIs */
166+
color: #ff9e3b;
167+
}
168+
169+
.variable {
170+
/* Neutral white for variables */
171+
color: #dca561;
172+
//color: #dcd7ba;
173+
}
174+
175+
.variable-builtin {
176+
/* Bright orange for built-in variables */
177+
color: #ff9e3b;
178+
}
179+
180+
.variable-parameter {
181+
/* Soft blue for function parameters */
182+
color: #7e9cd8;
183+
}
91184
}

0 commit comments

Comments
 (0)