Skip to content

Commit 86d6893

Browse files
committed
feat(theme): add light+dark theme palette
1 parent d5c423d commit 86d6893

1 file changed

Lines changed: 78 additions & 0 deletions

File tree

css/theme.css

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
/* theme.css */
2+
3+
/* Default theme: Light */
4+
:root {
5+
/* Backgrounds */
6+
--bg: #fbf1c7;
7+
--bg0_h: #f9f5d7;
8+
--bg0: #fbf1c7;
9+
--bg1: #ebdbb2;
10+
--bg2: #d5c4a1;
11+
--bg3: #bdae93;
12+
--bg4: #a89984;
13+
--bg0_s: #f2e5bc;
14+
15+
/* Foregrounds */
16+
--fg0: #282828;
17+
--fg1: #3c3836;
18+
--fg2: #504945;
19+
--fg3: #665c54;
20+
--fg4: #7c6f64;
21+
22+
/* Colors */
23+
--red: #9d0006;
24+
--green: #79740e;
25+
--yellow: #b57614;
26+
--blue: #076678;
27+
--purple: #8f3f71;
28+
--aqua: #427b58;
29+
--gray: #928374;
30+
--orange: #af3a03;
31+
32+
/* Colors */
33+
--red_: #cc241d;
34+
--green_: #98971a;
35+
--yellow_: #d79921;
36+
--blue_: #458588;
37+
--purple_: #b16286;
38+
--aqua_: #689d6a;
39+
--gray_: #7c6f64;
40+
--orange_: #d65d0e;
41+
}
42+
43+
/* Dark theme override */
44+
[data-theme="dark"] {
45+
--bg: #282828;
46+
--bg0_h: #1d2021;
47+
--bg0: #282828;
48+
--bg1: #3c3836;
49+
--bg2: #504945;
50+
--bg3: #665c54;
51+
--bg4: #7c6f64;
52+
--bg0_s: #32302f;
53+
54+
--fg0: #fbf1c7;
55+
--fg1: #ebdbb2;
56+
--fg2: #d5c4a1;
57+
--fg3: #bdae93;
58+
--fg4: #a89984;
59+
60+
--red: #cc241d;
61+
--green: #98971a;
62+
--yellow: #d79921;
63+
--blue: #458588;
64+
--purple: #b16286;
65+
--aqua: #689d6a;
66+
--gray: #a89984;
67+
--orange: #d65d0e;
68+
69+
/* Colors */
70+
--red_: #9d0006;
71+
--green_: #79740e;
72+
--yellow_: #b57614;
73+
--blue_: #076678;
74+
--purple_: #8f3f71;
75+
--aqua_: #427b58;
76+
--gray_: #928374;
77+
--orange_: #af3a03;
78+
}

0 commit comments

Comments
 (0)