atomsystem 0.1.47 → 0.1.49

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.
Files changed (62) hide show
  1. package/README.md +153 -55
  2. package/atom.design.md +155 -0
  3. package/atom.uxPattern.md +431 -0
  4. package/components/ui/Badge.tsx +20 -0
  5. package/components/ui/Button.tsx +33 -0
  6. package/components/ui/Card.tsx +20 -0
  7. package/components/ui/Input.tsx +35 -0
  8. package/components/ui/Modal.tsx +54 -0
  9. package/components/ui/index.ts +5 -0
  10. package/css/atom-ui.css +216 -0
  11. package/dist/cli.cjs +105 -0
  12. package/dist/cli.cjs.map +1 -0
  13. package/dist/cli.d.cts +1 -0
  14. package/dist/cli.d.ts +1 -0
  15. package/dist/cli.js +97 -0
  16. package/dist/cli.js.map +1 -0
  17. package/dist/index.cjs +7897 -0
  18. package/dist/index.cjs.map +1 -0
  19. package/dist/index.d.cts +218 -0
  20. package/dist/index.d.ts +218 -0
  21. package/dist/index.js +7845 -447
  22. package/dist/index.js.map +1 -0
  23. package/package.json +120 -81
  24. package/presets/default.design.md +155 -0
  25. package/presets/uxPattern.md +431 -0
  26. package/skills/atomsystem.skill.md +104 -0
  27. package/tokens/token.json +319 -0
  28. package/tokens/tokens.json +318 -976
  29. package/app/templates/Animations/Animation.tsx +0 -282
  30. package/app/templates/Badge/Badge.tsx +0 -28
  31. package/app/templates/Badge/badge.css +0 -28
  32. package/app/templates/Button/Button.tsx +0 -31
  33. package/app/templates/Button/button.css +0 -135
  34. package/app/templates/Card/Card.tsx +0 -50
  35. package/app/templates/Card/card.css +0 -17
  36. package/app/templates/CodeBlock/CodeBlock.tsx +0 -68
  37. package/app/templates/Collapse/Collapse.tsx +0 -207
  38. package/app/templates/Collapse/collapse.css +0 -24
  39. package/app/templates/Dropdown/Dropdown.css +0 -112
  40. package/app/templates/Dropdown/Dropdown.tsx +0 -103
  41. package/app/templates/Form/Form.tsx +0 -289
  42. package/app/templates/Form/form.css +0 -115
  43. package/app/templates/Modal/Modal.tsx +0 -71
  44. package/app/templates/Modal/modal.css +0 -98
  45. package/app/templates/Navigation/Navigation.tsx +0 -169
  46. package/app/templates/Navigation/navigation.css +0 -59
  47. package/app/templates/Pagination/Pagination.tsx +0 -104
  48. package/app/templates/Pagination/pagination.css +0 -66
  49. package/app/templates/Sidebar/Sidebar.tsx +0 -139
  50. package/app/templates/Sidebar/sidebar.css +0 -4
  51. package/app/templates/TOC/TOC.tsx +0 -165
  52. package/app/templates/Tab/Tab.tsx +0 -117
  53. package/app/templates/Tab/tab.css +0 -56
  54. package/app/templates/Table/Table.tsx +0 -54
  55. package/app/templates/Table/table.css +0 -58
  56. package/app/templates/Theme/Theme.tsx +0 -121
  57. package/app/templates/Toast/Toast.tsx +0 -106
  58. package/app/templates/Toast/toast.css +0 -69
  59. package/build/build-tokens.js +0 -223
  60. package/build/css/_variables.css +0 -251
  61. package/build/typescript/theme.ts +0 -6
  62. package/css/text.css +0 -18
@@ -1,223 +0,0 @@
1
- import StyleDictionary from "style-dictionary";
2
-
3
-
4
- // 1. Style Dictionary 인스턴스 초기화
5
- const myStyleDictionary = new StyleDictionary({
6
- source: ["tokens/tokens.json"],
7
- preprocessors: ['flatten-global'],
8
- hooks: {
9
- preprocessors: {
10
- 'flatten-global': (dictionary) => {
11
- // 1. global 객체를 찾습니다.
12
- const { global, ...rest } = dictionary;
13
-
14
- // 2. global 내부의 내용을 루트로 끌어올려 병합합니다.
15
- // 이렇게 하면 {palette.white} 참조가 루트 레벨에서 해석 가능해집니다.
16
- return {
17
- ...global,
18
- ...rest
19
- };
20
- }
21
- }
22
- },
23
- platforms: {
24
- css: {
25
- transformGroup: "css", // CSS 기본 변환 적용 (예: size/rem, color/hex 등)
26
- buildPath: "build/css/",
27
- files: [
28
- {
29
- destination: "_variables.css",
30
- format: "myCustomFormat", // 아래에서 정의한 커스텀 포맷 사용
31
- options: {
32
- outputReferences: true, // CSS 변수 참조 활성화 (var(--name))
33
- },
34
- },
35
- ],
36
- },
37
- typescript: {
38
- transformGroup: "js",
39
- buildPath: "build/typescript/",
40
- files: [
41
- {
42
- destination: "theme.ts",
43
- format: "theme",
44
- },
45
- ],
46
- },
47
- },
48
- log: {
49
- verbosity: 'verbose', // 어떤 reference를 못 찾는지 정확히 찍어줍니다.
50
- },
51
- });
52
-
53
- // 2. 커스텀 포맷 등록
54
- // 토큰 그룹을 CSS 변수 블록으로 변환합니다.
55
- // - 'global' 카테고리 -> @theme 블록
56
- // - 그 외 카테고리 -> .{category} 클래스 블록
57
- myStyleDictionary.registerFormat({
58
- name: "myCustomFormat",
59
- format: function ({ dictionary, options }) {
60
- // [헬퍼 함수]
61
- // 1. getName: 토큰의 계층(type, item, subitem)을 하이픈(-)으로 연결하여 CSS 변수명 생성
62
- // 예: palette.gray.500 -> palette-gray-500
63
- const getName = (token) => token.path.slice(1).join("-");
64
-
65
- // 2. getSemanticName: 시멘틱 토큰명을 생성 (예: color-card)
66
- // 이름 규칙: $type(color)-...path -> color-bg-card
67
- const getSemanticName = (token) => {
68
- if (token.$type === "color") {
69
- return [token.$type, ...token.path.slice(1)].join("-");
70
- } else {
71
- return null;
72
- }
73
- };
74
-
75
- // [참조 맵 생성]
76
- // {global.palette.white} 같은 참조 경로를 실제 토큰 객체로 찾기 위한 Map 생성
77
- const tokenMap = new Map(
78
- dictionary.allTokens.map((t) => [t.path.join("."), t])
79
- );
80
-
81
- // [토큰 그룹화]
82
- // tokens.json의 최상위 카테고리(global, white, dark)별로 토큰을 묶음
83
- const grouped = dictionary.allTokens.reduce((acc, token) => {
84
- const category = token.attributes.category;
85
- if (!acc[category]) acc[category] = [];
86
- acc[category].push(token);
87
- return acc;
88
- }, {});
89
-
90
- // [시멘틱 변수 수집 로직]
91
- // global이 아닌 테마별 토큰(white, dark 등)을 순회하며 시멘틱 변수 정의를 수집함
92
- // 목적: @theme 블록 안에 "--color-card: var(--card);" 형태의 매핑을 한 번만 선언하기 위함.
93
- // 각 테마 파일(.white, .dark)에서는 --card 변수만 재정의하면 됨.
94
- const themeTokens = dictionary.allTokens.filter(t => t.attributes.category !== 'palette');
95
- const semanticMap = new Map();
96
-
97
- themeTokens.forEach(token => {
98
- const semanticName = getSemanticName(token); // 예: color-card
99
- const varName = getName(token); // 예: card
100
-
101
- // 중복 선언 방지: 동일한 시멘틱 이름이 여러 테마에 있어도 한 번만 수집
102
- if (semanticName && !semanticMap.has(semanticName)) {
103
- semanticMap.set(semanticName, varName);
104
- }
105
- });
106
-
107
- // 수집된 시멘틱 변수들을 CSS 문자열로 변환
108
- const semanticCss = Array.from(semanticMap.entries())
109
- .map(([name, val]) => ` --${name}: var(--${val});`)
110
- .join('\n');
111
-
112
-
113
- // [최종 CSS 생성]
114
- // 그룹별로 순회하며 CSS 블록 생성
115
- return Object.entries(grouped)
116
- .map(([category, tokens]) => {
117
- // 선택자 결정:
118
- // - 'global' 카테고리는 Tailwind CSS v4의 '@theme' 블록으로 변환
119
- // - 나머지(white, dark)는 클래스 선택자(예: .white)로 변환
120
- const selector = category === "palette" ? "@theme" : `.${category}`;
121
-
122
-
123
- // 정렬
124
- const typeOrder = ["color", "fontSizes", "fontWeights", "fontFamily", "borderRadius"];
125
-
126
- const cssVariables = tokens
127
- .sort((a, b) => {
128
- const indexA = typeOrder.indexOf(a.$type);
129
- const indexB = typeOrder.indexOf(b.$type);
130
- if (indexA !== -1 && indexB !== -1) return indexA - indexB;
131
- if (indexA !== -1) return -1;
132
- if (indexB !== -1) return 1;
133
- return 0;
134
- })
135
- .map((token) => {
136
- const name = getName(token);
137
- // 기본 값. 참조가 있다면 원본 값("{global.palette...}")을 가져옴
138
- let value = token.$value || token.value;
139
- const originalValue = token.original.$value || token.original.value;
140
-
141
- // [수동 참조 해결]
142
- // 값이 "{...}" 형태의 참조인 경우, 해당 참조를 var(--이름) 형태로 변환
143
- if (
144
- options?.outputReferences &&
145
- typeof originalValue === "string" && // 값이 문자열이고
146
- originalValue.includes("{") // '{'를 포함하면 참조로 간주
147
- ) {
148
- value = originalValue.replace(/{([^}]+)}/g, (match, pathStr) => {
149
- const refToken = tokenMap.get(pathStr);
150
- if (refToken) {
151
- return `var(--${getName(refToken)})`;
152
- }
153
- return match;
154
- });
155
- }
156
-
157
- if (category === "palette") {
158
- // $type을 확인하여 borderRadius나 dimension이면 px 추가
159
- if(token.$type === "borderRadius" | token.$type === "fontSizes" | token.$type === "spacing" | token.$type === "sizing" | token.$type === "dimension") {
160
- if (!String(value).endsWith("px")) {
161
- return `--${name}: ${value}px;`;
162
- }
163
- }
164
- return `--${name}: ${value};`;
165
- }
166
- // 그 외 카테고리(테마)
167
- if (token.$type === "color") {
168
- return `--${name}: ${value};`;
169
- }
170
- if (token.$type === "spacing" || token.$type === "sizing") {
171
- if (!String(value).endsWith("px") && !String(value).includes("var(")) {
172
- return `--${name}: ${value}px;`;
173
- }
174
- return `--${name}: ${value};`;
175
- }
176
-
177
- return null;
178
- })
179
- .filter(Boolean)
180
- .join("\n");
181
-
182
- // global(@theme)인 경우에만 수집해둔 시멘틱 변수(semanticCss)를 추가
183
- // @theme: Tailwind 유틸리티 클래스 생성에 필요 (bg-primary, text-secondary 등)
184
- // Tailwind CSS v4의 @theme은 빌드 시 자동으로 :root에도 등록되므로 별도 :root 선언 불필요
185
- if (selector === "@theme") {
186
- return `@theme {\n${cssVariables}\n\n${semanticCss}\n}`;
187
- }
188
- return `${selector} {\n${cssVariables}\n} `;
189
- })
190
- .join("\n\n");
191
- },
192
- });
193
-
194
- // 3. theme와 관련된 커스텀 포맷 등록
195
- // theme.ts 파일을 위한 포맷 등록
196
- myStyleDictionary.registerFormat({
197
- name: "theme",
198
- format: function ({ dictionary }) {
199
- const groupedThemes = dictionary.allTokens.reduce((acc, token) => {
200
- const category = token.attributes.category;
201
- if (category === "palette") return acc;
202
-
203
- if (category.includes("-")) {
204
- const prefix = category.split("-")[0];
205
- if (!acc[prefix]) acc[prefix] = [];
206
- if (!acc[prefix].includes(category)) {
207
- acc[prefix].push(category);
208
- }
209
- } else {
210
- if (!acc.global) acc.global = [];
211
- if (!acc.global.includes(category)) {
212
- acc.global.push(category);
213
- }
214
- }
215
- return acc;
216
- }, { global: [] });
217
-
218
- return `export const themes: Record<string, string[]> = ${JSON.stringify(groupedThemes, null, 2)};`;
219
- },
220
- });
221
-
222
- // 3. 모든 플랫폼 빌드
223
- await myStyleDictionary.buildAllPlatforms();
@@ -1,251 +0,0 @@
1
- @theme {
2
- --color-gray-100: #f5f5f5;
3
- --color-gray-200: #e6e6e6;
4
- --color-gray-300: #dbdbdb;
5
- --color-gray-400: #d4d4d4;
6
- --color-gray-500: #cccccc;
7
- --color-gray-600: #bfbfbf;
8
- --color-gray-700: #b3b3b3;
9
- --color-gray-800: #a6a6a6;
10
- --color-gray-900: #999999;
11
- --color-gray-950: #707070;
12
- --color-dark-100: #111111;
13
- --color-dark-200: #222222;
14
- --color-dark-300: #333333;
15
- --color-dark-400: #444444;
16
- --color-dark-500: #555555;
17
- --color-dark-600: #666666;
18
- --color-dark-700: #777777;
19
- --color-dark-800: #888888;
20
- --color-dark-900: #999999;
21
- --color-dark-950: #b2b2b2;
22
- --color-blue-100: #e3f2fd;
23
- --color-blue-200: #bbdefb;
24
- --color-blue-300: #90caf9;
25
- --color-blue-400: #64b5f6;
26
- --color-blue-500: #2196f3;
27
- --color-blue-600: #1e88e5;
28
- --color-blue-700: #1976d2;
29
- --color-blue-800: #1565c0;
30
- --color-blue-900: #0d47a1;
31
- --color-blue-950: #0a2f6b;
32
- --color-indigo-100: #e8eaf6;
33
- --color-indigo-200: #c5cae9;
34
- --color-indigo-300: #7986cb;
35
- --color-indigo-400: #3f51b5;
36
- --color-indigo-500: #162c4e;
37
- --color-indigo-600: #122542;
38
- --color-indigo-700: #0e1d35;
39
- --color-indigo-800: #0a1628;
40
- --color-indigo-900: #070f1b;
41
- --color-indigo-950: #04080e;
42
- --color-red-100: #ffebee;
43
- --color-red-200: #ffcdd2;
44
- --color-red-300: #ef9a9a;
45
- --color-red-400: #e57373;
46
- --color-red-500: #f44336;
47
- --color-red-600: #e53935;
48
- --color-red-700: #d32f2f;
49
- --color-red-800: #c62828;
50
- --color-red-900: #b71c1c;
51
- --color-red-950: #7f1212;
52
- --color-yellow-100: #fff8e1;
53
- --color-yellow-200: #ffecb3;
54
- --color-yellow-300: #ffe082;
55
- --color-yellow-400: #ffd54f;
56
- --color-yellow-500: #ffb300;
57
- --color-yellow-600: #ffa000;
58
- --color-yellow-700: #ff8f00;
59
- --color-yellow-800: #ff6f00;
60
- --color-yellow-900: #e65100;
61
- --color-yellow-950: #9e3600;
62
- --color-green-100: #e8f5e9;
63
- --color-green-200: #c8e6c9;
64
- --color-green-300: #a5d6a7;
65
- --color-green-400: #81c784;
66
- --color-green-500: #4caf50;
67
- --color-green-600: #43a047;
68
- --color-green-700: #388e3c;
69
- --color-green-800: #2e7d32;
70
- --color-green-900: #1b5e20;
71
- --color-green-950: #104015;
72
- --color-black: #111111;
73
- --color-white: #fafafa;
74
- --color-primary: var(--color-blue-500);
75
- --color-secondary: var(--color-indigo-500);
76
- --color-danger: var(--color-red-500);
77
- --color-warning: var(--color-yellow-500);
78
- --color-info: var(--color-gray-900);
79
- --color-success: var(--color-green-500);
80
- --text-h1: 40px;
81
- --text-h2: 36px;
82
- --text-h3: 28px;
83
- --text-h4: 24px;
84
- --text-h5: 20px;
85
- --text-h6: 16px;
86
- --text-body: 16px;
87
- --text-sm: 12px;
88
- --font-weight-header: 700;
89
- --radius-common: 4px;
90
- --radius-circle: 10000000px;
91
- --font-spoqaNeo: Spoqa Han Sans Neo;
92
- --spacing-common-y: 12px;
93
- --spacing-common-x: 16px;
94
- --spacing-gap-small: 4px;
95
- --spacing-sm-y: 8px;
96
- --spacing-small: 20px;
97
-
98
- --color-bg-card: var(--bg-card);
99
- --color-bg-wrapper: var(--bg-wrapper);
100
- --color-bg-hover: var(--bg-hover);
101
- --color-bg-input-standard: var(--bg-input-standard);
102
- --color-bg-input-hover: var(--bg-input-hover);
103
- --color-bg-input-disabled: var(--bg-input-disabled);
104
- --color-text-title: var(--text-title);
105
- --color-text-body: var(--text-body);
106
- --color-text-sub: var(--text-sub);
107
- --color-text-standard: var(--text-standard);
108
- --color-text-active: var(--text-active);
109
- --color-text-placeholder: var(--text-placeholder);
110
- --color-text-disabled: var(--text-disabled);
111
- --color-border-standard: var(--border-standard);
112
- --color-border-active: var(--border-active);
113
- --color-button-primary-bg-disabled: var(--button-primary-bg-disabled);
114
- --color-button-primary-text-disabled: var(--button-primary-text-disabled);
115
- --color-button-primary-border-disabled: var(--button-primary-border-disabled);
116
- --color-button-secondary-bg-disabled: var(--button-secondary-bg-disabled);
117
- --color-button-secondary-text-disabled: var(--button-secondary-text-disabled);
118
- --color-button-secondary-border-disabled: var(--button-secondary-border-disabled);
119
- --color-button-success-bg-disabled: var(--button-success-bg-disabled);
120
- --color-button-success-text-disabled: var(--button-success-text-disabled);
121
- --color-button-success-border-disabled: var(--button-success-border-disabled);
122
- --color-button-danger-bg-disabled: var(--button-danger-bg-disabled);
123
- --color-button-danger-text-disabled: var(--button-danger-text-disabled);
124
- --color-button-danger-border-disabled: var(--button-danger-border-disabled);
125
- --color-button-warning-bg-disabled: var(--button-warning-bg-disabled);
126
- --color-button-warning-text-disabled: var(--button-warning-text-disabled);
127
- --color-button-warning-border-disabled: var(--button-warning-border-disabled);
128
- --color-button-gray-bg-disabled: var(--button-gray-bg-disabled);
129
- --color-button-gray-text-disabled: var(--button-gray-text-disabled);
130
- --color-button-gray-border-disabled: var(--button-gray-border-disabled);
131
- --color-table-header-bg: var(--table-header-bg);
132
- --color-table-header-text: var(--table-header-text);
133
- --color-table-header-border: var(--table-header-border);
134
- --color-table-body-bg: var(--table-body-bg);
135
- --color-table-body-bgEven: var(--table-body-bgEven);
136
- --color-table-body-text: var(--table-body-text);
137
- --color-table-body-border: var(--table-body-border);
138
- --color-pagination-bg-hover: var(--pagination-bg-hover);
139
- --color-callout-note-bg: var(--callout-note-bg);
140
- --color-callout-note-text: var(--callout-note-text);
141
- --color-callout-tip-bg: var(--callout-tip-bg);
142
- --color-callout-tip-text: var(--callout-tip-text);
143
- --color-callout-danger-bg: var(--callout-danger-bg);
144
- --color-callout-danger-text: var(--callout-danger-text);
145
- --color-callout-warning-bg: var(--callout-warning-bg);
146
- --color-callout-warning-text: var(--callout-warning-text);
147
- }
148
-
149
- .white {
150
- --bg-card: var(--color-white);
151
- --bg-wrapper: var(--color-gray-200);
152
- --bg-hover: var(--color-gray-200);
153
- --bg-input-standard: var(--color-gray-100);
154
- --bg-input-hover: var(--color-gray-200);
155
- --bg-input-disabled: var(--color-gray-500);
156
- --text-title: var(--color-dark-100);
157
- --text-body: var(--color-dark-400);
158
- --text-sub: var(--color-gray-950);
159
- --text-standard: var(--color-dark-300);
160
- --text-active: var(--color-gray-100);
161
- --text-placeholder: var(--color-gray-950);
162
- --text-disabled: var(--color-gray-950);
163
- --border-standard: var(--color-gray-500);
164
- --border-active: var(--color-dark-400);
165
- --button-primary-bg-disabled: var(--color-blue-200);
166
- --button-primary-text-disabled: var(--color-blue-400);
167
- --button-primary-border-disabled: var(--color-blue-200);
168
- --button-secondary-bg-disabled: var(--color-indigo-200);
169
- --button-secondary-text-disabled: var(--color-indigo-400);
170
- --button-secondary-border-disabled: var(--color-indigo-200);
171
- --button-success-bg-disabled: var(--color-green-200);
172
- --button-success-text-disabled: var(--color-green-400);
173
- --button-success-border-disabled: var(--color-green-200);
174
- --button-danger-bg-disabled: var(--color-red-200);
175
- --button-danger-text-disabled: var(--color-red-400);
176
- --button-danger-border-disabled: var(--color-red-200);
177
- --button-warning-bg-disabled: var(--color-yellow-200);
178
- --button-warning-text-disabled: var(--color-yellow-400);
179
- --button-warning-border-disabled: var(--color-yellow-200);
180
- --button-gray-bg-disabled: var(--color-gray-200);
181
- --button-gray-text-disabled: var(--color-gray-500);
182
- --button-gray-border-disabled: var(--color-gray-300);
183
- --table-header-bg: var(--color-gray-400);
184
- --table-header-text: var(--color-dark-500);
185
- --table-header-border: var(--color-gray-500);
186
- --table-body-bg: var(--color-white);
187
- --table-body-bgEven: var(--color-gray-100);
188
- --table-body-text: var(--color-dark-300);
189
- --table-body-border: var(--color-gray-300);
190
- --pagination-bg-hover: var(--color-gray-100);
191
- --callout-note-bg: var(--color-gray-100);
192
- --callout-note-text: var(--color-gray-900);
193
- --callout-tip-bg: var(--color-green-100);
194
- --callout-tip-text: var(--color-green-900);
195
- --callout-danger-bg: var(--color-red-100);
196
- --callout-danger-text: var(--color-red-900);
197
- --callout-warning-bg: var(--color-yellow-100);
198
- --callout-warning-text: var(--color-yellow-900);
199
- }
200
-
201
- .dark {
202
- --bg-card: var(--color-dark-200);
203
- --bg-wrapper: var(--color-black);
204
- --bg-hover: var(--color-dark-400);
205
- --bg-input-standard: var(--color-dark-300);
206
- --bg-input-hover: var(--color-dark-400);
207
- --bg-input-disabled: var(--color-dark-200);
208
- --text-title: var(--color-white);
209
- --text-body: var(--color-gray-200);
210
- --text-sub: var(--color-gray-600);
211
- --text-standard: var(--color-white);
212
- --text-active: var(--color-white);
213
- --text-placeholder: var(--color-gray-950);
214
- --text-disabled: var(--color-dark-400);
215
- --border-standard: var(--color-dark-400);
216
- --border-active: var(--color-gray-500);
217
- --button-primary-bg-disabled: var(--color-blue-900);
218
- --button-primary-text-disabled: var(--color-blue-700);
219
- --button-primary-border-disabled: var(--color-blue-800);
220
- --button-secondary-bg-disabled: var(--color-indigo-900);
221
- --button-secondary-text-disabled: var(--color-indigo-700);
222
- --button-secondary-border-disabled: var(--color-indigo-800);
223
- --button-success-bg-disabled: var(--color-green-900);
224
- --button-success-text-disabled: var(--color-green-700);
225
- --button-success-border-disabled: var(--color-green-800);
226
- --button-danger-bg-disabled: var(--color-red-900);
227
- --button-danger-text-disabled: var(--color-red-700);
228
- --button-danger-border-disabled: var(--color-red-800);
229
- --button-warning-bg-disabled: var(--color-yellow-900);
230
- --button-warning-text-disabled: var(--color-yellow-700);
231
- --button-warning-border-disabled: var(--color-yellow-800);
232
- --button-gray-bg-disabled: var(--color-gray-800);
233
- --button-gray-text-disabled: var(--color-gray-600);
234
- --button-gray-border-disabled: var(--color-gray-700);
235
- --table-header-bg: var(--color-dark-400);
236
- --table-header-text: var(--color-gray-200);
237
- --table-header-border: var(--color-dark-600);
238
- --table-body-bg: var(--color-dark-200);
239
- --table-body-bgEven: var(--color-dark-300);
240
- --table-body-text: var(--color-gray-200);
241
- --table-body-border: var(--color-dark-400);
242
- --pagination-bg-hover: var(--color-dark-300);
243
- --callout-note-bg: var(--color-dark-300);
244
- --callout-note-text: var(--color-white);
245
- --callout-tip-bg: var(--color-green-950);
246
- --callout-tip-text: var(--color-green-200);
247
- --callout-danger-bg: var(--color-red-950);
248
- --callout-danger-text: var(--color-red-200);
249
- --callout-warning-bg: var(--color-yellow-950);
250
- --callout-warning-text: var(--color-yellow-200);
251
- }
@@ -1,6 +0,0 @@
1
- export const themes: Record<string, string[]> = {
2
- "global": [
3
- "white",
4
- "dark"
5
- ]
6
- };
package/css/text.css DELETED
@@ -1,18 +0,0 @@
1
- body{
2
- @apply text-text-standard
3
- }
4
-
5
- h1, h2, h3, h4, h5, h6 {
6
- @apply text-text-title font-header
7
- }
8
-
9
- h1{ @apply text-h1 }
10
- h2{ @apply text-h2 }
11
- h3{ @apply text-h3 }
12
- h4{ @apply text-h4 }
13
- h5{ @apply text-h5 }
14
- h6{ @apply text-h6 }
15
-
16
- p{
17
- @apply text-text-body text-body
18
- }