UNPKG

@blend-ui/core

Version:

Blend core cmponents

82 lines (79 loc) 2.43 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _default = function _default() { var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var fontSizes = theme.fontSizes, fontWeights = theme.fontWeights, lineHeights = theme.lineHeights, letterSpacings = theme.letterSpacings, colors = theme.colors; return { h1: { fontSize: fontSizes["xl"], fontWeight: fontWeights["bold"], lineHeight: lineHeights["standard"], letterSpacing: letterSpacings["normal"], color: colors["textPrimary"] }, h2: { fontSize: fontSizes["lg"], fontWeight: fontWeights["bold"], lineHeight: lineHeights["standard"], letterSpacing: letterSpacings["normal"], color: colors["textPrimary"] }, h3: { fontSize: fontSizes["lg"], fontWeight: fontWeights["regular"], lineHeight: lineHeights["standard"], letterSpacing: letterSpacings["normal"], color: colors["textPrimary"] }, h4: { fontSize: fontSizes["md"], fontWeight: fontWeights["semiBold"], lineHeight: lineHeights["standard"], letterSpacing: letterSpacings["normal"], color: colors["textPrimary"] }, h5: { fontSize: fontSizes["md"], fontWeight: fontWeights["regular"], lineHeight: lineHeights["standard"], letterSpacing: letterSpacings["normal"], color: colors["textPrimary"] }, h6: { fontSize: fontSizes["sm"], fontWeight: fontWeights["bold"], lineHeight: lineHeights["standard"], letterSpacing: letterSpacings["normal"], color: colors["textPrimary"] }, body: { fontSize: fontSizes["sm"], fontWeight: fontWeights["regular"], lineHeight: lineHeights["standard"], letterSpacing: letterSpacings["normal"], color: colors["textPrimary"] }, lightBody: { fontSize: fontSizes["sm"], fontWeight: fontWeights["extraLight"], lineHeight: lineHeights["standard"], letterSpacing: letterSpacings["normal"], color: colors["textPrimary"] }, detail: { fontSize: fontSizes["xs"], fontWeight: fontWeights["medium"], lineHeight: lineHeights["standard"], letterSpacing: letterSpacings["normal"], color: colors["textPrimary"] } }; }; exports["default"] = _default;