mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
Merge 888d0186b7 into b5755faa30
This commit is contained in:
commit
b754c5aa8e
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