List colors for reference palette in theme tool

This commit is contained in:
Nate Butler
2023-02-09 00:39:57 -05:00
parent 6f342bb2c6
commit f787f6054b
6 changed files with 124 additions and 45 deletions
+10
View File
@@ -11,6 +11,11 @@ const base = {
mid: chroma.lch(55, 0, 0),
dark: chroma.lch(10, 0, 0),
},
rose: {
light: chroma.lch(96, 5, 14),
mid: chroma.lch(56, 74, 21),
dark: chroma.lch(10, 24, 21),
},
red: {
light: chroma.lch(96, 4, 31),
mid: chroma.lch(55, 77, 31),
@@ -26,4 +31,9 @@ export const gray = chroma.scale([
base.gray.mid,
base.gray.dark,
]);
export const rose = chroma.scale([
base.rose.light,
base.rose.mid,
base.rose.dark,
]);
export const red = chroma.scale([base.red.light, base.red.mid, base.red.dark]);
+2 -1
View File
@@ -1,8 +1,9 @@
import { black, gray, red, white } from "./ref/color";
import { black, gray, rose, red, white } from "./ref/color";
export const color = {
white,
black,
gray,
rose,
red,
};