Skip to content

Commit 9cb19e3

Browse files
feat(theme): added pale_nimbus (@conner-mcnicholas) (monkeytypegame#7055)
# Description Created a new theme "pale_nimbus" per instructions. ## Screenshots #### ------Normal Test------ <img width="1244" height="1170" alt="test" src="https://github.com/user-attachments/assets/9b74bf69-6202-4dde-b011-fa8cea48168a" /> #### ------Flipped Test------ <img width="1242" height="1172" alt="flip" src="https://github.com/user-attachments/assets/589ee12a-ce34-4688-beb3-9f43fe147450" /> #### ------Colorful Test------ <img width="1244" height="1170" alt="colorful" src="https://github.com/user-attachments/assets/7079fc55-461d-4355-a9c8-eeede747f4f8" /> #### ------Flipped and Colorful Test------ <img width="1240" height="1166" alt="flip_colorful" src="https://github.com/user-attachments/assets/30ac5c08-b2cb-4481-99ff-65f6dc4ab77f" /> #### ------Settings------ <img width="1238" height="1170" alt="menu" src="https://github.com/user-attachments/assets/d7818bf0-02af-4433-b6ba-487a426dace1" /> #### ------Stats------ <img width="928" height="1156" alt="stats" src="https://github.com/user-attachments/assets/cef260af-858b-45b3-837b-121c538d450c" />
1 parent 8aa1f51 commit 9cb19e3

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

frontend/src/ts/constants/themes.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,12 @@ export const themes: Record<ThemeName, Omit<Theme, "name">> = {
11141114
subColor: "#5b578e",
11151115
textColor: "#f4e0c9",
11161116
},
1117+
pale_nimbus: {
1118+
bgColor: "#433e4c",
1119+
mainColor: "#94ffc2",
1120+
subColor: "#ffaca3",
1121+
textColor: "#feffdb",
1122+
},
11171123
};
11181124

11191125
export const ThemesList: Theme[] = Object.keys(themes)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:root {
2+
--bg-color: #433e4c;
3+
--main-color: #94ffc2;
4+
--caret-color: #9efffd;
5+
--sub-color: #ffaca3;
6+
--sub-alt-color: #694f5e;
7+
--text-color: #feffdb;
8+
--error-color: #ff5c5c;
9+
--error-extra-color: #ff0000;
10+
--colorful-error-color: #ff3874;
11+
--colorful-error-extra-color: #c2386f;
12+
}

packages/schemas/src/themes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ export const ThemeNameSchema = z.enum(
187187
"watermelon",
188188
"wavez",
189189
"witch_girl",
190+
"pale_nimbus",
190191
],
191192
{
192193
errorMap: customEnumErrorHandler("Must be a known theme"),

0 commit comments

Comments
 (0)