Skip to content

Commit ad14234

Browse files
committed
Switch to using base16 for theme
1 parent 05dacb4 commit ad14234

File tree

3 files changed

+6935
-4282
lines changed

3 files changed

+6935
-4282
lines changed

src/cd/folderPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Preview = ({
3737

3838
return (
3939
<div
40-
className="bg-main-bg text-main-text p-2 rounded overflow-y-scroll shadow-[0px_0px_3px_0px_rgb(85,_85,_85)]"
40+
className="bg-shade0 text-shade6 p-2 rounded overflow-y-scroll shadow-[0px_0px_3px_0px_rgb(85,_85,_85)]"
4141
style={{
4242
maxHeight,
4343
}}

tailwind.config.js

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,32 @@ export default {
44
theme: {
55
extend: {
66
colors: {
7-
"main-bg": "var(--main-bg-color, rgb(48, 48, 48))",
8-
"main-text": "var(--main-text-color, rgb(180, 180, 180))",
9-
"description-text": "var(--description-text-color, rgb(180, 180, 180))",
10-
"description-border":
11-
"var(--description-border-color, rgb(65, 65, 65))",
12-
"selected-bg": "var(--selected-bg-color, rgb(30, 90, 199))",
13-
"selected-text": "var(--selected-text-color, rgb(253, 253, 253))",
14-
"matching-bg": "var(--matching-bg-color, rgb(95, 89, 56))",
15-
"selected-matching-bg":
16-
"var(--selected-matching-bg-color, rgb(106, 142, 218))",
7+
// the background color of the page
8+
shade0: "rgb(var(--shade0-color, 45 45 45) / <alpha-value>)",
9+
shade1: "rgb(var(--shade1-color, 57 57 57) / <alpha-value>)",
10+
shade2: "rgb(var(--shade2-color, 81 81 81) / <alpha-value>)",
11+
shade3: "rgb(var(--shade3-color, 119 119 119) / <alpha-value>)",
12+
shade4: "rgb(var(--shade4-color, 180 183 180) / <alpha-value>)",
13+
shade5: "rgb(var(--shade5-color, 204 204 204) / <alpha-value>)",
14+
shade6: "rgb(var(--shade6-color, 224 224 224) / <alpha-value>)",
15+
// the "brightest" color, used for text
16+
shade7: "rgb(var(--shade7-color, 255 255 255) / <alpha-value>)",
17+
// Typically Red
18+
accent0: "rgb(var(--accent0-color, 210 82 82) / <alpha-value>)",
19+
// Typically Orange
20+
accent1: "rgb(var(--accent1-color, 249 169 89) / <alpha-value>)",
21+
// Typically Yellow
22+
accent2: "rgb(var(--accent2-color, 255 198 109) / <alpha-value>)",
23+
// Typically Green
24+
accent3: "rgb(var(--accent3-color, 165 194 97) / <alpha-value>)",
25+
// Typically Light Blue
26+
accent4: "rgb(var(--accent4-color, 190 214 255) / <alpha-value>)",
27+
// Typically Dark Blue
28+
accent5: "rgb(var(--accent5-color, 108 153 187) / <alpha-value>)",
29+
// Typically Purple
30+
accent6: "rgb(var(--accent6-color, 209 151 217) / <alpha-value>)",
31+
// Varies,
32+
accent7: "rgb(var(--accent7-color, 249 115 148) / <alpha-value>)",
1733
},
1834
},
1935
},

0 commit comments

Comments
 (0)