Merge pull request #19 from mendelmaleh:nord

Add nord theme
This commit is contained in:
Jack Bartnik 2020-05-16 11:00:49 +01:00 committed by GitHub
commit fa08185575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 3 deletions

View file

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Monkey Type</title>
<link rel="stylesheet" href="css/fa.css">
<link rel="stylesheet" href="themes/dark.css" id="currentTheme">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="themes/dark.css" id="currentTheme">
<link rel="shortcut icon" href="favicon.png">
</head>

View file

@ -12,5 +12,6 @@
"rgb",
"oblivion",
"laser",
"retro"
]
"retro",
"nord"
]

19
public/themes/nord.css Normal file
View file

@ -0,0 +1,19 @@
:root {
--bg-color: #242933;
--caret-color: #d8dee9;
--main-color: #d8dee9;
--sub-color: #4c566a;
--active-word-color: #81a1c1;
}
.word letter.incorrect {
color: #bf616a;
}
.word letter.incorrect.extra {
color: #793e44;
}
.word.error {
border-bottom: 2px solid #bf616a;
}