From ac4a2e397f6cd7968c42e2e4c91839eecc29a72e Mon Sep 17 00:00:00 2001 From: typerqeo Date: Mon, 26 Oct 2020 19:25:57 -0700 Subject: [PATCH] ran prettier on entire repo using 'npx prettier --write .' --- public/js/english_quotes.json | 12 ++++++------ public/js/userconfig.js | 4 +++- public/languages/arabic.json | 2 +- public/languages/czech.json | 4 ++-- public/languages/dutch.json | 2 +- public/languages/english.json | 2 +- public/languages/english_10k.json | 2 +- public/languages/english_1k.json | 2 +- public/languages/french.json | 2 +- public/languages/german.json | 2 +- public/languages/hebrew.json | 2 +- public/languages/hungarian.json | 2 +- public/languages/indonesian.json | 2 +- public/languages/italian.json | 2 +- public/languages/list.json | 2 +- public/languages/norwegian.json | 2 +- public/languages/polish.json | 2 +- public/languages/portugese.json | 2 +- public/languages/romanian.json | 12 ++++++------ public/languages/russian.json | 2 +- public/languages/slovak.json | 2 +- public/languages/spanish.json | 2 +- public/languages/thai.json | 2 +- public/languages/turkish.json | 2 +- public/themes/alduin.css | 18 +++++++++--------- public/themes/alpine.css | 20 ++++++++++---------- public/themes/dollar.css | 2 +- public/themes/drowning.css | 20 ++++++++++---------- public/themes/lil_dragon.css | 22 +++++++++++----------- public/themes/lime.css | 4 ++-- public/themes/modern_dolch.css | 4 ++-- public/themes/ms_cupcakes.css | 18 +++++++++--------- public/themes/nebula.css | 4 ++-- public/themes/pastel.css | 2 +- public/themes/superuser.css | 8 ++++---- public/themes/sweden.css | 4 ++-- public/themes/wavez.css | 4 ++-- 37 files changed, 102 insertions(+), 100 deletions(-) diff --git a/public/js/english_quotes.json b/public/js/english_quotes.json index d6dbab845..355d89be3 100644 --- a/public/js/english_quotes.json +++ b/public/js/english_quotes.json @@ -1,11 +1,11 @@ { "groups": [ - [0,100], - [101,300], - [301,600], - [601,9999] + [0, 100], + [101, 300], + [301, 600], + [601, 9999] ], - "quotes":[ + "quotes": [ { "text": "You have the power to heal your life, and you need to know that.", "source": "Meditations to Heal Your Life", @@ -29701,4 +29701,4 @@ "length": 180 } ] -} \ No newline at end of file +} diff --git a/public/js/userconfig.js b/public/js/userconfig.js index 04dc42a5b..745f77524 100644 --- a/public/js/userconfig.js +++ b/public/js/userconfig.js @@ -1319,7 +1319,9 @@ function changeKeymapLayout(layout, nosave) { }) .get(); } catch (e) { - console.log('something went wrong when changing layout, resettings: ' + e.message); + console.log( + "something went wrong when changing layout, resettings: " + e.message + ); changeKeymapLayout("qwerty", true); } // console.log(all.join()); diff --git a/public/languages/arabic.json b/public/languages/arabic.json index b6a508819..a2d2da47d 100644 --- a/public/languages/arabic.json +++ b/public/languages/arabic.json @@ -203,4 +203,4 @@ "يفترض", "يمكنني" ] -} \ No newline at end of file +} diff --git a/public/languages/czech.json b/public/languages/czech.json index f69a4d455..ce3b5f05b 100644 --- a/public/languages/czech.json +++ b/public/languages/czech.json @@ -203,5 +203,5 @@ "čekat", "patřit", "vláda" - ] -} \ No newline at end of file + ] +} diff --git a/public/languages/dutch.json b/public/languages/dutch.json index e18c8b3ae..418791ffd 100644 --- a/public/languages/dutch.json +++ b/public/languages/dutch.json @@ -197,4 +197,4 @@ "nu", "vinden" ] -} \ No newline at end of file +} diff --git a/public/languages/english.json b/public/languages/english.json index f2bf3de08..dccad66f6 100644 --- a/public/languages/english.json +++ b/public/languages/english.json @@ -203,4 +203,4 @@ "help", "line" ] -} \ No newline at end of file +} diff --git a/public/languages/english_10k.json b/public/languages/english_10k.json index cf5759b5e..79bfb2028 100644 --- a/public/languages/english_10k.json +++ b/public/languages/english_10k.json @@ -1,7 +1,7 @@ { "name": "english_10k", "leftToRight": true, - "words" : [ + "words": [ "a", "abandoned", "abilities", diff --git a/public/languages/english_1k.json b/public/languages/english_1k.json index 4c8073496..463f0f762 100644 --- a/public/languages/english_1k.json +++ b/public/languages/english_1k.json @@ -1003,4 +1003,4 @@ "shell", "neck" ] -} \ No newline at end of file +} diff --git a/public/languages/french.json b/public/languages/french.json index ca7eea4ba..f35585f16 100644 --- a/public/languages/french.json +++ b/public/languages/french.json @@ -202,4 +202,4 @@ "maintenant", "trouver" ] -} \ No newline at end of file +} diff --git a/public/languages/german.json b/public/languages/german.json index 6840cdae9..13e8a7111 100644 --- a/public/languages/german.json +++ b/public/languages/german.json @@ -207,4 +207,4 @@ "der", "das" ] -} \ No newline at end of file +} diff --git a/public/languages/hebrew.json b/public/languages/hebrew.json index d64f72c6d..4f854feb8 100644 --- a/public/languages/hebrew.json +++ b/public/languages/hebrew.json @@ -204,4 +204,4 @@ "דן", "כדור" ] -} \ No newline at end of file +} diff --git a/public/languages/hungarian.json b/public/languages/hungarian.json index 060de5343..cb1b0f32c 100644 --- a/public/languages/hungarian.json +++ b/public/languages/hungarian.json @@ -91,4 +91,4 @@ "meghazudtol", "szöszmötöl" ] -} \ No newline at end of file +} diff --git a/public/languages/indonesian.json b/public/languages/indonesian.json index d011f4a22..832150fd6 100644 --- a/public/languages/indonesian.json +++ b/public/languages/indonesian.json @@ -144,4 +144,4 @@ "yang", "yoyo" ] -} \ No newline at end of file +} diff --git a/public/languages/italian.json b/public/languages/italian.json index 6ed337ef2..c5a099f25 100644 --- a/public/languages/italian.json +++ b/public/languages/italian.json @@ -203,4 +203,4 @@ "arrogante", "ballare" ] -} \ No newline at end of file +} diff --git a/public/languages/list.json b/public/languages/list.json index 98222828f..5a553b6f5 100644 --- a/public/languages/list.json +++ b/public/languages/list.json @@ -21,4 +21,4 @@ "arabic", "icelandic_1k", "romanian" -] \ No newline at end of file +] diff --git a/public/languages/norwegian.json b/public/languages/norwegian.json index 2ef5d6fbf..1947c4157 100644 --- a/public/languages/norwegian.json +++ b/public/languages/norwegian.json @@ -204,4 +204,4 @@ "gjorde", "mine" ] -} \ No newline at end of file +} diff --git a/public/languages/polish.json b/public/languages/polish.json index 5e0395866..3e09c9964 100644 --- a/public/languages/polish.json +++ b/public/languages/polish.json @@ -203,4 +203,4 @@ "teraz", "odnaleźć" ] -} \ No newline at end of file +} diff --git a/public/languages/portugese.json b/public/languages/portugese.json index 387ccac92..7199fffdc 100644 --- a/public/languages/portugese.json +++ b/public/languages/portugese.json @@ -194,4 +194,4 @@ "reportagem", "tudo" ] -} \ No newline at end of file +} diff --git a/public/languages/romanian.json b/public/languages/romanian.json index 45ff22c23..77a8b27a6 100644 --- a/public/languages/romanian.json +++ b/public/languages/romanian.json @@ -71,7 +71,7 @@ "dar", "de", "deal", - "decât", + "decât", "deoarece", "despre", "devreme", @@ -125,7 +125,7 @@ "înapoi", "încă", "început", - "încercați", + "încercați", "inel", "întoarce", "între", @@ -149,14 +149,14 @@ "luni", "mai", "mama", - "mână", + "mână", "mare", "masă", "mașină", "mea", "mere", "mi", - "mic", + "mic", "mijloc", "mine", "mingea", @@ -186,7 +186,7 @@ "până", "pantofi", "păpușă", - "par", + "par", "părinți", "parte", "pasăre", @@ -273,4 +273,4 @@ "zi", "ziua" ] -} \ No newline at end of file +} diff --git a/public/languages/russian.json b/public/languages/russian.json index 97863b783..8704b1448 100644 --- a/public/languages/russian.json +++ b/public/languages/russian.json @@ -203,4 +203,4 @@ "проблема", "начать" ] -} \ No newline at end of file +} diff --git a/public/languages/slovak.json b/public/languages/slovak.json index 36e88d8ff..faa174eae 100644 --- a/public/languages/slovak.json +++ b/public/languages/slovak.json @@ -203,4 +203,4 @@ "mesto", "zviera" ] -} \ No newline at end of file +} diff --git a/public/languages/spanish.json b/public/languages/spanish.json index 2ee174f2f..6ced84cb8 100644 --- a/public/languages/spanish.json +++ b/public/languages/spanish.json @@ -202,4 +202,4 @@ "ahora", "encontrar" ] -} \ No newline at end of file +} diff --git a/public/languages/thai.json b/public/languages/thai.json index 3ebb73c24..f529012fc 100644 --- a/public/languages/thai.json +++ b/public/languages/thai.json @@ -975,4 +975,4 @@ "ลูกจ้าง", "เนี่ย" ] -} \ No newline at end of file +} diff --git a/public/languages/turkish.json b/public/languages/turkish.json index c247fcd15..47aa538c6 100644 --- a/public/languages/turkish.json +++ b/public/languages/turkish.json @@ -302,4 +302,4 @@ "gelişmek", "geçen" ] -} \ No newline at end of file +} diff --git a/public/themes/alduin.css b/public/themes/alduin.css index 5bec62562..e3ff40a73 100644 --- a/public/themes/alduin.css +++ b/public/themes/alduin.css @@ -1,11 +1,11 @@ :root { - --bg-color: #1c1c1c; - --main-color: #dfd7af; - --caret-color: #e3e3e3; - --sub-color: #444444; - --text-color: #f5f3ed; - --error-color: #af5f5f; - --error-extra-color: #4d2113; - --colorful-error-color: #af5f5f; - --colorful-error-extra-color: #4d2113; + --bg-color: #1c1c1c; + --main-color: #dfd7af; + --caret-color: #e3e3e3; + --sub-color: #444444; + --text-color: #f5f3ed; + --error-color: #af5f5f; + --error-extra-color: #4d2113; + --colorful-error-color: #af5f5f; + --colorful-error-extra-color: #4d2113; } diff --git a/public/themes/alpine.css b/public/themes/alpine.css index 8e2b0c8d0..7e8ca39b7 100644 --- a/public/themes/alpine.css +++ b/public/themes/alpine.css @@ -1,11 +1,11 @@ :root { - --bg-color: #6c687f; /*Background*/ - --main-color: #ffffff; /*Color after typing, monkeytype logo, WPM Number acc number etc*/ - --caret-color: #585568; /*Cursor Color*/ - --sub-color: #9994b8; /*WPM text color of scrollbar and general color, before typed color*/ - --text-color: #ffffff; /*Color of text after hovering over it*/ - --error-color: #e32b2b; - --error-extra-color: #a62626; - --colorful-error-color: #e32b2b; - --colorful-error-extra-color: #a62626; - } \ No newline at end of file + --bg-color: #6c687f; /*Background*/ + --main-color: #ffffff; /*Color after typing, monkeytype logo, WPM Number acc number etc*/ + --caret-color: #585568; /*Cursor Color*/ + --sub-color: #9994b8; /*WPM text color of scrollbar and general color, before typed color*/ + --text-color: #ffffff; /*Color of text after hovering over it*/ + --error-color: #e32b2b; + --error-extra-color: #a62626; + --colorful-error-color: #e32b2b; + --colorful-error-extra-color: #a62626; +} diff --git a/public/themes/dollar.css b/public/themes/dollar.css index 3be27e774..0f55e599c 100644 --- a/public/themes/dollar.css +++ b/public/themes/dollar.css @@ -8,4 +8,4 @@ --error-extra-color: #f68484; --colorful-error-color: #ca4754; --colorful-error-extra-color: #7e2a33; -} \ No newline at end of file +} diff --git a/public/themes/drowning.css b/public/themes/drowning.css index d8d3ad290..4d09ff807 100644 --- a/public/themes/drowning.css +++ b/public/themes/drowning.css @@ -1,11 +1,11 @@ :root { - --bg-color: #191826; - --main-color: #4a6fb5; - --caret-color: #4f85e8; - --sub-color: #50688c; - --text-color: #9393a7; - --error-color: #be555f; - --error-extra-color: #7e2a33; - --colorful-error-color: #be555f; - --colorful-error-extra-color: #7e2a33; -} \ No newline at end of file + --bg-color: #191826; + --main-color: #4a6fb5; + --caret-color: #4f85e8; + --sub-color: #50688c; + --text-color: #9393a7; + --error-color: #be555f; + --error-extra-color: #7e2a33; + --colorful-error-color: #be555f; + --colorful-error-extra-color: #7e2a33; +} diff --git a/public/themes/lil_dragon.css b/public/themes/lil_dragon.css index d1ef7222d..dc015f333 100644 --- a/public/themes/lil_dragon.css +++ b/public/themes/lil_dragon.css @@ -1,19 +1,19 @@ :root { - --bg-color: #ebe1ef; - --main-color: #8a5bd6; - --caret-color: #212b43; - --sub-color: #ac76e5; - --text-color: #212b43; - --error-color: #f794ca; - --error-extra-color: #f279c2; - --colorful-error-color: #f794ca; - --colorful-error-extra-color: #f279c2; + --bg-color: #ebe1ef; + --main-color: #8a5bd6; + --caret-color: #212b43; + --sub-color: #ac76e5; + --text-color: #212b43; + --error-color: #f794ca; + --error-extra-color: #f279c2; + --colorful-error-color: #f794ca; + --colorful-error-extra-color: #f279c2; } #menu .icon-button { - color: #ba96db; + color: #ba96db; } #menu .icon-button:hover { - color: #212b43; + color: #212b43; } diff --git a/public/themes/lime.css b/public/themes/lime.css index eb014d202..fa1f4d6d1 100644 --- a/public/themes/lime.css +++ b/public/themes/lime.css @@ -1,4 +1,4 @@ -:root{ +:root { --bg-color: #7c878e; --main-color: #93c247; --caret-color: #93c247; @@ -8,4 +8,4 @@ --error-extra-color: #7e2a33; --colorful-error-color: #ea4221; --colorful-error-extra-color: #7e2a33; -} \ No newline at end of file +} diff --git a/public/themes/modern_dolch.css b/public/themes/modern_dolch.css index 05d72c35d..20f2b25c1 100644 --- a/public/themes/modern_dolch.css +++ b/public/themes/modern_dolch.css @@ -1,7 +1,7 @@ :root { --bg-color: #2d2e30; - --main-color: #7EDDD3; - --caret-color: #7EDDD3; + --main-color: #7eddd3; + --caret-color: #7eddd3; --sub-color: #54585c; --text-color: #e3e6eb; --error-color: #d36a7b; diff --git a/public/themes/ms_cupcakes.css b/public/themes/ms_cupcakes.css index 07ea3ad41..db626d4a4 100644 --- a/public/themes/ms_cupcakes.css +++ b/public/themes/ms_cupcakes.css @@ -1,11 +1,11 @@ :root { --bg-color: #ffffff; - --main-color: #5ed5f3; - --caret-color: #303030; - --sub-color: #d64090; - --text-color: #0a282f; - --error-color: #000000; - --error-extra-color: #c9c9c9; - --colorful-error-color: #ca4754; - --colorful-error-extra-color: #7e2a33; -} \ No newline at end of file + --main-color: #5ed5f3; + --caret-color: #303030; + --sub-color: #d64090; + --text-color: #0a282f; + --error-color: #000000; + --error-extra-color: #c9c9c9; + --colorful-error-color: #ca4754; + --colorful-error-extra-color: #7e2a33; +} diff --git a/public/themes/nebula.css b/public/themes/nebula.css index 27fbf64fe..7f5ea1026 100644 --- a/public/themes/nebula.css +++ b/public/themes/nebula.css @@ -1,4 +1,4 @@ -:root{ +:root { --bg-color: #212135; --main-color: #be3c88; --caret-color: #78c729; @@ -8,4 +8,4 @@ --error-extra-color: #7e2a33; --colorful-error-color: #ca4754; --colorful-error-extra-color: #7e2a33; -} \ No newline at end of file +} diff --git a/public/themes/pastel.css b/public/themes/pastel.css index 6830785bf..9ae4d166d 100644 --- a/public/themes/pastel.css +++ b/public/themes/pastel.css @@ -8,4 +8,4 @@ --error-extra-color: #c23b22; --colorful-error-color: #ff6961; --colorful-error-extra-color: #c23b22; - } \ No newline at end of file +} diff --git a/public/themes/superuser.css b/public/themes/superuser.css index a23827d2f..b5207f556 100644 --- a/public/themes/superuser.css +++ b/public/themes/superuser.css @@ -1,9 +1,9 @@ :root { - --bg-color: #262A33; - --main-color: #43FFAF; - --caret-color: #43FFAF; + --bg-color: #262a33; + --main-color: #43ffaf; + --caret-color: #43ffaf; --sub-color: #526777; - --text-color: #E5F7EF; + --text-color: #e5f7ef; --error-color: #ff5f5f; --error-extra-color: #d22a2a; --colorful-error-color: #ff5f5f; diff --git a/public/themes/sweden.css b/public/themes/sweden.css index 39de30b4f..41bb4d212 100644 --- a/public/themes/sweden.css +++ b/public/themes/sweden.css @@ -1,4 +1,4 @@ -:root{ +:root { --bg-color: #0058a3; --main-color: #ffcc02; --caret-color: #b5b5b5; @@ -8,4 +8,4 @@ --error-extra-color: #a22f2f; --colorful-error-color: #f56674; --colorful-error-extra-color: #e33546; -} \ No newline at end of file +} diff --git a/public/themes/wavez.css b/public/themes/wavez.css index 32c7be8d1..89f94b581 100644 --- a/public/themes/wavez.css +++ b/public/themes/wavez.css @@ -1,4 +1,4 @@ -:root{ +:root { --bg-color: #1c292f; --main-color: #6bde3b; --caret-color: #6bde3b; @@ -8,4 +8,4 @@ --error-extra-color: #7e2a33; --colorful-error-color: #ca4754; --colorful-error-extra-color: #7e2a33; -} \ No newline at end of file +}