From 7702b2d5bb2a6e2ba88b1e0fd42ea0f1292a0cf7 Mon Sep 17 00:00:00 2001 From: Mendel E Date: Fri, 15 May 2020 17:38:51 -0400 Subject: [PATCH 1/2] Add nord theme --- public/themes/list.json | 5 +++-- public/themes/nord.css | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 public/themes/nord.css diff --git a/public/themes/list.json b/public/themes/list.json index e43fe78ee..db7ec93a8 100644 --- a/public/themes/list.json +++ b/public/themes/list.json @@ -12,5 +12,6 @@ "rgb", "oblivion", "laser", - "retro" -] \ No newline at end of file + "retro", + "nord" +] diff --git a/public/themes/nord.css b/public/themes/nord.css new file mode 100644 index 000000000..566b50673 --- /dev/null +++ b/public/themes/nord.css @@ -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; +} From 6e86a371c707cb067314a2fc779ae612e047a7d3 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 16 May 2020 10:58:26 +0100 Subject: [PATCH 2/2] made sure the theme overrides the default styles --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 898b45b54..8d062010d 100644 --- a/public/index.html +++ b/public/index.html @@ -6,8 +6,8 @@ Monkey Type - +