Skip to content

Commit 682f181

Browse files
authored
Merge pull request #92 from Le-SirH:master
New Themes
2 parents 2443b85 + 76de515 commit 682f181

4 files changed

Lines changed: 91 additions & 1 deletion

File tree

public/themes/list.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@
1919
"olivia",
2020
"bliss",
2121
"mizu",
22-
"metaverse"
22+
"metaverse",
23+
"shadow",
24+
"mint",
25+
"miami"
2326
]

public/themes/miami.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
:root {
2+
--bg-color: #f35588;
3+
--main-color: #05dfd7;
4+
--caret-color: #a3f7bf;
5+
--sub-color: #fff591;
6+
--error-color: #9d72ff;
7+
}
8+
9+
.word letter.incorrect,
10+
.word.error,
11+
.word letter.incorrect.extra {
12+
color: var(--error-color);
13+
}
14+
15+
.word.error {
16+
border-bottom: solid 2px var(--error-color);
17+
}

public/themes/mint.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
:root {
2+
--bg-color: #05385b;
3+
--main-color: #5cdb95;
4+
--caret-color: #5cdb95;
5+
--sub-color: #edf5e1;
6+
--error-color: #F35588;
7+
}
8+
9+
.word letter.incorrect,
10+
.word.error,
11+
.word letter.incorrect.extra {
12+
color: var(--error-color);
13+
}
14+
15+
.word.error {
16+
border-bottom: solid 2px var(--error-color);
17+
}

public/themes/shadow.css

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
:root {
2+
--bg-color: #000;
3+
--main-color: #eee;
4+
--caret-color: #eee;
5+
--sub-color: #444;
6+
}
7+
8+
@keyframes shadow {
9+
to {
10+
color: #000;
11+
}
12+
}
13+
14+
@keyframes shadow-repeat {
15+
50% {
16+
color: #000;
17+
}
18+
100% {
19+
color: #eee;
20+
}
21+
}
22+
23+
.word.error {
24+
border-bottom: 2px solid #fff;
25+
}
26+
27+
.word letter.incorrect {
28+
color: #fff;
29+
}
30+
31+
.word letter.incorrect.extra {
32+
color: #fff;
33+
}
34+
35+
#top .config .group .buttons .button.active,
36+
#result .stats .group,
37+
#menu .button:hover,
38+
#top .config .group .buttons .button:hover,
39+
a:hover {
40+
animation-name: shadow-repeat;
41+
animation-duration: 3s;
42+
animation-iteration-count: infinite;
43+
animation-fill-mode: forwards;
44+
animation-timing-function: linear;
45+
}
46+
47+
#logo, .word letter.correct{
48+
animation-name: shadow;
49+
animation-duration: 5s;
50+
animation-iteration-count: 1;
51+
animation-fill-mode: forwards;
52+
animation-timing-function: linear;
53+
}

0 commit comments

Comments
 (0)