pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+37
@@ -0,0 +1,37 @@
|
||||
import style from './style';
|
||||
import compose from './compose';
|
||||
export const fontFamily = style({
|
||||
prop: 'fontFamily',
|
||||
themeKey: 'typography'
|
||||
});
|
||||
export const fontSize = style({
|
||||
prop: 'fontSize',
|
||||
themeKey: 'typography'
|
||||
});
|
||||
export const fontStyle = style({
|
||||
prop: 'fontStyle',
|
||||
themeKey: 'typography'
|
||||
});
|
||||
export const fontWeight = style({
|
||||
prop: 'fontWeight',
|
||||
themeKey: 'typography'
|
||||
});
|
||||
export const letterSpacing = style({
|
||||
prop: 'letterSpacing'
|
||||
});
|
||||
export const textTransform = style({
|
||||
prop: 'textTransform'
|
||||
});
|
||||
export const lineHeight = style({
|
||||
prop: 'lineHeight'
|
||||
});
|
||||
export const textAlign = style({
|
||||
prop: 'textAlign'
|
||||
});
|
||||
export const typographyVariant = style({
|
||||
prop: 'typography',
|
||||
cssProperty: false,
|
||||
themeKey: 'typography'
|
||||
});
|
||||
const typography = compose(typographyVariant, fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign, textTransform);
|
||||
export default typography;
|
||||
Reference in new issue
Block a user