Skip to content

Commit

Permalink
Merge pull request #2056 from system-ui/lachlanjc-css-background
Browse files Browse the repository at this point in the history
css: Make background a theme-aware property
  • Loading branch information
hasparus committed Jan 3, 2022
2 parents 4b774d7 + b35cbed commit 4434984
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/css/src/index.ts
Expand Up @@ -111,10 +111,12 @@ export const multiples = {

export const scales = {
color: 'colors',
background: 'colors',
backgroundColor: 'colors',
borderColor: 'colors',
caretColor: 'colors',
columnRuleColor: 'colors',
outlineColor: 'colors',
textDecorationColor: 'colors',
opacity: 'opacities',
transition: 'transitions',
Expand Down Expand Up @@ -233,7 +235,6 @@ export const scales = {
borderStartEndRadius: 'radii',
borderStartStartRadius: 'radii',
columnRuleWidth: 'borderWidths',
outlineColor: 'colors',
boxShadow: 'shadows',
textShadow: 'shadows',
zIndex: 'zIndices',
Expand Down

0 comments on commit 4434984

Please sign in to comment.