latest color concept

This commit is contained in:
Ava Gaiety W 2025-09-19 20:38:51 -06:00
parent aef0a1c1ce
commit 215a3a18e4
2 changed files with 17 additions and 17 deletions

View file

@ -49,10 +49,10 @@ export const text = new Color('Text', {
h: hueLevels.cave, h: hueLevels.cave,
}) })
export const red = new Color('Red', { export const teal = new Color('Teal', {
l: lightnessLevels.window, l: lightnessLevels.window,
c: chromaLevels.colorSecondary, c: chromaLevels.colorPrimary,
h: absDegrees(hueLevels.orange - hueOffset), h: hueLevels.teal,
}) })
export const orange = new Color('Orange', { export const orange = new Color('Orange', {
@ -61,6 +61,12 @@ export const orange = new Color('Orange', {
h: hueLevels.orange, h: hueLevels.orange,
}) })
export const red = new Color('Red', {
l: lightnessLevels.window,
c: chromaLevels.colorSecondary,
h: absDegrees(hueLevels.orange - hueOffset),
})
export const yellow = new Color('Yellow', { export const yellow = new Color('Yellow', {
l: lightnessLevels.window, l: lightnessLevels.window,
c: chromaLevels.colorSecondary, c: chromaLevels.colorSecondary,
@ -73,12 +79,6 @@ export const green = new Color('Green', {
h: absDegrees(hueLevels.teal - hueOffset), h: absDegrees(hueLevels.teal - hueOffset),
}) })
export const teal = new Color('Teal', {
l: lightnessLevels.window,
c: chromaLevels.colorPrimary,
h: hueLevels.teal,
})
export const blue = new Color('Blue', { export const blue = new Color('Blue', {
l: lightnessLevels.window, l: lightnessLevels.window,
c: chromaLevels.colorSecondary, c: chromaLevels.colorSecondary,
@ -88,7 +88,7 @@ export const blue = new Color('Blue', {
export const purple = new Color('Purple', { export const purple = new Color('Purple', {
l: lightnessLevels.window, l: lightnessLevels.window,
c: chromaLevels.colorSecondary, c: chromaLevels.colorSecondary,
h: absDegrees(hueLevels.teal + (hueOffset * 3)), h: absDegrees(hueLevels.teal + (hueOffset * 5)),
}) })
export default [ export default [
@ -96,11 +96,11 @@ export default [
depths, depths,
stope, stope,
text, text,
red,
orange, orange,
teal,
red,
yellow, yellow,
green, green,
teal,
blue, blue,
purple, purple,
] ]

View file

@ -3,12 +3,12 @@ import { pit, depths, stope, text, teal, orange, purple, blue, green, yellow } f
const bg = chalk.bgHex(pit.toHex()).hex(text.toHex()) const bg = chalk.bgHex(pit.toHex()).hex(text.toHex())
const chalkDefinition = chalk.hex(teal.toHex()) const chalkDefinition = chalk.hex(teal.toHex())
const chalkVariable = chalk.hex(orange.toHex()) const chalkVariable = chalk.hex(blue.toHex())
const chalkAssignments = chalk.hex(purple.toHex()) const chalkAssignments = chalk.hex(green.toHex())
const chalkParenthesis = chalk.hex(stope.toHex()) const chalkParenthesis = chalk.hex(stope.toHex())
const chalkParameter = chalk.hex(yellow.toHex()) const chalkParameter = chalk.hex(orange.toHex())
const chalkType = chalk.hex(blue.toHex()) const chalkType = chalk.hex(yellow.toHex())
const chalkReturn = chalk.hex(green.toHex()) const chalkReturn = chalk.hex(purple.toHex())
const chalkComment = chalk.italic.hex(depths.toHex()) const chalkComment = chalk.italic.hex(depths.toHex())
export default () => { export default () => {