Skip to content

Commit

Permalink
revisions to theme to clarify variable names and use correct color na…
Browse files Browse the repository at this point in the history
…mespace
  • Loading branch information
VanAnderson committed Feb 23, 2021
1 parent 2f2e984 commit 6ec5218
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/theme-preval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {lighten, rgba, desaturate} from 'polished'
import deepmerge from 'deepmerge'

const {lineHeight: lineHeights} = primitives.typography.normal
const {black, white, pink, gray, blue, green, orange, purple, red, yellow} = primitives.colors.light.auto
const {black, white, pink, gray, blue, green, orange, purple, red, yellow} = primitives.colors.light.scale
// General
export const colors = {
bodytext: gray[9],
Expand Down Expand Up @@ -349,10 +349,8 @@ const stateLabels = {
}
}

const primerPrimitivesColors = splitCompoundColor(primitives.colors.light)
const mergedColors = deepmerge(colors, primerPrimitivesColors)

console.log(primerPrimitivesColors)
const functionalColors = splitCompoundColor(primitives.colors.light)
const mergedColors = deepmerge(colors, functionalColors)

export const theme = {
// General
Expand Down

0 comments on commit 6ec5218

Please sign in to comment.