From a8b9fc0ef8f5229d7b39fb8a1fa3a1ac75e48dca Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 22 Jul 2020 21:23:33 +0100 Subject: [PATCH] added round round baby --- public/js/userconfig.js | 2 +- public/themes/list.json | 5 +++++ public/themes/round_round_baby.css | 31 ++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 public/themes/round_round_baby.css diff --git a/public/js/userconfig.js b/public/js/userconfig.js index 005e1134d..a0cb64ec6 100644 --- a/public/js/userconfig.js +++ b/public/js/userconfig.js @@ -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); diff --git a/public/themes/list.json b/public/themes/list.json index 60928df86..d71285904 100644 --- a/public/themes/list.json +++ b/public/themes/list.json @@ -43,6 +43,11 @@ "bgColor": "#323437", "textColor": "#e2b714" }, + { + "name": "round_round_baby", + "bgColor": "#323437", + "textColor": "#e2b714" + }, { "name": "bushido", "bgColor": "#414755", diff --git a/public/themes/round_round_baby.css b/public/themes/round_round_baby.css new file mode 100644 index 000000000..8a14d710e --- /dev/null +++ b/public/themes/round_round_baby.css @@ -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; +} \ No newline at end of file