Skip to content

Commit

Permalink
fix(theme): add missing resolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Mar 21, 2020
1 parent 06c435a commit b316434
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/glaze/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ export const defaultTheme: DefaultTheme = {
right: 'spacing',
bottom: 'spacing',
left: 'spacing',
zIndex: 'zIndex',

flexBasis: 'size',

Expand Down Expand Up @@ -187,11 +188,18 @@ export const defaultTheme: DefaultTheme = {
marginBottom: 'spacing',
marginLeft: 'spacing',

fontFamily: 'fontFamily',
fontSize: 'fontSize',
fontWeight: 'fontWeight',
lineHeight: 'lineHeight',
color: 'color',
textShadow: 'shadow',
letterSpacing: 'letterSpacing',

background: 'color',
backgroundColor: 'color',

border: 'border',
borderTop: 'border',
borderRight: 'border',
borderBottom: 'border',
Expand All @@ -203,6 +211,7 @@ export const defaultTheme: DefaultTheme = {
borderBottomColor: 'color',
borderLeftColor: 'color',

borderWidth: 'borderWidth',
borderTopWidth: 'borderWidth',
borderRightWidth: 'borderWidth',
borderBottomWidth: 'borderWidth',
Expand All @@ -215,7 +224,7 @@ export const defaultTheme: DefaultTheme = {
borderBottomLeftRadius: 'radius',

outlineColor: 'color',

boxShadow: 'shadow',
opacity: 'opacity',
},
};

0 comments on commit b316434

Please sign in to comment.