Removed full grayscale palette

This commit is contained in:
CrispyBaguette 2021-12-15 20:07:30 +01:00
parent 12ef13fbe0
commit b71dfe47c0

View File

@ -51,14 +51,7 @@ const grayScale2bits = new Palette("Gray Scale 2 bits", [
"ffffff", "ffffff",
]); ]);
let grayColors: string[] = []; const palettes = [nord, monokai, grayScale1bit, grayScale2bits];
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];
export { palettes }; export { palettes };
export default Palette; export default Palette;