Skip to content

Commit 650b8c8

Browse files
committed
feat(themes): add chocomonkey theme
1 parent a6d15f2 commit 650b8c8

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

frontend/src/ts/constants/themes.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,10 +1126,10 @@ export const ThemesList: Theme[] = Object.keys(themes)
11261126
.sort()
11271127
.map(
11281128
(it) =>
1129-
({
1130-
...themes[it as ThemeName],
1131-
name: it,
1132-
} as Theme)
1129+
({
1130+
...themes[it as ThemeName],
1131+
name: it,
1132+
} as Theme),
11331133
);
11341134

11351135
export const ThemesListSorted = [
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
:root {
2-
--bg-color: #1b2228;
3-
--main-color: #a7c080;
4-
--caret-color: #d8a657;
5-
--sub-color: #7f8c8d;
6-
--sub-alt-color: #151a1f;
7-
--text-color: #d3c6aa;
8-
--error-color: #e67e80;
9-
--error-extra-color: #e67e80;
10-
--colorful-error-color: #e67e80;
11-
--colorful-error-extra-color: #d699b6;
12-
}
1+
:root {
2+
--bg-color: #1b2228;
3+
--main-color: #a7c080;
4+
--caret-color: #d8a657;
5+
--sub-color: #7f8c8d;
6+
--sub-alt-color: #151a1f;
7+
--text-color: #d3c6aa;
8+
--error-color: #e67e80;
9+
--error-extra-color: #e67e80;
10+
--colorful-error-color: #e67e80;
11+
--colorful-error-extra-color: #d699b6;
12+
}

packages/schemas/src/themes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export const ThemeNameSchema = z.enum(
2727
"camping",
2828
"carbon",
2929
"catppuccin",
30+
"chocomonkey",
3031
"chaos_theory",
3132
"cheesecake",
3233
"cherry_blossom",
@@ -187,9 +188,8 @@ export const ThemeNameSchema = z.enum(
187188
"watermelon",
188189
"wavez",
189190
"witch_girl",
190-
"chocomonkey",
191191
],
192192
{
193193
errorMap: customEnumErrorHandler("Must be a known theme"),
194-
}
194+
},
195195
);

0 commit comments

Comments
 (0)