From b71dfe47c077eac0c307b3c3b0bfa9184389444a Mon Sep 17 00:00:00 2001 From: CrispyBaguette Date: Wed, 15 Dec 2021 20:07:30 +0100 Subject: [PATCH] Removed full grayscale palette --- client/src/Palette.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/client/src/Palette.ts b/client/src/Palette.ts index bd5aa49..d836ff4 100644 --- a/client/src/Palette.ts +++ b/client/src/Palette.ts @@ -51,14 +51,7 @@ const grayScale2bits = new Palette("Gray Scale 2 bits", [ "ffffff", ]); -let grayColors: string[] = []; -for (let i = 0; i < 256; i++) { - const hexValue = i.toString(16).padStart(2, "0"); - grayColors.push(`${hexValue}${hexValue}${hexValue}`); -} -const grayScale8bits = new Palette("Gray Scale 8 bits", grayColors); - -const palettes = [nord, monokai, grayScale1bit, grayScale2bits, grayScale8bits]; +const palettes = [nord, monokai, grayScale1bit, grayScale2bits]; export { palettes }; export default Palette;