@teamsparta/stack-font
Version:
stack font
125 lines (114 loc) • 5.26 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/font.ts
var font_exports = {};
__export(font_exports, {
Pretendard: () => Pretendard,
fontPretendard: () => fontPretendard
});
module.exports = __toCommonJS(font_exports);
var fontPretendard = "Pretendard";
var Pretendard = `
-face {
font-display: swap;
font-family: 'Pretendard';
font-weight: 100;
font-style: normal;
src: local(Pretendard Thin), url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Thin.subset.woff2') format("woff2"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Thin.subset.woff') format("woff"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Thin.otf');
}
-face {
font-display: swap;
font-family: 'Pretendard';
font-weight: 200;
font-style: normal;
src: local(Pretendard ExtraLight), url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-ExtraLight.subset.woff2') format("woff2"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-ExtraLight.subset.woff') format("woff"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-ExtraLight.otf');
}
-face {
font-display: swap;
font-family: 'Pretendard';
font-weight: 300;
font-style: normal;
src: local(Pretendard Light), url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Light.subset.woff2') format("woff2"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Light.subset.woff') format("woff"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Light.otf');
}
-face {
font-display: swap;
font-family: 'Pretendard';
font-weight: 400;
font-style: normal;
src: local(Pretendard Regular), url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Regular.subset.woff2') format("woff2"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Regular.subset.woff') format("woff"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Regular.otf');
}
-face {
font-display: swap;
font-family: 'Pretendard';
font-weight: 500;
font-style: normal;
src: local(Pretendard Medium), url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Medium.subset.woff2') format("woff2"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Medium.subset.woff') format("woff"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Medium.otf');
}
-face {
font-display: swap;
font-family: 'Pretendard';
font-weight: 600;
font-style: normal;
src: local(Pretendard SemiBold), url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-SemiBold.subset.woff2') format("woff2"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-SemiBold.subset.woff') format("woff"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-SemiBold.otf');
}
-face {
font-display: swap;
font-family: 'Pretendard';
font-weight: 700;
font-style: normal;
src: local(Pretendard Bold), url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Bold.subset.woff2') format("woff2"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Bold.subset.woff') format("woff"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Bold.otf');
}
-face {
font-display: swap;
font-family: 'Pretendard';
font-weight: 800;
font-style: normal;
src: url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-ExtraBold.subset.woff2') format("woff2"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-ExtraBold.subset.woff') format("woff"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-ExtraBold.otf');
}
-face {
font-display: swap;
font-family: 'Pretendard';
font-weight: 900;
font-style: normal;
src: url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Black.subset.woff2') format("woff2"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Black.subset.woff') format("woff"),
url('https://static.spartacodingclub.kr/static/fonts/Pretendard/Pretendard-Black.otf');
}
`;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
Pretendard,
fontPretendard
});