Skip to content

Commit d9b0950

Browse files
committed
added 2 more colors to each theme to make sure errors are visible with extra color enabled
1 parent c37d486 commit d9b0950

36 files changed

+113
-35
lines changed

public/css/style.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,12 @@ key {
810810
& letter.correct{
811811
color: var(--main-color);
812812
}
813+
& letter.incorrect{
814+
color: var(--extra-error-color);
815+
}
816+
& letter.incorrect.extra{
817+
color: var(--extra-error-extra-color);
818+
}
813819
}
814820
}
815821

@@ -819,9 +825,21 @@ key {
819825
& letter.correct{
820826
color: var(--sub-color);
821827
}
828+
& letter.incorrect{
829+
color: var(--extra-error-color);
830+
}
831+
& letter.incorrect.extra{
832+
color: var(--extra-error-extra-color);
833+
}
822834
}
823835
}
824836

837+
#words.flipped.extraColor .word.error,
838+
#words.extraColor .word.error
839+
{
840+
border-bottom: 2px solid var(--extra-error-color);
841+
}
842+
825843
.pageTest #resultExtraButtons{
826844
opacity: 0;
827845
display: grid;

public/themes/8008.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
--text-color: #e9ecf0;
77
--error-color: #da3333;
88
--error-extra-color: #791717;
9+
--extra-error-color: #c5da33;
10+
--extra-error-extra-color: #849224;
911
}

public/themes/9009.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
--sub-color: #99947f;
66
--text-color: #080909;
77
--error-color: #c87e74;
8-
--extra-error-color: #a56961;
8+
--extra-error-color: #a56961;
9+
--extra-error-color: #c87e74;
10+
--extra-error-extra-color: #a56961;
911
}
1012

1113
.word letter.incorrect{

public/themes/bingsu.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
--text-color: #ebe6ea;
88
--error-color: #921341;
99
--error-extra-color: #640b2c;
10+
--extra-error-color: #921341;
11+
--extra-error-extra-color: #640b2c;
1012
}
1113

1214
/* .word.error{

public/themes/bliss.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
:root {
22
--bg-color: #262727;
3-
--main-color: #665957;
3+
--main-color: #f0d3c9;
44
--caret-color: #f0d3c9;
5-
--sub-color: #f0d3c9;
5+
--sub-color: #665957;
66
--text-color: #fff;
77
--error-color: #bd4141;
8-
--error-extra-color: #883434;
8+
--error-extra-color: #883434;
9+
--extra-error-color: #bd4141;
10+
--extra-error-extra-color: #883434;
911
}

public/themes/botanical.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@
55
--sub-color: #495755;
66
--text-color: #eaf1f3;
77
--error-color: #f6c9b4;
8-
--error-extra-color: #f59a71;
8+
--error-extra-color: #f59a71;
9+
--extra-error-color: #f6c9b4;
10+
--extra-error-extra-color: #f59a71;
911
}

public/themes/bushido.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@
55
--sub-color: #596172;
66
--text-color: #f6f0e9;
77
--error-color: #ec4c56;
8-
--error-extra-color: #9b333a;
8+
--error-extra-color: #9b333a;
9+
--extra-error-color: #ecdc4c;
10+
--extra-error-extra-color: #bdb03d;
911
}

public/themes/carbon.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
--text-color: #f5e6c8;
77
--error-color: #e72d2d;
88
--extra-error-color: #b62828;
9+
--extra-error-color: #a5e72d;
10+
--extra-error-extra-color: #74a120;
911
}

public/themes/dark.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
--text-color: #eee;
77
--error-color: #da3333;
88
--error-extra-color: #791717;
9+
--extra-error-color: #da3333;
10+
--extra-error-extra-color: #791717;
911
}

public/themes/dots.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
--text-color: #fff;
77
--error-color: #da3333;
88
--error-extra-color: #791717;
9+
--extra-error-color: #da3333;
10+
--extra-error-extra-color: #791717;
911
}
1012

1113
#menu{

0 commit comments

Comments
 (0)