Page MenuHomec4science

typography.js
No OneTemporary

File Metadata

Created
Mon, Feb 24, 21:00

typography.js

import style from './style';
import compose from './compose';
export var fontFamily = style({
prop: 'fontFamily',
themeKey: 'typography'
});
export var fontSize = style({
prop: 'fontSize',
themeKey: 'typography'
});
export var fontStyle = style({
prop: 'fontStyle',
themeKey: 'typography'
});
export var fontWeight = style({
prop: 'fontWeight',
themeKey: 'typography'
});
export var letterSpacing = style({
prop: 'letterSpacing'
});
export var textTransform = style({
prop: 'textTransform'
});
export var lineHeight = style({
prop: 'lineHeight'
});
export var textAlign = style({
prop: 'textAlign'
});
export var typographyVariant = style({
prop: 'typography',
cssProperty: false,
themeKey: 'typography'
});
var typography = compose(typographyVariant, fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign, textTransform);
export default typography;

Event Timeline