storing default theme colors in the head in case theme file failed to load

This commit is contained in:
Miodec 2023-01-14 01:02:48 +01:00
parent cd5f7b7d5d
commit f3c7a2e4bd

View file

@ -9,6 +9,21 @@
<title>Monkeytype</title>
<link rel="stylesheet" href="/./css/select2.min.css" />
<link rel="stylesheet" href="/./css/balloon.min.css" />
<!-- default colors in case theme file fails to load -->
<style>
:root {
--bg-color: #323437;
--main-color: #e2b714;
--caret-color: #e2b714;
--sub-color: #646669;
--sub-alt-color: #2c2e31;
--text-color: #d1d0c5;
--error-color: #ca4754;
--error-extra-color: #7e2a33;
--colorful-error-color: #ca4754;
--colorful-error-extra-color: #7e2a33;
}
</style>
<link rel="stylesheet" href="/./themes/serika_dark.css" id="currentTheme" />
<link rel="stylesheet" href="" id="funBoxTheme" />
<link id="favicon" rel="shortcut icon" href="/./images/favicon/favicon.ico" />