From f36fe1cf19538e4cdad6d83e872d1ac4beccfddb Mon Sep 17 00:00:00 2001 From: CrispyBaguette Date: Mon, 13 Dec 2021 23:08:08 +0100 Subject: [PATCH] American spelling --- client/src/Palette.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/client/src/Palette.ts b/client/src/Palette.ts index cfab7a7..030b8f6 100644 --- a/client/src/Palette.ts +++ b/client/src/Palette.ts @@ -39,30 +39,30 @@ const monokai = new Palette("Monokai", [ "6c99bb", ]); -const greyScale1bit = new Palette("Grey Scale 1 bit (Black & White)", [ +const grayScale1bit = new Palette("Gray Scale 1 bit (Black & White)", [ "000000", "ffffff", ]); -const greyScale2bits = new Palette("Grey Scale 2 bits", [ +const grayScale2bits = new Palette("Gray Scale 2 bits", [ "000000", "676767", "b6b6b6", "ffffff", ]); -let greyColors: string[] = []; +let grayColors: string[] = []; for (let i = 0; i < 256; i++) { const hexValue = i.toString(16).padStart(2, "0"); - greyColors.push(`${hexValue}${hexValue}${hexValue}`); + grayColors.push(`${hexValue}${hexValue}${hexValue}`); } -const greyScale8bits = new Palette("Grey Scale 8 bits", greyColors); +const grayScale8bits = new Palette("Gray Scale 8 bits", grayColors); export const palettes = [ nord, monokai, - greyScale1bit, - greyScale2bits, - greyScale8bits, + grayScale1bit, + grayScale2bits, + grayScale8bits, ]; export default Palette;