American spelling
This commit is contained in:
parent
0dc582bdd1
commit
f36fe1cf19
@ -39,30 +39,30 @@ const monokai = new Palette("Monokai", [
|
|||||||
"6c99bb",
|
"6c99bb",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const greyScale1bit = new Palette("Grey Scale 1 bit (Black & White)", [
|
const grayScale1bit = new Palette("Gray Scale 1 bit (Black & White)", [
|
||||||
"000000",
|
"000000",
|
||||||
"ffffff",
|
"ffffff",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const greyScale2bits = new Palette("Grey Scale 2 bits", [
|
const grayScale2bits = new Palette("Gray Scale 2 bits", [
|
||||||
"000000",
|
"000000",
|
||||||
"676767",
|
"676767",
|
||||||
"b6b6b6",
|
"b6b6b6",
|
||||||
"ffffff",
|
"ffffff",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
let greyColors: string[] = [];
|
let grayColors: string[] = [];
|
||||||
for (let i = 0; i < 256; i++) {
|
for (let i = 0; i < 256; i++) {
|
||||||
const hexValue = i.toString(16).padStart(2, "0");
|
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 = [
|
export const palettes = [
|
||||||
nord,
|
nord,
|
||||||
monokai,
|
monokai,
|
||||||
greyScale1bit,
|
grayScale1bit,
|
||||||
greyScale2bits,
|
grayScale2bits,
|
||||||
greyScale8bits,
|
grayScale8bits,
|
||||||
];
|
];
|
||||||
export default Palette;
|
export default Palette;
|
||||||
|
Loading…
Reference in New Issue
Block a user