@abdalla-1/swisco
Version:
Swiscare Components Kit
75 lines (74 loc) • 1.91 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: !0 });
}, __copyProps = (to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function")
for (let key of __getOwnPropNames(from))
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
var typography_exports = {};
__export(typography_exports, {
fontSize: () => fontSize,
fontWeight: () => fontWeight,
letterSpacing: () => letterSpacing,
lineHeight: () => lineHeight
});
module.exports = __toCommonJS(typography_exports);
const fontWeight = {
/** 400 */
regular: "400",
/** 500 */
medium: "500",
/** 700 */
bold: "700",
/** 800 */
extrabold: "800"
}, lineHeight = {
/** 1 (100%) */
none: 1,
/** 1.25 (125%) */
tight: 1.25,
/** 1.3 (130%) */
snug: 1.3,
/** 1.4 (140%) */
compact: 1.4,
/** 1.5 (150%) */
regular: 1.5
}, fontSize = {
/** 10px */
micro: 10,
/** 12px */
tiny: 12,
/** 14px */
small: 14,
/** 16px */
regular: 16,
/** 18px */
large: 18,
/** 20px */
xlarge: 20,
/** 24px */
xxlarge: 24,
/** 32px */
xxxlarge: 32,
/** 40px */
xxxxlarge: 40
}, letterSpacing = {
/** -0.025 (-0.025em or -2.5%) */
tightest: -0.025,
/** -0.02 (-0.02em or -2%) */
tight: -0.02,
/** -0.005 (-0.005em or -0.5%) */
snug: -5e-3,
/** -0.0025 (-0.0025em or -0.25%) */
compact: -25e-4,
/** 0 (0em or 0%) */
normal: 0
};
//# sourceMappingURL=typography.js.map