GoScrobble/web/node_modules/@material-ui/system/es/typography.js

29 lines
714 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
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 lineHeight = style({
prop: 'lineHeight'
});
export const textAlign = style({
prop: 'textAlign'
});
const typography = compose(fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign);
export default typography;