@liner-fe/design-token 2.3.4 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/ThemeProvider.d.ts +2 -2
- package/lib/helpers/setDarkModeScript.d.ts +1 -2
- package/lib/index.css +1 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +293 -0
- package/lib/scripts/create-css/constants/PATH.d.ts +3 -0
- package/lib/scripts/create-css/constants/breakpoint/index.d.ts +9 -0
- package/lib/scripts/create-css/constants/color/index.d.ts +8 -0
- package/lib/scripts/create-css/constants/color/types.d.ts +132 -0
- package/lib/scripts/create-css/constants/gap/index.d.ts +16 -0
- package/lib/scripts/create-css/constants/icon/index.d.ts +7 -0
- package/lib/scripts/create-css/constants/index.d.ts +10 -0
- package/lib/scripts/create-css/constants/opacity/index.d.ts +21 -0
- package/lib/scripts/create-css/constants/padding/index.d.ts +23 -0
- package/lib/scripts/create-css/constants/primitiveRoot.d.ts +1 -0
- package/lib/scripts/create-css/constants/radius/index.d.ts +2 -0
- package/lib/scripts/create-css/constants/radius/type.d.ts +10 -0
- package/lib/scripts/create-css/constants/rootScheme.d.ts +4 -0
- package/lib/scripts/create-css/constants/shadow/index.d.ts +2 -0
- package/lib/scripts/create-css/constants/size/index.d.ts +2 -0
- package/lib/scripts/create-css/constants/size/type.d.ts +31 -0
- package/lib/scripts/create-css/constants/typography/types.d.ts +1 -0
- package/lib/scripts/create-css/index.d.ts +1 -0
- package/lib/scripts/create-css/utils/convertFontFamily.d.ts +2 -0
- package/lib/scripts/create-css/utils/convertObjectToCSSVariables.d.ts +1 -0
- package/lib/scripts/create-css/utils/createFile.d.ts +2 -0
- package/lib/scripts/create-css/utils/fileToString.d.ts +1 -0
- package/lib/scripts/create-css/utils/generateTokenMap.d.ts +1 -0
- package/lib/scripts/create-css/utils/hexToRGBA.d.ts +1 -0
- package/lib/scripts/create-css/utils/makeDir.d.ts +1 -0
- package/lib/scripts/create-css/utils/removeTokenPrefix.d.ts +1 -0
- package/lib/scripts/create-css/utils/replaceValuesWithKeys.d.ts +1 -0
- package/lib/style/index.d.ts +1 -0
- package/package.json +9 -9
- package/src/assets/Merriweather-Black.ttf +0 -0
- package/src/assets/Merriweather-Bold.ttf +0 -0
- package/src/assets/Merriweather-Light.ttf +0 -0
- package/src/assets/Merriweather-Regular.ttf +0 -0
- package/src/assets/PretendardJPVariable.woff2 +0 -0
- package/src/assets/PretendardVariable.woff2 +0 -0
- package/src/index.ts +3 -3
- package/src/scripts/create-css/constants/font/font.css +6 -14
- package/src/scripts/create-css/constants/index.ts +1 -0
- package/src/scripts/create-css/constants/rootScheme.ts +4 -20
- package/src/scripts/create-css/constants/typography/types.ts +7 -0
- package/src/scripts/create-css/index.ts +5 -14
- package/src/style/global.css +908 -0
- package/src/style/index.ts +1 -0
- package/global.css +0 -1160
- package/lib/components/Head.d.ts +0 -2
- package/lib/index.cjs +0 -642
- package/lib/index.cjs.map +0 -7
- package/lib/index.mjs +0 -611
- package/lib/index.mjs.map +0 -7
- package/src/components/Head.tsx +0 -36
- /package/{src/fonts/Merriweather-Black.ttf → lib/assets/Merriweather-Black-26IFHXBP.ttf} +0 -0
- /package/{src/fonts/Merriweather-Bold.ttf → lib/assets/Merriweather-Bold-OJOZX5RF.ttf} +0 -0
- /package/{src/fonts/Merriweather-Light.ttf → lib/assets/Merriweather-Light-CFMS753Z.ttf} +0 -0
- /package/{src/fonts/Merriweather-Regular.ttf → lib/assets/Merriweather-Regular-NACAIEN3.ttf} +0 -0
- /package/{src/fonts/PretendardJPVariable.woff2 → lib/assets/PretendardJPVariable-7Y3M4KVC.woff2} +0 -0
- /package/{src/fonts/PretendardVariable.woff2 → lib/assets/PretendardVariable-76CAZ7V7.woff2} +0 -0
package/lib/components/Head.d.ts
DELETED
package/lib/index.cjs
DELETED
|
@@ -1,642 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
9
|
-
var __export = (target, all) => {
|
|
10
|
-
for (var name in all)
|
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
-
};
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
-
for (let key of __getOwnPropNames(from))
|
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
-
mod
|
|
28
|
-
));
|
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
-
|
|
31
|
-
// src/index.ts
|
|
32
|
-
var src_exports = {};
|
|
33
|
-
__export(src_exports, {
|
|
34
|
-
DesignSystemHead: () => DesignSystemHead,
|
|
35
|
-
SetDarkModeScript: () => SetDarkModeScript,
|
|
36
|
-
ThemeProvider: () => ThemeProvider,
|
|
37
|
-
classNames: () => classNames,
|
|
38
|
-
getTypoStyle: () => getTypoStyle,
|
|
39
|
-
theme: () => theme,
|
|
40
|
-
useDarkTheme: () => useDarkTheme,
|
|
41
|
-
useLanguage: () => useLanguage,
|
|
42
|
-
vars: () => vars
|
|
43
|
-
});
|
|
44
|
-
module.exports = __toCommonJS(src_exports);
|
|
45
|
-
|
|
46
|
-
// src/hooks/useDarkTheme.ts
|
|
47
|
-
var import_recoil = require("recoil");
|
|
48
|
-
var theme = (0, import_recoil.atom)({
|
|
49
|
-
key: "dark-theme",
|
|
50
|
-
default: false
|
|
51
|
-
});
|
|
52
|
-
var useDarkTheme = /* @__PURE__ */ __name(() => {
|
|
53
|
-
const [isDarkMode, setIsDarkMode] = (0, import_recoil.useRecoilState)(theme);
|
|
54
|
-
const setDarkTheme = /* @__PURE__ */ __name(() => {
|
|
55
|
-
document.documentElement.setAttribute("color-theme", "dark");
|
|
56
|
-
localStorage.setItem("theme", "dark");
|
|
57
|
-
setIsDarkMode(true);
|
|
58
|
-
}, "setDarkTheme");
|
|
59
|
-
const setLightTheme = /* @__PURE__ */ __name(() => {
|
|
60
|
-
document.documentElement.setAttribute("color-theme", "light");
|
|
61
|
-
localStorage.setItem("theme", "light");
|
|
62
|
-
setIsDarkMode(false);
|
|
63
|
-
}, "setLightTheme");
|
|
64
|
-
const setPreferTheme = /* @__PURE__ */ __name(() => {
|
|
65
|
-
const isOsColorThemeDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
66
|
-
localStorage.removeItem("theme");
|
|
67
|
-
document.documentElement.setAttribute("color-theme", isOsColorThemeDark ? "dark" : "light");
|
|
68
|
-
setIsDarkMode(isOsColorThemeDark);
|
|
69
|
-
}, "setPreferTheme");
|
|
70
|
-
return {
|
|
71
|
-
setDarkTheme,
|
|
72
|
-
setLightTheme,
|
|
73
|
-
setPreferTheme,
|
|
74
|
-
isDarkMode
|
|
75
|
-
};
|
|
76
|
-
}, "useDarkTheme");
|
|
77
|
-
|
|
78
|
-
// src/hooks/useLanguage.ts
|
|
79
|
-
var useLanguage = /* @__PURE__ */ __name(() => {
|
|
80
|
-
}, "useLanguage");
|
|
81
|
-
|
|
82
|
-
// src/components/Head.tsx
|
|
83
|
-
var import_react = __toESM(require("react"));
|
|
84
|
-
var DesignSystemHead = /* @__PURE__ */ __name(() => {
|
|
85
|
-
return /* @__PURE__ */ import_react.default.createElement(Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
86
|
-
"link",
|
|
87
|
-
{
|
|
88
|
-
rel: "stylesheet",
|
|
89
|
-
as: "style",
|
|
90
|
-
crossOrigin: "anonymous",
|
|
91
|
-
href: "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-jp.min.css"
|
|
92
|
-
}
|
|
93
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
94
|
-
"link",
|
|
95
|
-
{
|
|
96
|
-
rel: "stylesheet",
|
|
97
|
-
as: "style",
|
|
98
|
-
crossOrigin: "anonymous",
|
|
99
|
-
href: "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
|
|
100
|
-
}
|
|
101
|
-
), /* @__PURE__ */ import_react.default.createElement("link", { rel: "preconnect", href: "https://fonts.googleapis.com" }), /* @__PURE__ */ import_react.default.createElement("link", { rel: "preconnect", href: "https://fonts.gstatic.com", crossOrigin: "anonymous" }), /* @__PURE__ */ import_react.default.createElement(
|
|
102
|
-
"link",
|
|
103
|
-
{
|
|
104
|
-
href: "https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap",
|
|
105
|
-
rel: "stylesheet"
|
|
106
|
-
}
|
|
107
|
-
), /* @__PURE__ */ import_react.default.createElement("link", { rel: "preconnect", href: "https://fonts.googleapis.com" }), /* @__PURE__ */ import_react.default.createElement("link", { rel: "preconnect", href: "https://fonts.gstatic.com", crossOrigin: "anonymous" }), /* @__PURE__ */ import_react.default.createElement(
|
|
108
|
-
"link",
|
|
109
|
-
{
|
|
110
|
-
href: "https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap",
|
|
111
|
-
rel: "stylesheet"
|
|
112
|
-
}
|
|
113
|
-
));
|
|
114
|
-
}, "DesignSystemHead");
|
|
115
|
-
|
|
116
|
-
// src/generated/vars.ts
|
|
117
|
-
var vars = { "color": { "neutral-container-lowest": "var(--neutral-container-lowest)", "neutral-container-lowest-hover": "var(--neutral-container-lowest-hover)", "neutral-container-low": "var(--neutral-container-low)", "neutral-container-low-hover": "var(--neutral-container-low-hover)", "neutral-container-mid": "var(--neutral-container-mid)", "neutral-container-mid-hover": "var(--neutral-container-mid-hover)", "neutral-container-high": "var(--neutral-container-high)", "neutral-container-high-hover": "var(--neutral-container-high-hover)", "neutral-container-highest": "var(--neutral-container-highest)", "neutral-container-static-lowest": "var(--neutral-container-static-lowest)", "neutral-container-static-lowest-hover": "var(--neutral-container-static-lowest-hover)", "neutral-fill-lowest": "var(--neutral-fill-lowest)", "neutral-fill-lowest-hover": "var(--neutral-fill-lowest-hover)", "neutral-fill-low": "var(--neutral-fill-low)", "neutral-fill-low-hover": "var(--neutral-fill-low-hover)", "neutral-fill-mid": "var(--neutral-fill-mid)", "neutral-fill-mid-hover": "var(--neutral-fill-mid-hover)", "neutral-fill-high": "var(--neutral-fill-high)", "neutral-fill-high-hover": "var(--neutral-fill-high-hover)", "neutral-fill-highest": "var(--neutral-fill-highest)", "neutral-label-primary": "var(--neutral-label-primary)", "neutral-label-secondary": "var(--neutral-label-secondary)", "neutral-label-tertiary": "var(--neutral-label-tertiary)", "neutral-label-quaternary": "var(--neutral-label-quaternary)", "neutral-label-static-primary": "var(--neutral-label-static-primary)", "neutral-label-static-secondary": "var(--neutral-label-static-secondary)", "neutral-border-overlay-strong": "var(--neutral-border-overlay-strong)", "neutral-border-overlay-normal": "var(--neutral-border-overlay-normal)", "neutral-border-overlay-subtle": "var(--neutral-border-overlay-subtle)", "neutral-border-opaque-strong": "var(--neutral-border-opaque-strong)", "neutral-border-opaque-normal": "var(--neutral-border-opaque-normal)", "neutral-border-opaque-subtle": "var(--neutral-border-opaque-subtle)", "inverse-container-lowest": "var(--inverse-container-lowest)", "inverse-container-lowest-hover": "var(--inverse-container-lowest-hover)", "inverse-container-low": "var(--inverse-container-low)", "inverse-container-low-hover": "var(--inverse-container-low-hover)", "inverse-container-mid": "var(--inverse-container-mid)", "inverse-container-mid-hover": "var(--inverse-container-mid-hover)", "inverse-container-high": "var(--inverse-container-high)", "inverse-container-high-hover": "var(--inverse-container-high-hover)", "inverse-container-static-high": "var(--inverse-container-static-high)", "inverse-container-static-high-hover": "var(--inverse-container-static-high-hover)", "inverse-container-highest": "var(--inverse-container-highest)", "inverse-fill-mid": "var(--inverse-fill-mid)", "inverse-fill-mid-hover": "var(--inverse-fill-mid-hover)", "inverse-label-primary": "var(--inverse-label-primary)", "inverse-label-secondary": "var(--inverse-label-secondary)", "inverse-label-tertiary": "var(--inverse-label-tertiary)", "inverse-label-quaternary": "var(--inverse-label-quaternary)", "inverse-label-static-primary": "var(--inverse-label-static-primary)", "inverse-label-static-secondary": "var(--inverse-label-static-secondary)", "inverse-border-overlay-strong": "var(--inverse-border-overlay-strong)", "inverse-border-overlay-normal": "var(--inverse-border-overlay-normal)", "inverse-border-overlay-subtle": "var(--inverse-border-overlay-subtle)", "inverse-border-opaque-strong": "var(--inverse-border-opaque-strong)", "inverse-border-opaque-normal": "var(--inverse-border-opaque-normal)", "inverse-border-opaque-subtle": "var(--inverse-border-opaque-subtle)", "brand-container-mid": "var(--brand-container-mid)", "brand-container-mid-hover": "var(--brand-container-mid-hover)", "brand-container-high": "var(--brand-container-high)", "brand-label-primary": "var(--brand-label-primary)", "brand-label-secondary": "var(--brand-label-secondary)", "brand-border-opaque-normal": "var(--brand-border-opaque-normal)", "brand-border-overlay-normal": "var(--brand-border-overlay-normal)", "accent-yellow": "var(--accent-yellow)", "accent-mint": "var(--accent-mint)", "accent-cyan": "var(--accent-cyan)", "accent-purple": "var(--accent-purple)", "accent-pink": "var(--accent-pink)", "function-container-positive": "var(--function-container-positive)", "function-container-negative": "var(--function-container-negative)", "function-container-negative-hover": "var(--function-container-negative-hover)", "function-container-caution": "var(--function-container-caution)", "function-container-highlight": "var(--function-container-highlight)", "function-container-selection": "var(--function-container-selection)", "function-label-positive": "var(--function-label-positive)", "function-label-negative": "var(--function-label-negative)", "function-label-caution": "var(--function-label-caution)", "cover-dim-page": "var(--cover-dim-page)" }, "radius": { "xxs": "var(--lp-sys-radius-xxs)", "xs": "var(--lp-sys-radius-xs)", "s": "var(--lp-sys-radius-s)", "m": "var(--lp-sys-radius-m)", "l": "var(--lp-sys-radius-l)", "xl": "var(--lp-sys-radius-xl)", "xxl": "var(--lp-sys-radius-xxl)" }, "opacity": { "0": "var(--lp-pri-opacity-0)", "1": "var(--lp-pri-opacity-1)", "4": "var(--lp-pri-opacity-4)", "8": "var(--lp-pri-opacity-8)", "12": "var(--lp-pri-opacity-12)", "16": "var(--lp-pri-opacity-16)", "20": "var(--lp-pri-opacity-20)", "24": "var(--lp-pri-opacity-24)", "28": "var(--lp-pri-opacity-28)", "32": "var(--lp-pri-opacity-32)", "36": "var(--lp-pri-opacity-36)", "40": "var(--lp-pri-opacity-40)", "44": "var(--lp-pri-opacity-44)", "48": "var(--lp-pri-opacity-48)", "50": "var(--lp-pri-opacity-50)", "56": "var(--lp-pri-opacity-56)", "64": "var(--lp-pri-opacity-64)", "72": "var(--lp-pri-opacity-72)", "80": "var(--lp-pri-opacity-80)" }, "padding": { "component-50": "var(--lp-sys-padding-component-50)", "component-100": "var(--lp-sys-padding-component-100)", "component-150": "var(--lp-sys-padding-component-150)", "component-200": "var(--lp-sys-padding-component-200)", "component-300": "var(--lp-sys-padding-component-300)", "component-400": "var(--lp-sys-padding-component-400)", "component-500": "var(--lp-sys-padding-component-500)", "component-600": "var(--lp-sys-padding-component-600)", "component-700": "var(--lp-sys-padding-component-700)", "component-800": "var(--lp-sys-padding-component-800)", "component-900": "var(--lp-sys-padding-component-900)", "section-50": "var(--lp-sys-padding-section-50)", "section-100": "var(--lp-sys-padding-section-100)", "section-200": "var(--lp-sys-padding-section-200)", "section-300": "var(--lp-sys-padding-section-300)", "section-400": "var(--lp-sys-padding-section-400)", "section-500": "var(--lp-sys-padding-section-500)", "section-600": "var(--lp-sys-padding-section-600)", "section-700": "var(--lp-sys-padding-section-700)", "section-800": "var(--lp-sys-padding-section-800)", "section-900": "var(--lp-sys-padding-section-900)" }, "size": { "0": "var(--lp-pri-size-0)", "1": "var(--lp-pri-size-1)", "2": "var(--lp-pri-size-2)", "3": "var(--lp-pri-size-3)", "4": "var(--lp-pri-size-4)", "6": "var(--lp-pri-size-6)", "8": "var(--lp-pri-size-8)", "10": "var(--lp-pri-size-10)", "12": "var(--lp-pri-size-12)", "14": "var(--lp-pri-size-14)", "16": "var(--lp-pri-size-16)", "18": "var(--lp-pri-size-18)", "20": "var(--lp-pri-size-20)", "24": "var(--lp-pri-size-24)", "32": "var(--lp-pri-size-32)", "40": "var(--lp-pri-size-40)", "48": "var(--lp-pri-size-48)", "56": "var(--lp-pri-size-56)", "64": "var(--lp-pri-size-64)", "80": "var(--lp-pri-size-80)", "100": "var(--lp-pri-size-100)", "120": "var(--lp-pri-size-120)", "140": "var(--lp-pri-size-140)", "160": "var(--lp-pri-size-160)", "180": "var(--lp-pri-size-180)", "200": "var(--lp-pri-size-200)", "minus6": "var(--lp-pri-size-minus6)", "minus4": "var(--lp-pri-size-minus4)", "minus2": "var(--lp-pri-size-minus2)" }, "gap": { "positive-50": "var(--lp-sys-gap-positive-50)", "positive-100": "var(--lp-sys-gap-positive-100)", "positive-150": "var(--lp-sys-gap-positive-150)", "positive-200": "var(--lp-sys-gap-positive-200)", "positive-300": "var(--lp-sys-gap-positive-300)", "positive-400": "var(--lp-sys-gap-positive-400)", "positive-500": "var(--lp-sys-gap-positive-500)", "positive-600": "var(--lp-sys-gap-positive-600)", "positive-700": "var(--lp-sys-gap-positive-700)", "positive-800": "var(--lp-sys-gap-positive-800)", "positive-900": "var(--lp-sys-gap-positive-900)", "negative-700": "var(--lp-sys-gap-negative-700)", "negative-800": "var(--lp-sys-gap-negative-800)", "negative-900": "var(--lp-sys-gap-negative-900)" }, "shadow": { "normal": "var(--lp-sys-shadow-normal)", "strong": "var(--lp-sys-shadow-strong)", "heavy": "var(--lp-sys-shadow-heavy)" }, "iconSize": { "xs": "var(--lp-sys-icon-size-xs)", "s": "var(--lp-sys-icon-size-s)", "m": "var(--lp-sys-icon-size-m)", "l": "var(--lp-sys-icon-size-l)", "xl": "var(--lp-sys-icon-size-xl)" }, "breakpoint": { "xs": "var(--lp-pri-breakpoint-xs)", "s": "var(--lp-pri-breakpoint-s)", "m": "var(--lp-pri-breakpoint-m)", "l": "var(--lp-pri-breakpoint-l)", "xl": "var(--lp-pri-breakpoint-xl)", "xxl": "var(--lp-pri-breakpoint-xxl)", "xxxl": "var(--lp-pri-breakpoint-xxxl)" } };
|
|
118
|
-
|
|
119
|
-
// src/generated/classNames.ts
|
|
120
|
-
var classNames = { "typography": { "lp-sys-typo-display2-accent-black": "lp-sys-typo-display2-accent-black", "lp-sys-typo-display3-accent-black": "lp-sys-typo-display3-accent-black", "lp-sys-typo-display2-normal-black": "lp-sys-typo-display2-normal-black", "lp-sys-typo-display3-normal-black": "lp-sys-typo-display3-normal-black", "lp-sys-typo-heading1-answer": "lp-sys-typo-heading1-answer", "lp-sys-typo-heading2-answer": "lp-sys-typo-heading2-answer", "lp-sys-typo-heading3-answer": "lp-sys-typo-heading3-answer", "lp-sys-typo-heading4-answer": "lp-sys-typo-heading4-answer", "lp-sys-typo-heading5-answer": "lp-sys-typo-heading5-answer", "lp-sys-typo-heading6-answer": "lp-sys-typo-heading6-answer", "lp-sys-typo-title1-accent-bold": "lp-sys-typo-title1-accent-bold", "lp-sys-typo-title2-accent-bold": "lp-sys-typo-title2-accent-bold", "lp-sys-typo-title3-accent-bold": "lp-sys-typo-title3-accent-bold", "lp-sys-typo-title4-accent-bold": "lp-sys-typo-title4-accent-bold", "lp-sys-typo-title1-accent-medium": "lp-sys-typo-title1-accent-medium", "lp-sys-typo-title2-accent-medium": "lp-sys-typo-title2-accent-medium", "lp-sys-typo-title3-accent-medium": "lp-sys-typo-title3-accent-medium", "lp-sys-typo-title4-accent-medium": "lp-sys-typo-title4-accent-medium", "lp-sys-typo-title1-normal-bold": "lp-sys-typo-title1-normal-bold", "lp-sys-typo-title2-normal-bold": "lp-sys-typo-title2-normal-bold", "lp-sys-typo-title3-normal-bold": "lp-sys-typo-title3-normal-bold", "lp-sys-typo-title4-normal-bold": "lp-sys-typo-title4-normal-bold", "lp-sys-typo-title1-normal-medium": "lp-sys-typo-title1-normal-medium", "lp-sys-typo-title2-normal-medium": "lp-sys-typo-title2-normal-medium", "lp-sys-typo-title3-normal-medium": "lp-sys-typo-title3-normal-medium", "lp-sys-typo-title4-normal-medium": "lp-sys-typo-title4-normal-medium", "lp-sys-typo-paragraph1-accent-bold": "lp-sys-typo-paragraph1-accent-bold", "lp-sys-typo-paragraph2-accent-bold": "lp-sys-typo-paragraph2-accent-bold", "lp-sys-typo-paragraph3-accent-bold": "lp-sys-typo-paragraph3-accent-bold", "lp-sys-typo-paragraph1-accent-medium": "lp-sys-typo-paragraph1-accent-medium", "lp-sys-typo-paragraph2-accent-medium": "lp-sys-typo-paragraph2-accent-medium", "lp-sys-typo-paragraph3-accent-medium": "lp-sys-typo-paragraph3-accent-medium", "lp-sys-typo-paragraph1-accent-regular": "lp-sys-typo-paragraph1-accent-regular", "lp-sys-typo-paragraph2-accent-regular": "lp-sys-typo-paragraph2-accent-regular", "lp-sys-typo-paragraph3-accent-regular": "lp-sys-typo-paragraph3-accent-regular", "lp-sys-typo-paragraph1-normal-bold": "lp-sys-typo-paragraph1-normal-bold", "lp-sys-typo-paragraph2-normal-bold": "lp-sys-typo-paragraph2-normal-bold", "lp-sys-typo-paragraph3-normal-bold": "lp-sys-typo-paragraph3-normal-bold", "lp-sys-typo-paragraph4-normal-bold": "lp-sys-typo-paragraph4-normal-bold", "lp-sys-typo-paragraph1-normal-medium": "lp-sys-typo-paragraph1-normal-medium", "lp-sys-typo-paragraph2-normal-medium": "lp-sys-typo-paragraph2-normal-medium", "lp-sys-typo-paragraph3-normal-medium": "lp-sys-typo-paragraph3-normal-medium", "lp-sys-typo-paragraph4-normal-medium": "lp-sys-typo-paragraph4-normal-medium", "lp-sys-typo-paragraph1-normal-regular": "lp-sys-typo-paragraph1-normal-regular", "lp-sys-typo-paragraph2-normal-regular": "lp-sys-typo-paragraph2-normal-regular", "lp-sys-typo-paragraph3-normal-regular": "lp-sys-typo-paragraph3-normal-regular", "lp-sys-typo-paragraph4-normal-regular": "lp-sys-typo-paragraph4-normal-regular", "lp-sys-typo-paragraph1-post-regular": "lp-sys-typo-paragraph1-post-regular", "lp-sys-typo-paragraph3-post-regular": "lp-sys-typo-paragraph3-post-regular", "lp-sys-typo-paragraph1-answer-bold": "lp-sys-typo-paragraph1-answer-bold", "lp-sys-typo-paragraph1-answer-regular": "lp-sys-typo-paragraph1-answer-regular", "lp-sys-typo-caption1-normal-bold": "lp-sys-typo-caption1-normal-bold", "lp-sys-typo-caption2-normal-bold": "lp-sys-typo-caption2-normal-bold", "lp-sys-typo-caption3-normal-bold": "lp-sys-typo-caption3-normal-bold", "lp-sys-typo-caption1-normal-medium": "lp-sys-typo-caption1-normal-medium", "lp-sys-typo-caption2-normal-medium": "lp-sys-typo-caption2-normal-medium", "lp-sys-typo-caption3-normal-medium": "lp-sys-typo-caption3-normal-medium", "lp-sys-typo-caption1-normal-regular": "lp-sys-typo-caption1-normal-regular", "lp-sys-typo-caption2-normal-regular": "lp-sys-typo-caption2-normal-regular", "lp-sys-typo-caption3-normal-regular": "lp-sys-typo-caption3-normal-regular" } };
|
|
121
|
-
|
|
122
|
-
// src/scripts/create-css/constants/typography/index.ts
|
|
123
|
-
var typography = {
|
|
124
|
-
"lp-sys-typo-display2-accent-black": {
|
|
125
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
126
|
-
weight: "lp-pri-font-weight-800",
|
|
127
|
-
lineHeight: "lp-pri-font-lineheight-120",
|
|
128
|
-
size: "lp-pri-font-size-64"
|
|
129
|
-
},
|
|
130
|
-
"lp-sys-typo-display3-accent-black": {
|
|
131
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
132
|
-
weight: "lp-pri-font-weight-800",
|
|
133
|
-
lineHeight: "lp-pri-font-lineheight-120",
|
|
134
|
-
size: "lp-pri-font-size-40"
|
|
135
|
-
},
|
|
136
|
-
"lp-sys-typo-display2-normal-black": {
|
|
137
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
138
|
-
weight: "lp-pri-font-weight-800",
|
|
139
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
140
|
-
size: "lp-pri-font-size-56"
|
|
141
|
-
},
|
|
142
|
-
"lp-sys-typo-display3-normal-black": {
|
|
143
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
144
|
-
weight: "lp-pri-font-weight-800",
|
|
145
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
146
|
-
size: "lp-pri-font-size-40"
|
|
147
|
-
},
|
|
148
|
-
"lp-sys-typo-heading1-answer": {
|
|
149
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
150
|
-
weight: "lp-pri-font-weight-700",
|
|
151
|
-
lineHeight: "lp-pri-font-lineheight-180",
|
|
152
|
-
size: "lp-pri-font-size-28"
|
|
153
|
-
},
|
|
154
|
-
"lp-sys-typo-heading2-answer": {
|
|
155
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
156
|
-
weight: "lp-pri-font-weight-700",
|
|
157
|
-
lineHeight: "lp-pri-font-lineheight-180",
|
|
158
|
-
size: "lp-pri-font-size-24"
|
|
159
|
-
},
|
|
160
|
-
"lp-sys-typo-heading3-answer": {
|
|
161
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
162
|
-
weight: "lp-pri-font-weight-700",
|
|
163
|
-
lineHeight: "lp-pri-font-lineheight-180",
|
|
164
|
-
size: "lp-pri-font-size-20"
|
|
165
|
-
},
|
|
166
|
-
"lp-sys-typo-heading4-answer": {
|
|
167
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
168
|
-
weight: "lp-pri-font-weight-700",
|
|
169
|
-
lineHeight: "lp-pri-font-lineheight-180",
|
|
170
|
-
size: "lp-pri-font-size-17"
|
|
171
|
-
},
|
|
172
|
-
"lp-sys-typo-heading5-answer": {
|
|
173
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
174
|
-
weight: "lp-pri-font-weight-700",
|
|
175
|
-
lineHeight: "lp-pri-font-lineheight-180",
|
|
176
|
-
size: "lp-pri-font-size-17"
|
|
177
|
-
},
|
|
178
|
-
"lp-sys-typo-heading6-answer": {
|
|
179
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
180
|
-
weight: "lp-pri-font-weight-700",
|
|
181
|
-
lineHeight: "lp-pri-font-lineheight-180",
|
|
182
|
-
size: "lp-pri-font-size-17"
|
|
183
|
-
},
|
|
184
|
-
"lp-sys-typo-title1-accent-bold": {
|
|
185
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
186
|
-
weight: "lp-pri-font-weight-700",
|
|
187
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
188
|
-
size: "lp-pri-font-size-32"
|
|
189
|
-
},
|
|
190
|
-
"lp-sys-typo-title2-accent-bold": {
|
|
191
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
192
|
-
weight: "lp-pri-font-weight-700",
|
|
193
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
194
|
-
size: "lp-pri-font-size-28"
|
|
195
|
-
},
|
|
196
|
-
"lp-sys-typo-title3-accent-bold": {
|
|
197
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
198
|
-
weight: "lp-pri-font-weight-700",
|
|
199
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
200
|
-
size: "lp-pri-font-size-24"
|
|
201
|
-
},
|
|
202
|
-
"lp-sys-typo-title4-accent-bold": {
|
|
203
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
204
|
-
weight: "lp-pri-font-weight-700",
|
|
205
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
206
|
-
size: "lp-pri-font-size-20"
|
|
207
|
-
},
|
|
208
|
-
"lp-sys-typo-title1-accent-medium": {
|
|
209
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
210
|
-
weight: "lp-pri-font-weight-500",
|
|
211
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
212
|
-
size: "lp-pri-font-size-32"
|
|
213
|
-
},
|
|
214
|
-
"lp-sys-typo-title2-accent-medium": {
|
|
215
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
216
|
-
weight: "lp-pri-font-weight-500",
|
|
217
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
218
|
-
size: "lp-pri-font-size-28"
|
|
219
|
-
},
|
|
220
|
-
"lp-sys-typo-title3-accent-medium": {
|
|
221
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
222
|
-
weight: "lp-pri-font-weight-500",
|
|
223
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
224
|
-
size: "lp-pri-font-size-24"
|
|
225
|
-
},
|
|
226
|
-
"lp-sys-typo-title4-accent-medium": {
|
|
227
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
228
|
-
weight: "lp-pri-font-weight-500",
|
|
229
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
230
|
-
size: "lp-pri-font-size-20"
|
|
231
|
-
},
|
|
232
|
-
"lp-sys-typo-title1-normal-bold": {
|
|
233
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
234
|
-
weight: "lp-pri-font-weight-700",
|
|
235
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
236
|
-
size: "lp-pri-font-size-32"
|
|
237
|
-
},
|
|
238
|
-
"lp-sys-typo-title2-normal-bold": {
|
|
239
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
240
|
-
weight: "lp-pri-font-weight-700",
|
|
241
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
242
|
-
size: "lp-pri-font-size-28"
|
|
243
|
-
},
|
|
244
|
-
"lp-sys-typo-title3-normal-bold": {
|
|
245
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
246
|
-
weight: "lp-pri-font-weight-700",
|
|
247
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
248
|
-
size: "lp-pri-font-size-24"
|
|
249
|
-
},
|
|
250
|
-
"lp-sys-typo-title4-normal-bold": {
|
|
251
|
-
weight: "lp-pri-font-weight-700",
|
|
252
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
253
|
-
size: "lp-pri-font-size-20",
|
|
254
|
-
family: "lp-pri-font-family-variables-pretendard"
|
|
255
|
-
},
|
|
256
|
-
"lp-sys-typo-title1-normal-medium": {
|
|
257
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
258
|
-
weight: "lp-pri-font-weight-500",
|
|
259
|
-
size: "lp-pri-font-size-32",
|
|
260
|
-
lineHeight: "lp-pri-font-lineheight-130"
|
|
261
|
-
},
|
|
262
|
-
"lp-sys-typo-title2-normal-medium": {
|
|
263
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
264
|
-
weight: "lp-pri-font-weight-500",
|
|
265
|
-
size: "lp-pri-font-size-28",
|
|
266
|
-
lineHeight: "lp-pri-font-lineheight-130"
|
|
267
|
-
},
|
|
268
|
-
"lp-sys-typo-title3-normal-medium": {
|
|
269
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
270
|
-
weight: "lp-pri-font-weight-500",
|
|
271
|
-
size: "lp-pri-font-size-24",
|
|
272
|
-
lineHeight: "lp-pri-font-lineheight-130"
|
|
273
|
-
},
|
|
274
|
-
"lp-sys-typo-title4-normal-medium": {
|
|
275
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
276
|
-
weight: "lp-pri-font-weight-500",
|
|
277
|
-
size: "lp-pri-font-size-20",
|
|
278
|
-
lineHeight: "lp-pri-font-lineheight-130"
|
|
279
|
-
},
|
|
280
|
-
"lp-sys-typo-paragraph1-accent-bold": {
|
|
281
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
282
|
-
weight: "lp-pri-font-weight-700",
|
|
283
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
284
|
-
size: "lp-pri-font-size-17"
|
|
285
|
-
},
|
|
286
|
-
"lp-sys-typo-paragraph2-accent-bold": {
|
|
287
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
288
|
-
weight: "lp-pri-font-weight-700",
|
|
289
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
290
|
-
size: "lp-pri-font-size-16"
|
|
291
|
-
},
|
|
292
|
-
"lp-sys-typo-paragraph3-accent-bold": {
|
|
293
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
294
|
-
weight: "lp-pri-font-weight-700",
|
|
295
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
296
|
-
size: "lp-pri-font-size-15"
|
|
297
|
-
},
|
|
298
|
-
"lp-sys-typo-paragraph1-accent-medium": {
|
|
299
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
300
|
-
weight: "lp-pri-font-weight-500",
|
|
301
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
302
|
-
size: "lp-pri-font-size-17"
|
|
303
|
-
},
|
|
304
|
-
"lp-sys-typo-paragraph2-accent-medium": {
|
|
305
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
306
|
-
weight: "lp-pri-font-weight-500",
|
|
307
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
308
|
-
size: "lp-pri-font-size-16"
|
|
309
|
-
},
|
|
310
|
-
"lp-sys-typo-paragraph3-accent-medium": {
|
|
311
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
312
|
-
weight: "lp-pri-font-weight-500",
|
|
313
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
314
|
-
size: "lp-pri-font-size-15"
|
|
315
|
-
},
|
|
316
|
-
"lp-sys-typo-paragraph1-accent-regular": {
|
|
317
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
318
|
-
weight: "lp-pri-font-weight-350",
|
|
319
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
320
|
-
size: "lp-pri-font-size-17"
|
|
321
|
-
},
|
|
322
|
-
"lp-sys-typo-paragraph2-accent-regular": {
|
|
323
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
324
|
-
weight: "lp-pri-font-weight-350",
|
|
325
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
326
|
-
size: "lp-pri-font-size-16"
|
|
327
|
-
},
|
|
328
|
-
"lp-sys-typo-paragraph3-accent-regular": {
|
|
329
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
330
|
-
weight: "lp-pri-font-weight-350",
|
|
331
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
332
|
-
size: "lp-pri-font-size-15"
|
|
333
|
-
},
|
|
334
|
-
"lp-sys-typo-paragraph1-normal-bold": {
|
|
335
|
-
weight: "lp-pri-font-weight-700",
|
|
336
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
337
|
-
size: "lp-pri-font-size-17",
|
|
338
|
-
family: "lp-pri-font-family-variables-pretendard"
|
|
339
|
-
},
|
|
340
|
-
"lp-sys-typo-paragraph2-normal-bold": {
|
|
341
|
-
weight: "lp-pri-font-weight-700",
|
|
342
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
343
|
-
size: "lp-pri-font-size-16",
|
|
344
|
-
family: "lp-pri-font-family-variables-pretendard"
|
|
345
|
-
},
|
|
346
|
-
"lp-sys-typo-paragraph3-normal-bold": {
|
|
347
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
348
|
-
weight: "lp-pri-font-weight-700",
|
|
349
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
350
|
-
size: "lp-pri-font-size-15"
|
|
351
|
-
},
|
|
352
|
-
"lp-sys-typo-paragraph4-normal-bold": {
|
|
353
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
354
|
-
weight: "lp-pri-font-weight-700",
|
|
355
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
356
|
-
size: "lp-pri-font-size-14"
|
|
357
|
-
},
|
|
358
|
-
"lp-sys-typo-paragraph1-normal-medium": {
|
|
359
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
360
|
-
weight: "lp-pri-font-weight-500",
|
|
361
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
362
|
-
size: "lp-pri-font-size-17"
|
|
363
|
-
},
|
|
364
|
-
"lp-sys-typo-paragraph2-normal-medium": {
|
|
365
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
366
|
-
weight: "lp-pri-font-weight-500",
|
|
367
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
368
|
-
size: "lp-pri-font-size-16"
|
|
369
|
-
},
|
|
370
|
-
"lp-sys-typo-paragraph3-normal-medium": {
|
|
371
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
372
|
-
weight: "lp-pri-font-weight-500",
|
|
373
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
374
|
-
size: "lp-pri-font-size-15"
|
|
375
|
-
},
|
|
376
|
-
"lp-sys-typo-paragraph4-normal-medium": {
|
|
377
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
378
|
-
weight: "lp-pri-font-weight-500",
|
|
379
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
380
|
-
size: "lp-pri-font-size-14"
|
|
381
|
-
},
|
|
382
|
-
"lp-sys-typo-paragraph1-normal-regular": {
|
|
383
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
384
|
-
weight: "lp-pri-font-weight-350",
|
|
385
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
386
|
-
size: "lp-pri-font-size-17"
|
|
387
|
-
},
|
|
388
|
-
"lp-sys-typo-paragraph2-normal-regular": {
|
|
389
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
390
|
-
weight: "lp-pri-font-weight-350",
|
|
391
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
392
|
-
size: "lp-pri-font-size-16"
|
|
393
|
-
},
|
|
394
|
-
"lp-sys-typo-paragraph3-normal-regular": {
|
|
395
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
396
|
-
weight: "lp-pri-font-weight-350",
|
|
397
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
398
|
-
size: "lp-pri-font-size-15"
|
|
399
|
-
},
|
|
400
|
-
"lp-sys-typo-paragraph4-normal-regular": {
|
|
401
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
402
|
-
weight: "lp-pri-font-weight-350",
|
|
403
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
404
|
-
size: "lp-pri-font-size-14"
|
|
405
|
-
},
|
|
406
|
-
"lp-sys-typo-paragraph1-post-regular": {
|
|
407
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
408
|
-
weight: "lp-pri-font-weight-350",
|
|
409
|
-
lineHeight: "lp-pri-font-lineheight-150",
|
|
410
|
-
size: "lp-pri-font-size-17"
|
|
411
|
-
},
|
|
412
|
-
"lp-sys-typo-paragraph3-post-regular": {
|
|
413
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
414
|
-
weight: "lp-pri-font-weight-350",
|
|
415
|
-
lineHeight: "lp-pri-font-lineheight-150",
|
|
416
|
-
size: "lp-pri-font-size-15"
|
|
417
|
-
},
|
|
418
|
-
"lp-sys-typo-paragraph1-answer-bold": {
|
|
419
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
420
|
-
weight: "lp-pri-font-weight-800",
|
|
421
|
-
lineHeight: "lp-pri-font-lineheight-180",
|
|
422
|
-
size: "lp-pri-font-size-16"
|
|
423
|
-
},
|
|
424
|
-
"lp-sys-typo-paragraph1-answer-regular": {
|
|
425
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
426
|
-
weight: "lp-pri-font-weight-350",
|
|
427
|
-
lineHeight: "lp-pri-font-lineheight-180",
|
|
428
|
-
size: "lp-pri-font-size-16"
|
|
429
|
-
},
|
|
430
|
-
"lp-sys-typo-caption1-normal-bold": {
|
|
431
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
432
|
-
weight: "lp-pri-font-weight-700",
|
|
433
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
434
|
-
size: "lp-pri-font-size-13"
|
|
435
|
-
},
|
|
436
|
-
"lp-sys-typo-caption2-normal-bold": {
|
|
437
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
438
|
-
weight: "lp-pri-font-weight-700",
|
|
439
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
440
|
-
size: "lp-pri-font-size-12"
|
|
441
|
-
},
|
|
442
|
-
"lp-sys-typo-caption3-normal-bold": {
|
|
443
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
444
|
-
weight: "lp-pri-font-weight-700",
|
|
445
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
446
|
-
size: "lp-pri-font-size-11"
|
|
447
|
-
},
|
|
448
|
-
"lp-sys-typo-caption1-normal-medium": {
|
|
449
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
450
|
-
weight: "lp-pri-font-weight-500",
|
|
451
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
452
|
-
size: "lp-pri-font-size-13"
|
|
453
|
-
},
|
|
454
|
-
"lp-sys-typo-caption2-normal-medium": {
|
|
455
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
456
|
-
weight: "lp-pri-font-weight-500",
|
|
457
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
458
|
-
size: "lp-pri-font-size-12"
|
|
459
|
-
},
|
|
460
|
-
"lp-sys-typo-caption3-normal-medium": {
|
|
461
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
462
|
-
weight: "lp-pri-font-weight-500",
|
|
463
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
464
|
-
size: "lp-pri-font-size-11"
|
|
465
|
-
},
|
|
466
|
-
"lp-sys-typo-caption1-normal-regular": {
|
|
467
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
468
|
-
weight: "lp-pri-font-weight-350",
|
|
469
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
470
|
-
size: "lp-pri-font-size-13"
|
|
471
|
-
},
|
|
472
|
-
"lp-sys-typo-caption2-normal-regular": {
|
|
473
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
474
|
-
weight: "lp-pri-font-weight-350",
|
|
475
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
476
|
-
size: "lp-pri-font-size-12"
|
|
477
|
-
},
|
|
478
|
-
"lp-sys-typo-caption3-normal-regular": {
|
|
479
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
480
|
-
weight: "lp-pri-font-weight-350",
|
|
481
|
-
lineHeight: "lp-pri-font-lineheight-130",
|
|
482
|
-
size: "lp-pri-font-size-11"
|
|
483
|
-
}
|
|
484
|
-
};
|
|
485
|
-
var typographyClassName = (() => {
|
|
486
|
-
const result = {};
|
|
487
|
-
for (const key in typography) {
|
|
488
|
-
const typedKey = key;
|
|
489
|
-
result[typedKey] = typedKey;
|
|
490
|
-
}
|
|
491
|
-
return result;
|
|
492
|
-
})();
|
|
493
|
-
var typographyEnglish = {
|
|
494
|
-
"lp-sys-typo-display2-accent-black": {
|
|
495
|
-
...typography["lp-sys-typo-display2-accent-black"],
|
|
496
|
-
family: "lp-pri-font-family-merriweather",
|
|
497
|
-
weight: "lp-pri-font-weight-900"
|
|
498
|
-
},
|
|
499
|
-
"lp-sys-typo-display3-accent-black": {
|
|
500
|
-
...typography["lp-sys-typo-display3-accent-black"],
|
|
501
|
-
family: "lp-pri-font-family-merriweather",
|
|
502
|
-
weight: "lp-pri-font-weight-900"
|
|
503
|
-
},
|
|
504
|
-
"lp-sys-typo-title1-accent-bold": {
|
|
505
|
-
...typography["lp-sys-typo-title1-accent-bold"],
|
|
506
|
-
family: "lp-pri-font-family-merriweather"
|
|
507
|
-
},
|
|
508
|
-
"lp-sys-typo-title2-accent-bold": {
|
|
509
|
-
...typography["lp-sys-typo-title2-accent-bold"],
|
|
510
|
-
family: "lp-pri-font-family-merriweather"
|
|
511
|
-
},
|
|
512
|
-
"lp-sys-typo-title3-accent-bold": {
|
|
513
|
-
...typography["lp-sys-typo-title3-accent-bold"],
|
|
514
|
-
family: "lp-pri-font-family-merriweather"
|
|
515
|
-
},
|
|
516
|
-
"lp-sys-typo-title4-accent-bold": {
|
|
517
|
-
...typography["lp-sys-typo-title4-accent-bold"],
|
|
518
|
-
family: "lp-pri-font-family-merriweather"
|
|
519
|
-
},
|
|
520
|
-
"lp-sys-typo-title1-accent-medium": {
|
|
521
|
-
...typography["lp-sys-typo-title1-accent-medium"],
|
|
522
|
-
family: "lp-pri-font-family-merriweather"
|
|
523
|
-
},
|
|
524
|
-
"lp-sys-typo-title2-accent-medium": {
|
|
525
|
-
...typography["lp-sys-typo-title2-accent-medium"],
|
|
526
|
-
family: "lp-pri-font-family-merriweather"
|
|
527
|
-
},
|
|
528
|
-
"lp-sys-typo-title3-accent-medium": {
|
|
529
|
-
...typography["lp-sys-typo-title3-accent-medium"],
|
|
530
|
-
family: "lp-pri-font-family-merriweather"
|
|
531
|
-
},
|
|
532
|
-
"lp-sys-typo-title4-accent-medium": {
|
|
533
|
-
...typography["lp-sys-typo-title4-accent-medium"],
|
|
534
|
-
family: "lp-pri-font-family-merriweather"
|
|
535
|
-
},
|
|
536
|
-
"lp-sys-typo-paragraph1-accent-bold": {
|
|
537
|
-
...typography["lp-sys-typo-paragraph1-accent-bold"],
|
|
538
|
-
family: "lp-pri-font-family-merriweather",
|
|
539
|
-
weight: "lp-pri-font-weight-700"
|
|
540
|
-
},
|
|
541
|
-
"lp-sys-typo-paragraph2-accent-bold": {
|
|
542
|
-
...typography["lp-sys-typo-paragraph2-accent-bold"],
|
|
543
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
544
|
-
weight: "lp-pri-font-weight-700"
|
|
545
|
-
},
|
|
546
|
-
"lp-sys-typo-paragraph3-accent-bold": {
|
|
547
|
-
...typography["lp-sys-typo-paragraph3-accent-bold"],
|
|
548
|
-
family: "lp-pri-font-family-variables-pretendard",
|
|
549
|
-
weight: "lp-pri-font-weight-700"
|
|
550
|
-
},
|
|
551
|
-
"lp-sys-typo-paragraph1-accent-medium": {
|
|
552
|
-
...typography["lp-sys-typo-paragraph1-accent-medium"],
|
|
553
|
-
family: "lp-pri-font-family-merriweather",
|
|
554
|
-
weight: "lp-pri-font-weight-500"
|
|
555
|
-
},
|
|
556
|
-
"lp-sys-typo-paragraph2-accent-medium": {
|
|
557
|
-
...typography["lp-sys-typo-paragraph2-accent-medium"],
|
|
558
|
-
family: "lp-pri-font-family-merriweather",
|
|
559
|
-
weight: "lp-pri-font-weight-500"
|
|
560
|
-
},
|
|
561
|
-
"lp-sys-typo-paragraph3-accent-medium": {
|
|
562
|
-
...typography["lp-sys-typo-paragraph3-accent-medium"],
|
|
563
|
-
family: "lp-pri-font-family-merriweather",
|
|
564
|
-
weight: "lp-pri-font-weight-500"
|
|
565
|
-
},
|
|
566
|
-
"lp-sys-typo-paragraph1-accent-regular": {
|
|
567
|
-
...typography["lp-sys-typo-paragraph1-accent-regular"],
|
|
568
|
-
weight: "lp-pri-font-weight-300",
|
|
569
|
-
family: "lp-pri-font-family-merriweather"
|
|
570
|
-
},
|
|
571
|
-
"lp-sys-typo-paragraph2-accent-regular": {
|
|
572
|
-
...typography["lp-sys-typo-paragraph2-accent-regular"],
|
|
573
|
-
weight: "lp-pri-font-weight-300",
|
|
574
|
-
family: "lp-pri-font-family-merriweather"
|
|
575
|
-
},
|
|
576
|
-
"lp-sys-typo-paragraph3-accent-regular": {
|
|
577
|
-
...typography["lp-sys-typo-paragraph3-accent-regular"],
|
|
578
|
-
weight: "lp-pri-font-weight-300",
|
|
579
|
-
family: "lp-pri-font-family-merriweather"
|
|
580
|
-
},
|
|
581
|
-
"lp-sys-typo-display2-normal-black": {
|
|
582
|
-
...typography["lp-sys-typo-display2-normal-black"],
|
|
583
|
-
family: "lp-pri-font-family-variables-pretendard"
|
|
584
|
-
},
|
|
585
|
-
"lp-sys-typo-paragraph1-answer-bold": {
|
|
586
|
-
...typography["lp-sys-typo-paragraph1-answer-bold"],
|
|
587
|
-
family: "lp-pri-font-family-merriweather"
|
|
588
|
-
// size: 'lp-pri-font-size-15',
|
|
589
|
-
},
|
|
590
|
-
"lp-sys-typo-paragraph1-answer-regular": {
|
|
591
|
-
...typography["lp-sys-typo-paragraph1-answer-regular"],
|
|
592
|
-
family: "lp-pri-font-family-merriweather"
|
|
593
|
-
// size: 'lp-pri-font-size-15',
|
|
594
|
-
}
|
|
595
|
-
};
|
|
596
|
-
|
|
597
|
-
// src/helpers/getTypoStyle.ts
|
|
598
|
-
var transformCSS = /* @__PURE__ */ __name((family, size, weight, lineHeight) => `
|
|
599
|
-
'font-family': ${family},
|
|
600
|
-
'font-size': ${size},
|
|
601
|
-
'font-weight': ${weight},
|
|
602
|
-
'line-height': ${lineHeight},
|
|
603
|
-
`, "transformCSS");
|
|
604
|
-
var getTypoStyle = /* @__PURE__ */ __name((key) => {
|
|
605
|
-
const locale = document.documentElement.getAttribute("lang");
|
|
606
|
-
const { family, size, weight, lineHeight } = typography[key];
|
|
607
|
-
if (locale === "en") {
|
|
608
|
-
if (typographyEnglish[key]) {
|
|
609
|
-
const { family: family2, size: size2, weight: weight2, lineHeight: lineHeight2 } = typographyEnglish[key];
|
|
610
|
-
return transformCSS(family2, size2, weight2, lineHeight2);
|
|
611
|
-
}
|
|
612
|
-
return transformCSS(family, size, weight, lineHeight);
|
|
613
|
-
}
|
|
614
|
-
if (locale === "ja") {
|
|
615
|
-
return transformCSS("lp-pri-font-family-variables-pretendard-jp", size, weight, lineHeight);
|
|
616
|
-
}
|
|
617
|
-
return transformCSS(family, size, weight, lineHeight);
|
|
618
|
-
}, "getTypoStyle");
|
|
619
|
-
|
|
620
|
-
// src/helpers/setDarkModeScript.tsx
|
|
621
|
-
var import_react2 = __toESM(require("react"));
|
|
622
|
-
var SetDarkModeScript = /* @__PURE__ */ __name(() => {
|
|
623
|
-
const darkThemeScript = `(
|
|
624
|
-
function (){
|
|
625
|
-
const localStorageTheme = window.localStorage.getItem("theme")
|
|
626
|
-
document.documentElement.setAttribute("color-theme", localStorageTheme || (window.matchMedia('(prefers-color-scheme: dark)').matches ? "dark" : "light"))
|
|
627
|
-
})()`;
|
|
628
|
-
return /* @__PURE__ */ import_react2.default.createElement("script", { dangerouslySetInnerHTML: { __html: darkThemeScript } });
|
|
629
|
-
}, "SetDarkModeScript");
|
|
630
|
-
|
|
631
|
-
// src/components/ThemeProvider.tsx
|
|
632
|
-
var import_react3 = __toESM(require("react"));
|
|
633
|
-
var import_recoil2 = require("recoil");
|
|
634
|
-
var ThemeProvider = /* @__PURE__ */ __name(({ children }) => {
|
|
635
|
-
const setIsDarkMode = (0, import_recoil2.useSetRecoilState)(theme);
|
|
636
|
-
(0, import_react3.useLayoutEffect)(() => {
|
|
637
|
-
setIsDarkMode(document.documentElement.getAttribute("color-theme") === "dark");
|
|
638
|
-
}, []);
|
|
639
|
-
return /* @__PURE__ */ import_react3.default.createElement("div", null, children);
|
|
640
|
-
}, "ThemeProvider");
|
|
641
|
-
/*! For license information please see index.cjs.LEGAL.txt */
|
|
642
|
-
//# sourceMappingURL=index.cjs.map
|