mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-18 23:04:30 +08:00
feat(theme): added pale_nimbus (@conner-mcnicholas) (#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" />
This commit is contained in:
parent
8aa1f51c2c
commit
9cb19e3ea9
3 changed files with 19 additions and 0 deletions
|
|
@ -1114,6 +1114,12 @@ export const themes: Record<ThemeName, Omit<Theme, "name">> = {
|
|||
subColor: "#5b578e",
|
||||
textColor: "#f4e0c9",
|
||||
},
|
||||
pale_nimbus: {
|
||||
bgColor: "#433e4c",
|
||||
mainColor: "#94ffc2",
|
||||
subColor: "#ffaca3",
|
||||
textColor: "#feffdb",
|
||||
},
|
||||
};
|
||||
|
||||
export const ThemesList: Theme[] = Object.keys(themes)
|
||||
|
|
|
|||
12
frontend/static/themes/pale_nimbus.css
Normal file
12
frontend/static/themes/pale_nimbus.css
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
:root {
|
||||
--bg-color: #433e4c;
|
||||
--main-color: #94ffc2;
|
||||
--caret-color: #9efffd;
|
||||
--sub-color: #ffaca3;
|
||||
--sub-alt-color: #694f5e;
|
||||
--text-color: #feffdb;
|
||||
--error-color: #ff5c5c;
|
||||
--error-extra-color: #ff0000;
|
||||
--colorful-error-color: #ff3874;
|
||||
--colorful-error-extra-color: #c2386f;
|
||||
}
|
||||
|
|
@ -187,6 +187,7 @@ export const ThemeNameSchema = z.enum(
|
|||
"watermelon",
|
||||
"wavez",
|
||||
"witch_girl",
|
||||
"pale_nimbus",
|
||||
],
|
||||
{
|
||||
errorMap: customEnumErrorHandler("Must be a known theme"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue