UNPKG

@braineet/ui

Version:

Braineet design system

58 lines (57 loc) 1.55 kB
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } import { fluid } from '../../utils'; /** * All variants Text style */ export default (function (overrides) { return _extends({ xl: { fontSize: fluid(20), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: fluid(30), letterSpacing: 'normal' }, lg: { fontSize: fluid(18), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: fluid(28), letterSpacing: 'normal' }, md: { fontSize: fluid(16), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: fluid(26), letterSpacing: 'normal' }, sm: { fontSize: fluid(14), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: fluid(20), letterSpacing: 'normal' }, xs: { fontSize: fluid(12), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: fluid(16), letterSpacing: 'normal' }, xxs: { fontSize: fluid(10), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: fluid(12), letterSpacing: 'normal' } }, overrides); });