Merge pull request #11 from CrispyBaguette/remove-grayscale-full
Removed full grayscale palette
This commit is contained in:
commit
7783fb6a48
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user