Skip to content

Commit c23bfff

Browse files
committed
feat: alias backgroundColor prop with bg
Closes #89
1 parent 693dc5d commit c23bfff

File tree

3 files changed

+158
-36
lines changed

3 files changed

+158
-36
lines changed

packages/system/src/styles/backgrounds.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ export const background = style({
66
})
77

88
export const backgroundColor = style({
9-
prop: 'backgroundColor',
9+
prop: ['backgroundColor', 'bg'],
10+
cssProperty: 'backgroundColor',
1011
themeGet: getColor,
1112
})
1213

0 commit comments

Comments
 (0)