Merge pull request #19 from CrispyBaguette/fix-dracula

Fix Dracula palette
This commit is contained in:
CrispyBaguette 2022-04-18 08:44:21 +02:00 committed by GitHub
commit d0d60c8a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,21 +62,19 @@ const grayScale2bitsGamma = new Palette("Gray, 4 shades, gamma-corrected", [
"e0e0e0", "e0e0e0",
]); ]);
const darcula = new Palette("Darcula", [ // https://draculatheme.com
"000000", const dracula = new Palette("Dracula", [
"2B2B2B", "282a36",
"323232", "44475a",
"214283", "f8f8f2",
"555555", "6272a4",
"E74644", "8be9fd",
"379C1A", "50fa7b",
"5394ec", "ffb86c",
"299999", "ff79c6",
"808080", "bd93f9",
"AE8ABE", "ff5555",
"DCC457", "f1fa8c",
"A9B7C6",
"EEEEEE",
]); ]);
const palettes = [ const palettes = [
@ -85,7 +83,7 @@ const palettes = [
grayScale1bit, grayScale1bit,
grayScale2bits, grayScale2bits,
grayScale2bitsGamma, grayScale2bitsGamma,
darcula, dracula,
]; ];
palettes.sort((a, b) => a.label.localeCompare(b.label)); palettes.sort((a, b) => a.label.localeCompare(b.label));