mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-21 07:46:15 +08:00
added honey theme thanks octa
This commit is contained in:
parent
31a548010e
commit
84bd699738
|
@ -614,9 +614,8 @@ function applyCustomThemeColors() {
|
|||
document.documentElement.style.setProperty(e, "");
|
||||
});
|
||||
}
|
||||
refreshThemeColorObject();
|
||||
|
||||
setTimeout(() => {
|
||||
refreshThemeColorObject();
|
||||
updateFavicon(32, 14);
|
||||
}, 500);
|
||||
}
|
||||
|
|
11
public/themes/honey.css
Normal file
11
public/themes/honey.css
Normal file
|
@ -0,0 +1,11 @@
|
|||
:root {
|
||||
--bg-color: #f2aa00;
|
||||
--main-color: #fff546;
|
||||
--caret-color: #795200;
|
||||
--sub-color: #a66b00;
|
||||
--text-color: #f3eecb;
|
||||
--error-color: #df3333;
|
||||
--error-extra-color: #6d1f1f;
|
||||
--colorful-error-color: #df3333;
|
||||
--colorful-error-extra-color: #6d1f1f;
|
||||
}
|
|
@ -317,5 +317,10 @@
|
|||
"name": "deku",
|
||||
"bgColor": "#058B8C",
|
||||
"textColor": "#F7F2EA"
|
||||
},
|
||||
{
|
||||
"name": "honey",
|
||||
"bgColor": "#f2aa00",
|
||||
"textColor": "#fff546"
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue