diff --git a/.prettierignore b/.prettierignore index 29ee12dca..49676d89c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ -layouts.js \ No newline at end of file +*.min.js +layouts.js diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f2bc02de3..052c01c15 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,7 @@ 2. [Install the Firebase CLI](https://firebase.google.com/docs/cli) 3. Run `firebase login` on your terminal to log in to the same google account as you just used to create the project. 4. Git clone this project. -5. Run `npm install` in the `functions/` directory +5. Run `npm install` 6. Compile `public/css/style.scss` to `public/css/style.min.css` as [described below](https://github.com/Miodec/monkeytype/blob/master/CONTRIBUTING.md#standards--conventions) 7. Rename `.firebaserc_example` to `.firebaserc` and change the project name of default to the firebase project id you just created. @@ -37,7 +37,7 @@ - Click "Generate New Private Key" - Save as `serviceAccountKey.json` in the `functions/` directory -9. Run `firebase serve` to start a local server on port 5000. Use ctrl+c to stop it. +9. Run `npm start` to start a local server on port 5000. Use ctrl+c to stop it. - Run `firebase use default` if you run into any errors for this. ## Standards & Conventions diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 000000000..ea6ea174a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,657 @@ +{ + "name": "monkeytype", + "version": "1.5.3", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@babel/code-frame": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", + "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.10.4" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", + "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", + "dev": true + }, + "@babel/highlight": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", + "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.10.4", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "@types/minimatch": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", + "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==", + "dev": true + }, + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "array-differ": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz", + "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", + "dev": true + }, + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true + }, + "arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "dev": true + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "compare-versions": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz", + "integrity": "sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "cosmiconfig": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", + "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==", + "dev": true, + "requires": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + } + }, + "cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "execa": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.3.tgz", + "integrity": "sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "find-versions": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-3.2.0.tgz", + "integrity": "sha512-P8WRou2S+oe222TOCHitLy8zj+SIsVJh52VP4lvXkaFVnOFFdoWv1H1Jjvel1aI6NCFOAaeAVm8qrI0odiLcww==", + "dev": true, + "requires": { + "semver-regex": "^2.0.0" + } + }, + "get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "human-signals": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", + "dev": true + }, + "husky": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.0.tgz", + "integrity": "sha512-tTMeLCLqSBqnflBZnlVDhpaIMucSGaYyX6855jM4AguGeWCeSzNdb1mfyWduTZ3pe3SJVvVWGL0jO1iKZVPfTA==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "ci-info": "^2.0.0", + "compare-versions": "^3.6.0", + "cosmiconfig": "^7.0.0", + "find-versions": "^3.2.0", + "opencollective-postinstall": "^2.0.2", + "pkg-dir": "^4.2.0", + "please-upgrade-node": "^3.2.0", + "slash": "^3.0.0", + "which-pm-runs": "^1.0.0" + } + }, + "ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", + "dev": true + }, + "import-fresh": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", + "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", + "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "mri": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.1.6.tgz", + "integrity": "sha512-oi1b3MfbyGa7FJMP9GmLTttni5JoICpYBRlq+x5V16fZbLsnL9N3wFqqIm/nIG43FjUFkFh9Epzp/kzUGUnJxQ==", + "dev": true + }, + "multimatch": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-4.0.0.tgz", + "integrity": "sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ==", + "dev": true, + "requires": { + "@types/minimatch": "^3.0.3", + "array-differ": "^3.0.0", + "array-union": "^2.1.0", + "arrify": "^2.0.1", + "minimatch": "^3.0.4" + } + }, + "npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "opencollective-postinstall": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", + "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==", + "dev": true + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "parse-json": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", + "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + }, + "please-upgrade-node": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", + "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", + "dev": true, + "requires": { + "semver-compare": "^1.0.0" + } + }, + "prettier": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz", + "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==", + "dev": true + }, + "pretty-quick": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/pretty-quick/-/pretty-quick-3.1.0.tgz", + "integrity": "sha512-DtxIxksaUWCgPFN7E1ZZk4+Aav3CCuRdhrDSFZENb404sYMtuo9Zka823F+Mgeyt8Zt3bUiCjFzzWYE9LYqkmQ==", + "dev": true, + "requires": { + "chalk": "^3.0.0", + "execa": "^4.0.0", + "find-up": "^4.1.0", + "ignore": "^5.1.4", + "mri": "^1.1.5", + "multimatch": "^4.0.0" + }, + "dependencies": { + "chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "semver-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", + "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", + "dev": true + }, + "semver-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz", + "integrity": "sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==", + "dev": true + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "signal-exit": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + }, + "strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-pm-runs": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", + "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=", + "dev": true + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "yaml": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz", + "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==", + "dev": true + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 000000000..4e8c67030 --- /dev/null +++ b/package.json @@ -0,0 +1,22 @@ +{ + "name": "monkeytype", + "version": "1.5.3", + "license": "GPL-3.0", + "scripts": { + "start": "firebase serve", + "postinstall": "cd functions && npm install" + }, + "engines": { + "node": "10" + }, + "devDependencies": { + "husky": "^4.3.0", + "prettier": "2.1.2", + "pretty-quick": "^3.1.0" + }, + "husky": { + "hooks": { + "pre-commit": "pretty-quick --staged" + } + } +} diff --git a/public/index.html b/public/index.html index aa47b7612..5d217a8b6 100644 --- a/public/index.html +++ b/public/index.html @@ -3155,9 +3155,9 @@ Support on Patreon or - PayPal + + PayPal +
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 +}