@lawkit/ui 0.1.0
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/dist/index.css +1 -0
- package/dist/index.js +3325 -0
- package/dist/tokens/src/contracts/theme-contract.css.d.ts +65 -0
- package/dist/tokens/src/foundation/color-palette.d.ts +150 -0
- package/dist/tokens/src/foundation/spacing-scale.d.ts +17 -0
- package/dist/tokens/src/foundation/typography-scale.d.ts +79 -0
- package/dist/tokens/src/index.d.ts +11 -0
- package/dist/tokens/src/runtime/create-theme-vars.d.ts +9 -0
- package/dist/tokens/src/semantic/color-roles.d.ts +409 -0
- package/dist/tokens/src/semantic/text-styles.d.ts +548 -0
- package/dist/tokens/src/theme.runtime.d.ts +2 -0
- package/dist/tokens/src/themes/light-theme.css.d.ts +23 -0
- package/dist/ui-v3/src/components/Alert/Alert.css.d.ts +59 -0
- package/dist/ui-v3/src/components/Alert/index.d.ts +34 -0
- package/dist/ui-v3/src/components/Avatar/Avatar.css.d.ts +95 -0
- package/dist/ui-v3/src/components/Avatar/index.d.ts +56 -0
- package/dist/ui-v3/src/components/Button/Button.css.d.ts +45 -0
- package/dist/ui-v3/src/components/Button/index.d.ts +22 -0
- package/dist/ui-v3/src/components/ButtonGroup/ButtonGroup.css.d.ts +68 -0
- package/dist/ui-v3/src/components/ButtonGroup/index.d.ts +26 -0
- package/dist/ui-v3/src/components/ButtonTab/ButtonTab.css.d.ts +23 -0
- package/dist/ui-v3/src/components/ButtonTab/index.d.ts +19 -0
- package/dist/ui-v3/src/components/CalendarPopover/CalendarPopover.css.d.ts +72 -0
- package/dist/ui-v3/src/components/CalendarPopover/index.d.ts +61 -0
- package/dist/ui-v3/src/components/Card/Card.css.d.ts +15 -0
- package/dist/ui-v3/src/components/Card/index.d.ts +29 -0
- package/dist/ui-v3/src/components/ChartTooltip/ChartTooltip.css.d.ts +36 -0
- package/dist/ui-v3/src/components/ChartTooltip/index.d.ts +28 -0
- package/dist/ui-v3/src/components/Checkbox/Checkbox.css.d.ts +71 -0
- package/dist/ui-v3/src/components/Checkbox/index.d.ts +27 -0
- package/dist/ui-v3/src/components/ChipsNavigation/ChipsNavigation.css.d.ts +26 -0
- package/dist/ui-v3/src/components/ChipsNavigation/index.d.ts +21 -0
- package/dist/ui-v3/src/components/Collapse/Collapse.css.d.ts +67 -0
- package/dist/ui-v3/src/components/Collapse/index.d.ts +32 -0
- package/dist/ui-v3/src/components/DataTable/DataTable.css.d.ts +32 -0
- package/dist/ui-v3/src/components/DataTable/index.d.ts +47 -0
- package/dist/ui-v3/src/components/DatePicker/DatePicker.css.d.ts +88 -0
- package/dist/ui-v3/src/components/DatePicker/index.d.ts +57 -0
- package/dist/ui-v3/src/components/Dropdown/Dropdown.css.d.ts +78 -0
- package/dist/ui-v3/src/components/Dropdown/index.d.ts +37 -0
- package/dist/ui-v3/src/components/FileUpload/FileUpload.css.d.ts +49 -0
- package/dist/ui-v3/src/components/FileUpload/index.d.ts +98 -0
- package/dist/ui-v3/src/components/IconButtonGroup/IconButtonGroup.css.d.ts +52 -0
- package/dist/ui-v3/src/components/IconButtonGroup/index.d.ts +23 -0
- package/dist/ui-v3/src/components/InfoPopover/InfoPopover.css.d.ts +9 -0
- package/dist/ui-v3/src/components/InfoPopover/index.d.ts +38 -0
- package/dist/ui-v3/src/components/Input/Input.css.d.ts +99 -0
- package/dist/ui-v3/src/components/Input/index.d.ts +86 -0
- package/dist/ui-v3/src/components/ListGroup/ListGroup.css.d.ts +47 -0
- package/dist/ui-v3/src/components/ListGroup/index.d.ts +30 -0
- package/dist/ui-v3/src/components/Mention/Mention.css.d.ts +1 -0
- package/dist/ui-v3/src/components/Mention/index.d.ts +15 -0
- package/dist/ui-v3/src/components/Modal/Modal.css.d.ts +23 -0
- package/dist/ui-v3/src/components/Modal/index.d.ts +34 -0
- package/dist/ui-v3/src/components/NavigationTab/NavigationTab.css.d.ts +18 -0
- package/dist/ui-v3/src/components/NavigationTab/index.d.ts +20 -0
- package/dist/ui-v3/src/components/NumberInput/NumberInput.css.d.ts +45 -0
- package/dist/ui-v3/src/components/NumberInput/index.d.ts +32 -0
- package/dist/ui-v3/src/components/Pagination/Pagination.css.d.ts +20 -0
- package/dist/ui-v3/src/components/Pagination/index.d.ts +18 -0
- package/dist/ui-v3/src/components/Popover/Popover.css.d.ts +65 -0
- package/dist/ui-v3/src/components/Popover/index.d.ts +39 -0
- package/dist/ui-v3/src/components/Progress/Progress.css.d.ts +60 -0
- package/dist/ui-v3/src/components/Progress/index.d.ts +36 -0
- package/dist/ui-v3/src/components/Radio/Radio.css.d.ts +55 -0
- package/dist/ui-v3/src/components/Radio/index.d.ts +64 -0
- package/dist/ui-v3/src/components/Skeleton/Skeleton.css.d.ts +19 -0
- package/dist/ui-v3/src/components/Skeleton/index.d.ts +52 -0
- package/dist/ui-v3/src/components/Slider/Slider.css.d.ts +10 -0
- package/dist/ui-v3/src/components/Slider/index.d.ts +66 -0
- package/dist/ui-v3/src/components/Spinner/Spinner.css.d.ts +68 -0
- package/dist/ui-v3/src/components/Spinner/index.d.ts +22 -0
- package/dist/ui-v3/src/components/SweetAlert/SweetAlert.css.d.ts +37 -0
- package/dist/ui-v3/src/components/SweetAlert/index.d.ts +25 -0
- package/dist/ui-v3/src/components/Switch/Switch.css.d.ts +46 -0
- package/dist/ui-v3/src/components/Switch/index.d.ts +26 -0
- package/dist/ui-v3/src/components/Tabs/Tabs.css.d.ts +55 -0
- package/dist/ui-v3/src/components/Tabs/index.d.ts +29 -0
- package/dist/ui-v3/src/components/TagSelect/TagSelect.css.d.ts +12 -0
- package/dist/ui-v3/src/components/TagSelect/index.d.ts +37 -0
- package/dist/ui-v3/src/components/Toast/Toast.css.d.ts +97 -0
- package/dist/ui-v3/src/components/Toast/index.d.ts +57 -0
- package/dist/ui-v3/src/components/Tooltip/Tooltip.css.d.ts +60 -0
- package/dist/ui-v3/src/components/Tooltip/index.d.ts +26 -0
- package/dist/ui-v3/src/components/TreeView/TreeView.css.d.ts +103 -0
- package/dist/ui-v3/src/components/TreeView/index.d.ts +72 -0
- package/dist/ui-v3/src/components/Widget/Widget.css.d.ts +52 -0
- package/dist/ui-v3/src/components/Widget/index.d.ts +109 -0
- package/dist/ui-v3/src/foundations/field/Field.d.ts +20 -0
- package/dist/ui-v3/src/foundations/field/field.css.d.ts +70 -0
- package/dist/ui-v3/src/foundations/field/index.d.ts +2 -0
- package/dist/ui-v3/src/index.d.ts +80 -0
- package/dist/ui-v3/src/lib/Portal.d.ts +6 -0
- package/dist/ui-v3/src/lib/cx.d.ts +1 -0
- package/dist/ui-v3/src/lib/cx.test.d.ts +1 -0
- package/dist/ui-v3/src/lib/useFocusTrap.d.ts +2 -0
- package/dist/ui-v3/src/styles/shared.css.d.ts +15 -0
- package/dist/ui-v3/src/styles/sprinkles.css.d.ts +29 -0
- package/package.json +67 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export declare const themeVars: {
|
|
2
|
+
color: {
|
|
3
|
+
accentPrimary: `var(--${string})`;
|
|
4
|
+
accentPrimaryHover: `var(--${string})`;
|
|
5
|
+
accentPrimaryActive: `var(--${string})`;
|
|
6
|
+
accentSecondary: `var(--${string})`;
|
|
7
|
+
accentSecondaryHover: `var(--${string})`;
|
|
8
|
+
accentSecondaryActive: `var(--${string})`;
|
|
9
|
+
accentSuccess: `var(--${string})`;
|
|
10
|
+
accentSuccessHover: `var(--${string})`;
|
|
11
|
+
accentSuccessActive: `var(--${string})`;
|
|
12
|
+
accentDanger: `var(--${string})`;
|
|
13
|
+
accentDangerHover: `var(--${string})`;
|
|
14
|
+
accentDangerActive: `var(--${string})`;
|
|
15
|
+
accentWarning: `var(--${string})`;
|
|
16
|
+
accentWarningHover: `var(--${string})`;
|
|
17
|
+
accentWarningActive: `var(--${string})`;
|
|
18
|
+
accentInfo: `var(--${string})`;
|
|
19
|
+
accentInfoHover: `var(--${string})`;
|
|
20
|
+
accentInfoActive: `var(--${string})`;
|
|
21
|
+
accentDark: `var(--${string})`;
|
|
22
|
+
accentDarkHover: `var(--${string})`;
|
|
23
|
+
accentDarkActive: `var(--${string})`;
|
|
24
|
+
neutralBackground: `var(--${string})`;
|
|
25
|
+
neutralSurface: `var(--${string})`;
|
|
26
|
+
neutralSurfaceAlt: `var(--${string})`;
|
|
27
|
+
neutralSurfaceRaised: `var(--${string})`;
|
|
28
|
+
neutralBorder: `var(--${string})`;
|
|
29
|
+
neutralBorderStrong: `var(--${string})`;
|
|
30
|
+
neutralDisabled: `var(--${string})`;
|
|
31
|
+
textPrimary: `var(--${string})`;
|
|
32
|
+
textHeading: `var(--${string})`;
|
|
33
|
+
textSecondary: `var(--${string})`;
|
|
34
|
+
textMuted: `var(--${string})`;
|
|
35
|
+
textDisabled: `var(--${string})`;
|
|
36
|
+
textInverse: `var(--${string})`;
|
|
37
|
+
focusRing: `var(--${string})`;
|
|
38
|
+
};
|
|
39
|
+
spacing: {
|
|
40
|
+
x1: `var(--${string})`;
|
|
41
|
+
x2: `var(--${string})`;
|
|
42
|
+
x3: `var(--${string})`;
|
|
43
|
+
x4: `var(--${string})`;
|
|
44
|
+
x5: `var(--${string})`;
|
|
45
|
+
x6: `var(--${string})`;
|
|
46
|
+
};
|
|
47
|
+
radius: {
|
|
48
|
+
sm: `var(--${string})`;
|
|
49
|
+
md: `var(--${string})`;
|
|
50
|
+
lg: `var(--${string})`;
|
|
51
|
+
};
|
|
52
|
+
font: {
|
|
53
|
+
family: `var(--${string})`;
|
|
54
|
+
sizeSm: `var(--${string})`;
|
|
55
|
+
sizeMd: `var(--${string})`;
|
|
56
|
+
sizeLg: `var(--${string})`;
|
|
57
|
+
weightRegular: `var(--${string})`;
|
|
58
|
+
weightMedium: `var(--${string})`;
|
|
59
|
+
weightBold: `var(--${string})`;
|
|
60
|
+
};
|
|
61
|
+
shadow: {
|
|
62
|
+
focus: `var(--${string})`;
|
|
63
|
+
raised: `var(--${string})`;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
export type LdsColorTokens = {
|
|
2
|
+
accentPrimary: string;
|
|
3
|
+
accentPrimaryHover: string;
|
|
4
|
+
accentPrimaryActive: string;
|
|
5
|
+
accentSecondary: string;
|
|
6
|
+
accentSecondaryHover: string;
|
|
7
|
+
accentSecondaryActive: string;
|
|
8
|
+
accentSuccess: string;
|
|
9
|
+
accentSuccessHover: string;
|
|
10
|
+
accentSuccessActive: string;
|
|
11
|
+
accentDanger: string;
|
|
12
|
+
accentDangerHover: string;
|
|
13
|
+
accentDangerActive: string;
|
|
14
|
+
accentWarning: string;
|
|
15
|
+
accentWarningHover: string;
|
|
16
|
+
accentWarningActive: string;
|
|
17
|
+
accentInfo: string;
|
|
18
|
+
accentInfoHover: string;
|
|
19
|
+
accentInfoActive: string;
|
|
20
|
+
accentDark: string;
|
|
21
|
+
accentDarkHover: string;
|
|
22
|
+
accentDarkActive: string;
|
|
23
|
+
neutralBackground: string;
|
|
24
|
+
neutralSurface: string;
|
|
25
|
+
neutralSurfaceAlt: string;
|
|
26
|
+
neutralSurfaceRaised: string;
|
|
27
|
+
neutralBorder: string;
|
|
28
|
+
neutralBorderStrong: string;
|
|
29
|
+
neutralDisabled: string;
|
|
30
|
+
textPrimary: string;
|
|
31
|
+
textHeading: string;
|
|
32
|
+
textSecondary: string;
|
|
33
|
+
textMuted: string;
|
|
34
|
+
textDisabled: string;
|
|
35
|
+
textInverse: string;
|
|
36
|
+
focusRing: string;
|
|
37
|
+
};
|
|
38
|
+
export declare const scourtPalette: {
|
|
39
|
+
readonly blue: "#003399";
|
|
40
|
+
readonly green: "#336633";
|
|
41
|
+
readonly red: "#660000";
|
|
42
|
+
readonly yellow: "#cc6600";
|
|
43
|
+
readonly stamp: "#ff0000";
|
|
44
|
+
};
|
|
45
|
+
export declare const grayPalette: {
|
|
46
|
+
readonly 0: "#ffffff";
|
|
47
|
+
readonly 50: "#f2f4f6";
|
|
48
|
+
readonly 100: "#f1f4f9";
|
|
49
|
+
readonly 200: "#eeeff2";
|
|
50
|
+
readonly 300: "#d1d1d1";
|
|
51
|
+
readonly 400: "#cfd5e1";
|
|
52
|
+
readonly 500: "#9ea7b8";
|
|
53
|
+
readonly 600: "#82868b";
|
|
54
|
+
readonly 700: "#626f86";
|
|
55
|
+
readonly 800: "#4c5469";
|
|
56
|
+
readonly 900: "#11152a";
|
|
57
|
+
};
|
|
58
|
+
export declare const bluePalette: {
|
|
59
|
+
readonly 100: "rgba(33, 81, 236, 0.12)";
|
|
60
|
+
readonly 200: "rgba(23, 57, 165, 0.12)";
|
|
61
|
+
readonly 300: "#2151ec";
|
|
62
|
+
readonly 400: "#2151ec";
|
|
63
|
+
readonly 500: "#2151ec";
|
|
64
|
+
readonly 600: "#2151ec";
|
|
65
|
+
readonly 700: "#1739a5";
|
|
66
|
+
};
|
|
67
|
+
export declare const greenPalette: {
|
|
68
|
+
readonly 100: "rgba(39, 194, 129, 0.12)";
|
|
69
|
+
readonly 200: "#28c76f";
|
|
70
|
+
readonly 300: "#28c76f";
|
|
71
|
+
readonly 400: "#28c76f";
|
|
72
|
+
readonly 500: "#1bc47d";
|
|
73
|
+
readonly 600: "#28c76f";
|
|
74
|
+
readonly 700: "#006d38";
|
|
75
|
+
};
|
|
76
|
+
export declare const redPalette: {
|
|
77
|
+
readonly 100: "rgba(234, 59, 59, 0.12)";
|
|
78
|
+
readonly 200: "#ea5455";
|
|
79
|
+
readonly 300: "#ea5455";
|
|
80
|
+
readonly 400: "#ea5455";
|
|
81
|
+
readonly 500: "#ea5455";
|
|
82
|
+
readonly 600: "#ea5455";
|
|
83
|
+
readonly 700: "#b12a30";
|
|
84
|
+
};
|
|
85
|
+
export declare const yellowPalette: {
|
|
86
|
+
readonly 100: "rgba(240, 175, 35, 0.12)";
|
|
87
|
+
readonly 200: "#f0af23";
|
|
88
|
+
readonly 300: "#f0af23";
|
|
89
|
+
readonly 400: "#f0af23";
|
|
90
|
+
readonly 500: "#f0af23";
|
|
91
|
+
readonly 600: "#f0af23";
|
|
92
|
+
readonly 700: "#7d5800";
|
|
93
|
+
};
|
|
94
|
+
export declare const cyanPalette: {
|
|
95
|
+
readonly 100: "rgba(0, 207, 232, 0.12)";
|
|
96
|
+
readonly 200: "#00cfe8";
|
|
97
|
+
readonly 300: "#00cfe8";
|
|
98
|
+
readonly 400: "#00cfe8";
|
|
99
|
+
readonly 500: "#00cfe8";
|
|
100
|
+
readonly 600: "#00cfe8";
|
|
101
|
+
readonly 700: "#006876";
|
|
102
|
+
};
|
|
103
|
+
export declare const darkPalette: {
|
|
104
|
+
readonly 100: "rgba(76, 84, 105, 0.12)";
|
|
105
|
+
readonly 300: "#4c5469";
|
|
106
|
+
readonly 400: "#4c5469";
|
|
107
|
+
readonly 500: "#4c5469";
|
|
108
|
+
readonly 600: "#4c5469";
|
|
109
|
+
readonly 700: "#343434";
|
|
110
|
+
};
|
|
111
|
+
export declare const opacityPalette: {
|
|
112
|
+
readonly scourtBlue: "rgba(0, 51, 153, 0.12)";
|
|
113
|
+
readonly primary: "rgba(33, 81, 236, 0.12)";
|
|
114
|
+
readonly secondary: "rgba(130, 134, 139, 0.12)";
|
|
115
|
+
readonly scourtGreen: "rgba(51, 102, 51, 0.12)";
|
|
116
|
+
readonly success: "rgba(39, 194, 129, 0.12)";
|
|
117
|
+
readonly scourtRed: "rgba(102, 0, 0, 0.12)";
|
|
118
|
+
readonly danger: "rgba(234, 59, 59, 0.12)";
|
|
119
|
+
readonly orange: "rgba(253, 126, 20, 0.12)";
|
|
120
|
+
readonly scourtYellow: "rgba(204, 102, 0, 0.12)";
|
|
121
|
+
readonly warning: "rgba(240, 175, 35, 0.12)";
|
|
122
|
+
readonly info: "rgba(0, 207, 232, 0.12)";
|
|
123
|
+
readonly black: "rgba(0, 0, 0, 0.12)";
|
|
124
|
+
readonly light: "rgba(158, 167, 184, 0.12)";
|
|
125
|
+
readonly dark: "rgba(76, 84, 105, 0.12)";
|
|
126
|
+
readonly primaryActive: "rgba(23, 57, 165, 0.12)";
|
|
127
|
+
};
|
|
128
|
+
export declare const bootstrapPalette: {
|
|
129
|
+
readonly blue: "#0d6efd";
|
|
130
|
+
readonly purple: "#6f42c1";
|
|
131
|
+
readonly red: "#dc3545";
|
|
132
|
+
readonly pink: "#d63384";
|
|
133
|
+
readonly orange: "#fd7e14";
|
|
134
|
+
readonly yellow: "#ffc107";
|
|
135
|
+
readonly green: "#198754";
|
|
136
|
+
readonly emerald: "#2bdac7";
|
|
137
|
+
readonly teal: "#20c997";
|
|
138
|
+
readonly cyan: "#0dcaf0";
|
|
139
|
+
readonly gray: "#adb5bd";
|
|
140
|
+
};
|
|
141
|
+
export declare const socialPalette: {
|
|
142
|
+
readonly youtube: "#c4302b";
|
|
143
|
+
readonly facebook: "#3b5998";
|
|
144
|
+
readonly github: "#211f1f";
|
|
145
|
+
readonly google: "#db3236";
|
|
146
|
+
readonly instagram: "#3f729b";
|
|
147
|
+
readonly linkedin: "#0e76a8";
|
|
148
|
+
readonly twitter: "#00acee";
|
|
149
|
+
};
|
|
150
|
+
export declare const defaultColorTokens: LdsColorTokens;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const spacingScale: {
|
|
2
|
+
readonly xs: "4px";
|
|
3
|
+
readonly s: "8px";
|
|
4
|
+
readonly m: "12px";
|
|
5
|
+
readonly l: "16px";
|
|
6
|
+
readonly xl: "20px";
|
|
7
|
+
readonly xxl: "24px";
|
|
8
|
+
};
|
|
9
|
+
export type LdsSpacingTokens = {
|
|
10
|
+
x1: string;
|
|
11
|
+
x2: string;
|
|
12
|
+
x3: string;
|
|
13
|
+
x4: string;
|
|
14
|
+
x5: string;
|
|
15
|
+
x6: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const defaultSpacingTokens: LdsSpacingTokens;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export declare const fontFamilyTokens: {
|
|
2
|
+
readonly pretendard: "\"Pretendard\", \"Segoe UI\", sans-serif";
|
|
3
|
+
readonly malgunGothic: "\"Malgun Gothic\", \"MalgunGothic\", sans-serif";
|
|
4
|
+
};
|
|
5
|
+
export declare const fontSizeScale: {
|
|
6
|
+
readonly 8: "8px";
|
|
7
|
+
readonly 9: "9px";
|
|
8
|
+
readonly 10: "10px";
|
|
9
|
+
readonly 11: "11px";
|
|
10
|
+
readonly 12: "12px";
|
|
11
|
+
readonly 13: "13px";
|
|
12
|
+
readonly 14: "14px";
|
|
13
|
+
readonly 15: "15px";
|
|
14
|
+
readonly 16: "16px";
|
|
15
|
+
readonly 18: "18px";
|
|
16
|
+
readonly 20: "20px";
|
|
17
|
+
readonly 21: "21px";
|
|
18
|
+
readonly 22: "22px";
|
|
19
|
+
readonly 24: "24px";
|
|
20
|
+
readonly 25: "25px";
|
|
21
|
+
readonly 28: "28px";
|
|
22
|
+
readonly 30: "30px";
|
|
23
|
+
readonly 49: "49px";
|
|
24
|
+
readonly 63: "63px";
|
|
25
|
+
readonly 77: "77px";
|
|
26
|
+
readonly 84: "84px";
|
|
27
|
+
};
|
|
28
|
+
export declare const lineHeightScale: {
|
|
29
|
+
readonly 120: "1.2";
|
|
30
|
+
readonly 121: "1.21";
|
|
31
|
+
readonly 122: "1.22";
|
|
32
|
+
readonly 124: "1.24";
|
|
33
|
+
readonly 127: "1.27";
|
|
34
|
+
readonly 133: "1.33";
|
|
35
|
+
readonly 138: "1.38";
|
|
36
|
+
readonly 139: "1.39";
|
|
37
|
+
readonly 140: "1.4";
|
|
38
|
+
readonly 143: "1.43";
|
|
39
|
+
readonly 150: "1.5";
|
|
40
|
+
readonly 156: "1.56";
|
|
41
|
+
readonly 160: "1.6";
|
|
42
|
+
readonly 162: "1.62";
|
|
43
|
+
readonly 164: "1.64";
|
|
44
|
+
readonly 171: "1.71";
|
|
45
|
+
readonly 175: "1.75";
|
|
46
|
+
readonly 180: "1.8";
|
|
47
|
+
readonly 185: "1.85";
|
|
48
|
+
readonly normal: "normal";
|
|
49
|
+
};
|
|
50
|
+
export declare const letterSpacingScale: {
|
|
51
|
+
readonly normal: "normal";
|
|
52
|
+
readonly plus1: "1px";
|
|
53
|
+
readonly minus180: "-1.8px";
|
|
54
|
+
readonly minus80: "-0.8px";
|
|
55
|
+
readonly minus64: "-0.64px";
|
|
56
|
+
readonly minus60: "-0.6px";
|
|
57
|
+
readonly minus48: "-0.48px";
|
|
58
|
+
readonly minus40: "-0.4px";
|
|
59
|
+
readonly minus30: "-0.3px";
|
|
60
|
+
readonly minus28: "-0.28px";
|
|
61
|
+
readonly minus20: "-0.2px";
|
|
62
|
+
readonly minus15: "-0.15px";
|
|
63
|
+
readonly minus07: "-0.07px";
|
|
64
|
+
};
|
|
65
|
+
export declare const fontWeightScale: {
|
|
66
|
+
readonly regular: "400";
|
|
67
|
+
readonly medium: "500";
|
|
68
|
+
readonly semibold: "600";
|
|
69
|
+
readonly bold: "700";
|
|
70
|
+
};
|
|
71
|
+
export declare const defaultTypographyTokens: {
|
|
72
|
+
readonly family: "\"Pretendard\", \"Segoe UI\", sans-serif";
|
|
73
|
+
readonly sizeSm: "12px";
|
|
74
|
+
readonly sizeMd: "14px";
|
|
75
|
+
readonly sizeLg: "16px";
|
|
76
|
+
readonly weightRegular: "400";
|
|
77
|
+
readonly weightMedium: "500";
|
|
78
|
+
readonly weightBold: "700";
|
|
79
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type { LdsColorTokens } from './foundation/color-palette';
|
|
2
|
+
export { defaultColorTokens, grayPalette, bluePalette, greenPalette, redPalette, yellowPalette, cyanPalette, darkPalette, opacityPalette, scourtPalette, bootstrapPalette, socialPalette } from './foundation/color-palette';
|
|
3
|
+
export type { LdsSpacingTokens } from './foundation/spacing-scale';
|
|
4
|
+
export { spacingScale, defaultSpacingTokens } from './foundation/spacing-scale';
|
|
5
|
+
export { fontFamilyTokens, fontSizeScale, lineHeightScale, fontWeightScale } from './foundation/typography-scale';
|
|
6
|
+
export { semanticColorRoles } from './semantic/color-roles';
|
|
7
|
+
export { textStyles } from './semantic/text-styles';
|
|
8
|
+
export { themeVars } from './contracts/theme-contract.css';
|
|
9
|
+
export { defaultThemeValues, lightThemeClass } from './themes/light-theme.css';
|
|
10
|
+
export type { LdsThemeInput } from './theme.runtime';
|
|
11
|
+
export { createLdsThemeVars } from './theme.runtime';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LdsColorTokens } from '../foundation/color-palette';
|
|
2
|
+
import { LdsSpacingTokens } from '../foundation/spacing-scale';
|
|
3
|
+
export type LdsThemeInput = {
|
|
4
|
+
color?: Partial<LdsColorTokens>;
|
|
5
|
+
spacing?: Partial<LdsSpacingTokens>;
|
|
6
|
+
};
|
|
7
|
+
export declare function createLdsThemeVars(input?: LdsThemeInput): {
|
|
8
|
+
[cssVarName: string]: string;
|
|
9
|
+
};
|