mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-10 23:56:22 +08:00
added round round baby
This commit is contained in:
parent
c556abf1ca
commit
a8b9fc0ef8
3 changed files with 37 additions and 1 deletions
|
@ -553,7 +553,7 @@ function setTheme(name, nosave) {
|
|||
|
||||
function randomiseTheme() {
|
||||
var randomList = themesList.filter(function (theme) {
|
||||
return theme.name != "nausea";
|
||||
return theme.name != "nausea" && theme.name != "round_round_baby";
|
||||
});
|
||||
let randomtheme = randomList[Math.floor(Math.random() * randomList.length)];
|
||||
setTheme(randomtheme.name, true);
|
||||
|
|
|
@ -43,6 +43,11 @@
|
|||
"bgColor": "#323437",
|
||||
"textColor": "#e2b714"
|
||||
},
|
||||
{
|
||||
"name": "round_round_baby",
|
||||
"bgColor": "#323437",
|
||||
"textColor": "#e2b714"
|
||||
},
|
||||
{
|
||||
"name": "bushido",
|
||||
"bgColor": "#414755",
|
||||
|
|
31
public/themes/round_round_baby.css
Normal file
31
public/themes/round_round_baby.css
Normal file
|
@ -0,0 +1,31 @@
|
|||
:root {
|
||||
--bg-color: #323437;
|
||||
--main-color: #e2b714;
|
||||
--caret-color: #e2b714;
|
||||
--sub-color: #646669;
|
||||
--text-color: #d1d0c5;
|
||||
--error-color: #ca4754;
|
||||
--error-extra-color: #7e2a33;
|
||||
--colorful-error-color: #ca4754;
|
||||
--colorful-error-extra-color: #7e2a33;
|
||||
}
|
||||
|
||||
|
||||
@keyframes woah {
|
||||
0% {
|
||||
transform: rotateZ(0deg);
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: rotateZ(180deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotateZ(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#middle {
|
||||
animation: woah 5s infinite linear;
|
||||
}
|
Loading…
Add table
Reference in a new issue