latest color concept
This commit is contained in:
parent
aef0a1c1ce
commit
215a3a18e4
2 changed files with 17 additions and 17 deletions
|
@ -49,10 +49,10 @@ export const text = new Color('Text', {
|
|||
h: hueLevels.cave,
|
||||
})
|
||||
|
||||
export const red = new Color('Red', {
|
||||
export const teal = new Color('Teal', {
|
||||
l: lightnessLevels.window,
|
||||
c: chromaLevels.colorSecondary,
|
||||
h: absDegrees(hueLevels.orange - hueOffset),
|
||||
c: chromaLevels.colorPrimary,
|
||||
h: hueLevels.teal,
|
||||
})
|
||||
|
||||
export const orange = new Color('Orange', {
|
||||
|
@ -61,6 +61,12 @@ export const orange = new Color('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', {
|
||||
l: lightnessLevels.window,
|
||||
c: chromaLevels.colorSecondary,
|
||||
|
@ -73,12 +79,6 @@ export const green = new Color('Green', {
|
|||
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', {
|
||||
l: lightnessLevels.window,
|
||||
c: chromaLevels.colorSecondary,
|
||||
|
@ -88,7 +88,7 @@ export const blue = new Color('Blue', {
|
|||
export const purple = new Color('Purple', {
|
||||
l: lightnessLevels.window,
|
||||
c: chromaLevels.colorSecondary,
|
||||
h: absDegrees(hueLevels.teal + (hueOffset * 3)),
|
||||
h: absDegrees(hueLevels.teal + (hueOffset * 5)),
|
||||
})
|
||||
|
||||
export default [
|
||||
|
@ -96,11 +96,11 @@ export default [
|
|||
depths,
|
||||
stope,
|
||||
text,
|
||||
red,
|
||||
orange,
|
||||
teal,
|
||||
red,
|
||||
yellow,
|
||||
green,
|
||||
teal,
|
||||
blue,
|
||||
purple,
|
||||
]
|
||||
|
|
|
@ -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 chalkDefinition = chalk.hex(teal.toHex())
|
||||
const chalkVariable = chalk.hex(orange.toHex())
|
||||
const chalkAssignments = chalk.hex(purple.toHex())
|
||||
const chalkVariable = chalk.hex(blue.toHex())
|
||||
const chalkAssignments = chalk.hex(green.toHex())
|
||||
const chalkParenthesis = chalk.hex(stope.toHex())
|
||||
const chalkParameter = chalk.hex(yellow.toHex())
|
||||
const chalkType = chalk.hex(blue.toHex())
|
||||
const chalkReturn = chalk.hex(green.toHex())
|
||||
const chalkParameter = chalk.hex(orange.toHex())
|
||||
const chalkType = chalk.hex(yellow.toHex())
|
||||
const chalkReturn = chalk.hex(purple.toHex())
|
||||
const chalkComment = chalk.italic.hex(depths.toHex())
|
||||
|
||||
export default () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue