mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
Merge 97005f8d4f into b5755faa30
This commit is contained in:
commit
190fedfde9
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",
|
||||
},
|
||||
constant_lehigh: {
|
||||
bgColor: "#502d0e",
|
||||
mainColor: "#f5e9ad",
|
||||
subColor: "#ffffff",
|
||||
textColor: "#fff5a8",
|
||||
},
|
||||
};
|
||||
|
||||
export const ThemesList: Theme[] = Object.keys(themes)
|
||||
|
|
|
|||
12
frontend/static/themes/constant_lehigh.css
Normal file
12
frontend/static/themes/constant_lehigh.css
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
:root {
|
||||
--bg-color: #502d0e;
|
||||
--main-color: #f5e9ad;
|
||||
--caret-color: #fde21e;
|
||||
--sub-color: #ffffff;
|
||||
--sub-alt-color: #693e16;
|
||||
--text-color: #fff5a8;
|
||||
--error-color: #ef4b3b;
|
||||
--error-extra-color: #ff0000;
|
||||
--colorful-error-color: #fb5095;
|
||||
--colorful-error-extra-color: #c2004e;
|
||||
}
|
||||
|
|
@ -187,6 +187,7 @@ export const ThemeNameSchema = z.enum(
|
|||
"watermelon",
|
||||
"wavez",
|
||||
"witch_girl",
|
||||
"constant_lehigh",
|
||||
],
|
||||
{
|
||||
errorMap: customEnumErrorHandler("Must be a known theme"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue