Skip to content

Commit

Permalink
REVERT back the change to theme flipping the lightest to darkest etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Jun 24, 2020
1 parent 22e088e commit a18f7e1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/theming/src/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ const createColors = (vars: ThemeVars): Color => ({
ultraviolet: color.ultraviolet,

// Monochrome
lightest: vars.base === 'dark' ? color.darkest : color.lightest,
lighter: vars.base === 'dark' ? color.darker : color.lighter,
light: vars.base === 'dark' ? color.dark : color.light,
mediumlight: vars.base === 'dark' ? color.mediumdark : color.mediumlight,
lightest: color.lightest,
lighter: color.lighter,
light: color.light,
mediumlight: color.mediumlight,
medium: color.medium,
mediumdark: vars.base === 'dark' ? color.mediumlight : color.mediumdark,
dark: vars.base === 'dark' ? color.light : color.dark,
darker: vars.base === 'dark' ? color.lighter : color.darker,
darkest: vars.base === 'dark' ? color.lightest : color.darkest,
mediumdark: color.mediumdark,
dark: color.dark,
darker: color.darker,
darkest: color.darkest,

// For borders
border: color.border,
Expand Down

0 comments on commit a18f7e1

Please sign in to comment.