@teamsparta/stack-font
Version:
stack font
177 lines (173 loc) • 3.74 kB
JavaScript
"use strict";
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: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__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: true }), mod);
// src/index.ts
var src_exports = {};
__export(src_exports, {
bodyB: () => bodyB,
bodyCompact: () => bodyCompact,
bodyLong: () => bodyLong,
bodyM: () => bodyM,
captionM: () => captionM,
captionSb: () => captionSb,
heroTitle: () => heroTitle,
largeTitle: () => largeTitle,
subTitle1: () => subTitle1,
subTitle2: () => subTitle2,
subTitle3: () => subTitle3,
tag1M: () => tag1M,
tag1Sb: () => tag1Sb,
tag2: () => tag2,
title1: () => title1,
title2: () => title2
});
module.exports = __toCommonJS(src_exports);
// src/font.ts
var fontPretendard = "Pretendard";
// src/font.style.ts
var heroTitle = {
fontFamily: fontPretendard,
fontSize: 40,
fontStyle: "normal",
fontWeight: 700,
lineHeight: "52px"
};
var largeTitle = {
fontFamily: fontPretendard,
fontSize: 32,
fontStyle: "normal",
fontWeight: 700,
lineHeight: "44px"
};
var title1 = {
fontFamily: fontPretendard,
fontSize: 28,
fontStyle: "normal",
fontWeight: 700,
lineHeight: "38px"
};
var title2 = {
fontFamily: fontPretendard,
fontSize: 22,
fontStyle: "normal",
fontWeight: 700,
lineHeight: "30px"
};
var subTitle1 = {
fontFamily: fontPretendard,
fontSize: 22,
fontStyle: "normal",
fontWeight: 700,
lineHeight: "30px"
};
var subTitle2 = {
fontFamily: fontPretendard,
fontSize: 18,
fontStyle: "normal",
fontWeight: 700,
lineHeight: "26px"
};
var subTitle3 = {
fontFamily: fontPretendard,
fontSize: 16,
fontStyle: "normal",
fontWeight: 700,
lineHeight: "24px"
};
var bodyB = {
fontFamily: fontPretendard,
fontSize: 15,
fontStyle: "normal",
fontWeight: 700,
lineHeight: "22px"
};
var bodyCompact = {
fontFamily: fontPretendard,
fontSize: 14,
fontStyle: "normal",
fontWeight: 500,
lineHeight: "22px"
};
var bodyM = {
fontFamily: fontPretendard,
fontSize: 15,
fontStyle: "normal",
fontWeight: 500,
lineHeight: "22px"
};
var bodyLong = {
fontFamily: fontPretendard,
fontSize: 15,
fontStyle: "normal",
fontWeight: 500,
lineHeight: "24px"
};
var captionSb = {
fontFamily: fontPretendard,
fontSize: 13,
fontStyle: "normal",
fontWeight: 600,
lineHeight: "20px"
};
var captionM = {
fontFamily: fontPretendard,
fontSize: 13,
fontStyle: "normal",
fontWeight: 500,
lineHeight: "20px"
};
var tag1Sb = {
fontFamily: fontPretendard,
fontSize: 12,
fontStyle: "normal",
fontWeight: 600,
lineHeight: "18px"
};
var tag1M = {
fontFamily: fontPretendard,
fontSize: 12,
fontStyle: "normal",
fontWeight: 500,
lineHeight: "18px"
};
var tag2 = {
fontFamily: fontPretendard,
fontSize: 11,
fontStyle: "normal",
fontWeight: 600,
lineHeight: "16px"
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
bodyB,
bodyCompact,
bodyLong,
bodyM,
captionM,
captionSb,
heroTitle,
largeTitle,
subTitle1,
subTitle2,
subTitle3,
tag1M,
tag1Sb,
tag2,
title1,
title2
});