UNPKG

@braineet/ui

Version:

Braineet design system

61 lines (60 loc) 1.79 kB
"use strict"; exports.__esModule = true; exports.default = void 0; var _utils = require("../../utils"); 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); } /** * All variants Text style */ var _default = exports.default = function _default(overrides) { return _extends({ xl: { fontSize: (0, _utils.fluid)(20), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: (0, _utils.fluid)(30), letterSpacing: 'normal' }, lg: { fontSize: (0, _utils.fluid)(18), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: (0, _utils.fluid)(28), letterSpacing: 'normal' }, md: { fontSize: (0, _utils.fluid)(16), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: (0, _utils.fluid)(26), letterSpacing: 'normal' }, sm: { fontSize: (0, _utils.fluid)(14), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: (0, _utils.fluid)(20), letterSpacing: 'normal' }, xs: { fontSize: (0, _utils.fluid)(12), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: (0, _utils.fluid)(16), letterSpacing: 'normal' }, xxs: { fontSize: (0, _utils.fluid)(10), fontWeight: 'normal', fontStyle: 'normal', fontStretch: 'normal', lineHeight: (0, _utils.fluid)(12), letterSpacing: 'normal' } }, overrides); };