diff --git a/package-lock.json b/package-lock.json index 08888a00a2..2fe8a209e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5449,7 +5449,8 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [{ + "funding": [ + { "type": "github", "url": "https://github.com/sponsors/feross" }, @@ -6293,10 +6294,12 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", - "funding": [{ - "type": "github", - "url": "https://github.com/sponsors/fb55" - }] + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] }, "node_modules/domexception": { "version": "2.0.1", @@ -7395,7 +7398,8 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [{ + "funding": [ + { "type": "github", "url": "https://github.com/sponsors/feross" }, @@ -7642,10 +7646,12 @@ "version": "1.14.6", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.6.tgz", "integrity": "sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A==", - "funding": [{ - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - }], + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], "engines": { "node": ">=4.0" }, @@ -8483,7 +8489,8 @@ "version": "21.6.11", "resolved": "https://registry.npmjs.org/i18next/-/i18next-21.6.11.tgz", "integrity": "sha512-tJ2+o0lVO+fhi8bPkCpBAeY1SgkqmQm5NzgPWCQssBrywJw98/o+Kombhty5nxQOpHtvMmsxcOopczUiH6bJxQ==", - "funding": [{ + "funding": [ + { "type": "individual", "url": "https://locize.com" }, @@ -13510,7 +13517,8 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "funding": [{ + "funding": [ + { "type": "github", "url": "https://github.com/sponsors/feross" }, @@ -14292,7 +14300,8 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "funding": [{ + "funding": [ + { "type": "github", "url": "https://github.com/sponsors/feross" }, @@ -14823,7 +14832,8 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [{ + "funding": [ + { "type": "github", "url": "https://github.com/sponsors/feross" }, @@ -28817,4 +28827,4 @@ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" } } -} \ No newline at end of file +} diff --git a/src/components/grid/Cell.tsx b/src/components/grid/Cell.tsx index 0461527037..79231ef547 100644 --- a/src/components/grid/Cell.tsx +++ b/src/components/grid/Cell.tsx @@ -13,8 +13,8 @@ export const Cell = ({ value, status }: Props) => { 'bg-white border-slate-200': !status, 'border-black': value && !status, 'bg-slate-400 text-white border-slate-400': status === 'absent', - 'bg-green-500 text-white border-green-500': status === 'correct', - 'bg-yellow-500 text-white border-yellow-500': status === 'present', + 'bg-purple-500 text-white border-purple-500': status === 'correct', + 'bg-orange-500 text-white border-orange-500': status === 'present', 'cell-animation': !!value, } ) diff --git a/src/components/keyboard/Key.tsx b/src/components/keyboard/Key.tsx index 1a5cbd1362..ad55fe0723 100644 --- a/src/components/keyboard/Key.tsx +++ b/src/components/keyboard/Key.tsx @@ -23,9 +23,9 @@ export const Key = ({ { 'bg-slate-200 hover:bg-slate-300 active:bg-slate-400': !status, 'bg-slate-400 text-white': status === 'absent', - 'bg-green-500 hover:bg-green-600 active:bg-green-700 text-white': + 'bg-purple-500 hover:bg-purple-600 active:bg-purple-700 text-white': status === 'correct', - 'bg-yellow-500 hover:bg-yellow-600 active:bg-yellow-700 text-white': + 'bg-orange-500 hover:bg-orange-600 active:bg-orange-700 text-white': status === 'present', } ) diff --git a/src/components/mini-grid/MiniCell.tsx b/src/components/mini-grid/MiniCell.tsx index 4af0183ef3..ced6c914e9 100644 --- a/src/components/mini-grid/MiniCell.tsx +++ b/src/components/mini-grid/MiniCell.tsx @@ -11,8 +11,8 @@ export const MiniCell = ({ status, letter }: Props) => { 'w-10 h-10 border-solid border-2 border-slate-200 flex items-center justify-center mx-0.5 text-lg font-bold rounded', { 'bg-white': status === 'absent', - 'bg-green-500': status === 'correct', - 'bg-yellow-500': status === 'present', + 'bg-purple-500': status === 'correct', + 'bg-orange-500': status === 'present', } ) diff --git a/src/constants/config.ts b/src/constants/config.ts index f37eaec1bb..bd650f861e 100644 --- a/src/constants/config.ts +++ b/src/constants/config.ts @@ -1,5 +1,5 @@ export const CONFIG = { - tries: 6, // This changes how many tries you get to finish the game + tries: 7, // This changes how many tries you get to finish the game language: 'YourLanguageHere', // This changes the display name for your language wordLength: 5, // This sets how long each word is based on how many characters (as defined in orthography.ts) are in each word author: 'YourNameHere', // Put your name here so people know who made this game!