mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-01 11:48:04 +08:00
storing default theme colors in the head in case theme file failed to load
This commit is contained in:
parent
cd5f7b7d5d
commit
f3c7a2e4bd
1 changed files with 15 additions and 0 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue