Skip to content

Commit

Permalink
feat: alias backgroundColor prop with bg
Browse files Browse the repository at this point in the history
Closes #89
  • Loading branch information
gregberge committed Feb 24, 2020
1 parent 693dc5d commit c23bfff
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 36 deletions.
3 changes: 2 additions & 1 deletion packages/system/src/styles/backgrounds.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export const background = style({
})

export const backgroundColor = style({
prop: 'backgroundColor',
prop: ['backgroundColor', 'bg'],
cssProperty: 'backgroundColor',
themeGet: getColor,
})

Expand Down
Loading

0 comments on commit c23bfff

Please sign in to comment.