@jztack/tokens 0.1.0 → 0.2.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/README.md ADDED
@@ -0,0 +1,72 @@
1
+ # @jztack/tokens
2
+
3
+ Design tokens for all `@jztack` apps: one source of truth, emitted as
4
+ Tailwind 4 CSS and as a restyle theme object. `@jztack/ui` (web) and
5
+ `@jztack/ui-native` (React Native) both consume this package; the three
6
+ are co-versioned on one release train.
7
+
8
+ ## Consumer contract
9
+
10
+ **Web (CSS)** — one import in your global stylesheet, then set
11
+ `data-theme` (and `lang`, where localized) on the root element:
12
+
13
+ ```css
14
+ @import "@jztack/tokens/css";
15
+ ```
16
+
17
+ That is the full bundle: the shared `@theme` scales (palette, spacing,
18
+ radii, breakpoints, type roles) plus every theme's `[data-theme]` scope.
19
+
20
+ **Single-theme apps** should import only their own theme instead — the
21
+ same shared scales and locale scopes, but no other theme's scope:
22
+
23
+ ```css
24
+ @import "@jztack/tokens/css/rentproof";
25
+ ```
26
+
27
+ Per-theme exports exist for every theme (`tabbie`, `commonboard`,
28
+ `wedding-ops`, `rentproof`, `twjs`). Most consumers never import this
29
+ package's CSS directly: `@jztack/ui/styles.css` already pulls in the
30
+ full bundle. Import a per-theme file directly when your app's entry CSS
31
+ is hand-wired and you want the smaller payload.
32
+
33
+ **React Native (restyle)** — `@jztack/tokens/restyle` exposes
34
+ `createThemeData(themeName)` and `getThemeForLocale(theme, locale)` for
35
+ `@shopify/restyle`; `@jztack/ui-native` wraps it.
36
+
37
+ **Data** — the package root exports the raw token data (palette,
38
+ semantic contract, themes, locale overrides) for tooling.
39
+
40
+ ## Knip consumer guidance
41
+
42
+ Two findings from the RentProof pilot (Dec 5, 2026), pre-answered:
43
+
44
+ 1. **Tokens consumed only via the CSS chain reads as unused.** If your
45
+ app imports tokens only through CSS (`@import "@jztack/tokens/css"`
46
+ inside your stylesheet, or transitively via `@jztack/ui/styles.css`),
47
+ knip sees no JS/TS import and reports `@jztack/tokens` as an unused
48
+ dependency. It is not unused — CSS imports are invisible to knip's
49
+ default analysis. Carry this ignore in your `knip.json`:
50
+
51
+ ```json
52
+ {
53
+ "ignoreDependencies": ["@jztack/tokens"]
54
+ }
55
+ ```
56
+
57
+ (Merge into your existing knip config; if you also import a per-theme
58
+ file only from CSS, the same single entry covers it — the dependency
59
+ is the package, not the subpath.)
60
+
61
+ 2. **pnpm 12 minimum-release-age vs knip itself.** On pnpm 12,
62
+ `minimumReleaseAge` is enforced against the lockfile before scripts
63
+ run, and a freshly published knip (and its `globster` dependency) can
64
+ fail that policy and break hooks that invoke knip. Add both to
65
+ `minimumReleaseAgeExclude` in your `pnpm-workspace.yaml` if you hit
66
+ it:
67
+
68
+ ```yaml
69
+ minimumReleaseAgeExclude:
70
+ - knip
71
+ - globster
72
+ ```
@@ -0,0 +1,269 @@
1
+ /* Generated by @jztack/tokens tools/emit.mjs — do not edit. */
2
+
3
+ @theme {
4
+ --color-slate-50: #f8fafc;
5
+ --color-slate-100: #f1f5f9;
6
+ --color-slate-200: #e2e8f0;
7
+ --color-slate-300: #cbd5e1;
8
+ --color-slate-400: #94a3b8;
9
+ --color-slate-500: #64748b;
10
+ --color-slate-600: #475569;
11
+ --color-slate-700: #334155;
12
+ --color-slate-800: #1e293b;
13
+ --color-slate-900: #0f172a;
14
+ --color-slate-950: #020617;
15
+ --color-stone-50: #fafaf9;
16
+ --color-stone-100: #f5f5f4;
17
+ --color-stone-200: #e7e5e4;
18
+ --color-stone-300: #d6d3d1;
19
+ --color-stone-400: #a8a29e;
20
+ --color-stone-500: #78716c;
21
+ --color-stone-600: #57534e;
22
+ --color-stone-700: #44403c;
23
+ --color-stone-800: #292524;
24
+ --color-stone-900: #1c1917;
25
+ --color-stone-950: #0c0a09;
26
+ --color-blue-50: #eff6ff;
27
+ --color-blue-100: #dbeafe;
28
+ --color-blue-200: #bfdbfe;
29
+ --color-blue-300: #93c5fd;
30
+ --color-blue-400: #60a5fa;
31
+ --color-blue-500: #3b82f6;
32
+ --color-blue-600: #2563eb;
33
+ --color-blue-700: #1d4ed8;
34
+ --color-blue-800: #1e40af;
35
+ --color-blue-900: #1e3a8a;
36
+ --color-blue-950: #172554;
37
+ --color-teal-50: #f0fdfa;
38
+ --color-teal-100: #ccfbf1;
39
+ --color-teal-200: #99f6e4;
40
+ --color-teal-300: #5eead4;
41
+ --color-teal-400: #2dd4bf;
42
+ --color-teal-500: #14b8a6;
43
+ --color-teal-600: #0d9488;
44
+ --color-teal-700: #0f766e;
45
+ --color-teal-800: #115e59;
46
+ --color-teal-900: #134e4a;
47
+ --color-teal-950: #042f2e;
48
+ --color-indigo-50: #eef2ff;
49
+ --color-indigo-100: #e0e7ff;
50
+ --color-indigo-200: #c7d2fe;
51
+ --color-indigo-300: #a5b4fc;
52
+ --color-indigo-400: #818cf8;
53
+ --color-indigo-500: #6366f1;
54
+ --color-indigo-600: #4f46e5;
55
+ --color-indigo-700: #4338ca;
56
+ --color-indigo-800: #3730a3;
57
+ --color-indigo-900: #312e81;
58
+ --color-indigo-950: #1e1b4b;
59
+ --color-emerald-50: #ecfdf5;
60
+ --color-emerald-100: #d1fae5;
61
+ --color-emerald-200: #a7f3d0;
62
+ --color-emerald-300: #6ee7b7;
63
+ --color-emerald-400: #34d399;
64
+ --color-emerald-500: #10b981;
65
+ --color-emerald-600: #059669;
66
+ --color-emerald-700: #047857;
67
+ --color-emerald-800: #065f46;
68
+ --color-emerald-900: #064e3b;
69
+ --color-emerald-950: #022c22;
70
+ --color-amber-50: #fffbeb;
71
+ --color-amber-100: #fef3c7;
72
+ --color-amber-200: #fde68a;
73
+ --color-amber-300: #fcd34d;
74
+ --color-amber-400: #fbbf24;
75
+ --color-amber-500: #f59e0b;
76
+ --color-amber-600: #d97706;
77
+ --color-amber-700: #b45309;
78
+ --color-amber-800: #92400e;
79
+ --color-amber-900: #78350f;
80
+ --color-amber-950: #451a03;
81
+ --color-red-50: #fef2f2;
82
+ --color-red-100: #fee2e2;
83
+ --color-red-200: #fecaca;
84
+ --color-red-300: #fca5a5;
85
+ --color-red-400: #f87171;
86
+ --color-red-500: #ef4444;
87
+ --color-red-600: #dc2626;
88
+ --color-red-700: #b91c1c;
89
+ --color-red-800: #991b1b;
90
+ --color-red-900: #7f1d1d;
91
+ --color-red-950: #450a0a;
92
+ --color-sky-50: #f0f9ff;
93
+ --color-sky-100: #e0f2fe;
94
+ --color-sky-200: #bae6fd;
95
+ --color-sky-300: #7dd3fc;
96
+ --color-sky-400: #38bdf8;
97
+ --color-sky-500: #0ea5e9;
98
+ --color-sky-600: #0284c7;
99
+ --color-sky-700: #0369a1;
100
+ --color-sky-800: #075985;
101
+ --color-sky-900: #0c4a6e;
102
+ --color-sky-950: #082f49;
103
+ --color-white: #ffffff;
104
+ --color-black: #000000;
105
+ --color-transparent: transparent;
106
+ --spacing-none: 0px;
107
+ --spacing-hairline: 1px;
108
+ --spacing-xxs: 2px;
109
+ --spacing-xs: 4px;
110
+ --spacing-s: 8px;
111
+ --spacing-sm: 12px;
112
+ --spacing-m: 16px;
113
+ --spacing-l: 24px;
114
+ --spacing-lg: 32px;
115
+ --spacing-xl: 40px;
116
+ --container-3xs: 16rem;
117
+ --width-3xs: 16rem;
118
+ --min-width-3xs: 16rem;
119
+ --max-width-3xs: 16rem;
120
+ --container-2xs: 18rem;
121
+ --width-2xs: 18rem;
122
+ --min-width-2xs: 18rem;
123
+ --max-width-2xs: 18rem;
124
+ --container-xs: 20rem;
125
+ --width-xs: 20rem;
126
+ --min-width-xs: 20rem;
127
+ --max-width-xs: 20rem;
128
+ --container-sm: 24rem;
129
+ --width-sm: 24rem;
130
+ --min-width-sm: 24rem;
131
+ --max-width-sm: 24rem;
132
+ --container-md: 28rem;
133
+ --width-md: 28rem;
134
+ --min-width-md: 28rem;
135
+ --max-width-md: 28rem;
136
+ --container-lg: 32rem;
137
+ --width-lg: 32rem;
138
+ --min-width-lg: 32rem;
139
+ --max-width-lg: 32rem;
140
+ --container-xl: 36rem;
141
+ --width-xl: 36rem;
142
+ --min-width-xl: 36rem;
143
+ --max-width-xl: 36rem;
144
+ --container-2xl: 42rem;
145
+ --width-2xl: 42rem;
146
+ --min-width-2xl: 42rem;
147
+ --max-width-2xl: 42rem;
148
+ --container-3xl: 48rem;
149
+ --width-3xl: 48rem;
150
+ --min-width-3xl: 48rem;
151
+ --max-width-3xl: 48rem;
152
+ --container-4xl: 56rem;
153
+ --width-4xl: 56rem;
154
+ --min-width-4xl: 56rem;
155
+ --max-width-4xl: 56rem;
156
+ --container-5xl: 64rem;
157
+ --width-5xl: 64rem;
158
+ --min-width-5xl: 64rem;
159
+ --max-width-5xl: 64rem;
160
+ --container-6xl: 72rem;
161
+ --width-6xl: 72rem;
162
+ --min-width-6xl: 72rem;
163
+ --max-width-6xl: 72rem;
164
+ --container-7xl: 80rem;
165
+ --width-7xl: 80rem;
166
+ --min-width-7xl: 80rem;
167
+ --max-width-7xl: 80rem;
168
+ --radius-sm: 4px;
169
+ --radius-md: 8px;
170
+ --radius-lg: 12px;
171
+ --radius-xl: 16px;
172
+ --radius-2xl: 20px;
173
+ --radius-full: 9999px;
174
+ --breakpoint-phone: 0px;
175
+ --breakpoint-tablet: 768px;
176
+ --breakpoint-desktop: 1024px;
177
+ --breakpoint-wide: 1440px;
178
+ --font-sans: "Geist Variable", sans-serif;
179
+ --text-header: 28px;
180
+ --text-header--line-height: 34px;
181
+ --text-title: 20px;
182
+ --text-title--line-height: 26px;
183
+ --text-subtitle: 16px;
184
+ --text-subtitle--line-height: 22px;
185
+ --text-body: 15px;
186
+ --text-body--line-height: 22px;
187
+ --text-body-strong: 15px;
188
+ --text-body-strong--line-height: 22px;
189
+ --text-body-secondary: 13px;
190
+ --text-body-secondary--line-height: 18px;
191
+ --text-button: 15px;
192
+ --text-button--line-height: 22px;
193
+ --text-badge: 12px;
194
+ --text-badge--line-height: 18px;
195
+ --text-error: 12px;
196
+ --text-error--line-height: 16px;
197
+ --text-kpi: 28px;
198
+ --text-kpi--line-height: 34px;
199
+ --text-caption: 11px;
200
+ --text-caption--line-height: 16px;
201
+ --text-defaults: 15px;
202
+ --text-defaults--line-height: 22px;
203
+ }
204
+
205
+ [data-theme="commonboard"] {
206
+ --background: #f1f5f9;
207
+ --background-secondary: #e2e8f0;
208
+ --foreground: #0f172a;
209
+ --foreground-secondary: #64748b;
210
+ --card: #ffffff;
211
+ --card-foreground: #0f172a;
212
+ --popover: #ffffff;
213
+ --popover-foreground: #0f172a;
214
+ --primary: #1d4ed8;
215
+ --primary-foreground: #ffffff;
216
+ --secondary: #f1f5f9;
217
+ --secondary-foreground: #334155;
218
+ --muted: #f1f5f9;
219
+ --muted-foreground: #475569;
220
+ --accent: #dbeafe;
221
+ --accent-bg: #eff6ff;
222
+ --accent-border: rgba(37, 99, 235, 0.2);
223
+ --accent-foreground: #1e40af;
224
+ --destructive: #dc2626;
225
+ --destructive-foreground: #ffffff;
226
+ --border: #cbd5e1;
227
+ --border-strong: #334155;
228
+ --input: #cbd5e1;
229
+ --ring: #2563eb;
230
+ --success: #10b981;
231
+ --success-bg: #d1fae5;
232
+ --success-foreground: #065f46;
233
+ --warning: #f59e0b;
234
+ --warning-bg: #fef3c7;
235
+ --warning-foreground: #92400e;
236
+ --danger: #ef4444;
237
+ --danger-bg: #fee2e2;
238
+ --danger-foreground: #991b1b;
239
+ --info: #0284c7;
240
+ --info-bg: #e0f2fe;
241
+ --info-foreground: #075985;
242
+ }
243
+
244
+ [lang="my"] {
245
+ --text-header: 24px;
246
+ --text-header--line-height: 38px;
247
+ --text-title: 18px;
248
+ --text-title--line-height: 28px;
249
+ --text-subtitle: 15px;
250
+ --text-subtitle--line-height: 24px;
251
+ --text-body: 14px;
252
+ --text-body--line-height: 24px;
253
+ --text-body-strong: 14px;
254
+ --text-body-strong--line-height: 24px;
255
+ --text-body-secondary: 12px;
256
+ --text-body-secondary--line-height: 24px;
257
+ --text-button: 14px;
258
+ --text-button--line-height: 28px;
259
+ --text-badge: 11px;
260
+ --text-badge--line-height: 20px;
261
+ --text-error: 11px;
262
+ --text-error--line-height: 18px;
263
+ --text-kpi: 24px;
264
+ --text-kpi--line-height: 38px;
265
+ --text-caption: 11px;
266
+ --text-caption--line-height: 20px;
267
+ --text-defaults: 14px;
268
+ --text-defaults--line-height: 24px;
269
+ }
@@ -0,0 +1,269 @@
1
+ /* Generated by @jztack/tokens tools/emit.mjs — do not edit. */
2
+
3
+ @theme {
4
+ --color-slate-50: #f8fafc;
5
+ --color-slate-100: #f1f5f9;
6
+ --color-slate-200: #e2e8f0;
7
+ --color-slate-300: #cbd5e1;
8
+ --color-slate-400: #94a3b8;
9
+ --color-slate-500: #64748b;
10
+ --color-slate-600: #475569;
11
+ --color-slate-700: #334155;
12
+ --color-slate-800: #1e293b;
13
+ --color-slate-900: #0f172a;
14
+ --color-slate-950: #020617;
15
+ --color-stone-50: #fafaf9;
16
+ --color-stone-100: #f5f5f4;
17
+ --color-stone-200: #e7e5e4;
18
+ --color-stone-300: #d6d3d1;
19
+ --color-stone-400: #a8a29e;
20
+ --color-stone-500: #78716c;
21
+ --color-stone-600: #57534e;
22
+ --color-stone-700: #44403c;
23
+ --color-stone-800: #292524;
24
+ --color-stone-900: #1c1917;
25
+ --color-stone-950: #0c0a09;
26
+ --color-blue-50: #eff6ff;
27
+ --color-blue-100: #dbeafe;
28
+ --color-blue-200: #bfdbfe;
29
+ --color-blue-300: #93c5fd;
30
+ --color-blue-400: #60a5fa;
31
+ --color-blue-500: #3b82f6;
32
+ --color-blue-600: #2563eb;
33
+ --color-blue-700: #1d4ed8;
34
+ --color-blue-800: #1e40af;
35
+ --color-blue-900: #1e3a8a;
36
+ --color-blue-950: #172554;
37
+ --color-teal-50: #f0fdfa;
38
+ --color-teal-100: #ccfbf1;
39
+ --color-teal-200: #99f6e4;
40
+ --color-teal-300: #5eead4;
41
+ --color-teal-400: #2dd4bf;
42
+ --color-teal-500: #14b8a6;
43
+ --color-teal-600: #0d9488;
44
+ --color-teal-700: #0f766e;
45
+ --color-teal-800: #115e59;
46
+ --color-teal-900: #134e4a;
47
+ --color-teal-950: #042f2e;
48
+ --color-indigo-50: #eef2ff;
49
+ --color-indigo-100: #e0e7ff;
50
+ --color-indigo-200: #c7d2fe;
51
+ --color-indigo-300: #a5b4fc;
52
+ --color-indigo-400: #818cf8;
53
+ --color-indigo-500: #6366f1;
54
+ --color-indigo-600: #4f46e5;
55
+ --color-indigo-700: #4338ca;
56
+ --color-indigo-800: #3730a3;
57
+ --color-indigo-900: #312e81;
58
+ --color-indigo-950: #1e1b4b;
59
+ --color-emerald-50: #ecfdf5;
60
+ --color-emerald-100: #d1fae5;
61
+ --color-emerald-200: #a7f3d0;
62
+ --color-emerald-300: #6ee7b7;
63
+ --color-emerald-400: #34d399;
64
+ --color-emerald-500: #10b981;
65
+ --color-emerald-600: #059669;
66
+ --color-emerald-700: #047857;
67
+ --color-emerald-800: #065f46;
68
+ --color-emerald-900: #064e3b;
69
+ --color-emerald-950: #022c22;
70
+ --color-amber-50: #fffbeb;
71
+ --color-amber-100: #fef3c7;
72
+ --color-amber-200: #fde68a;
73
+ --color-amber-300: #fcd34d;
74
+ --color-amber-400: #fbbf24;
75
+ --color-amber-500: #f59e0b;
76
+ --color-amber-600: #d97706;
77
+ --color-amber-700: #b45309;
78
+ --color-amber-800: #92400e;
79
+ --color-amber-900: #78350f;
80
+ --color-amber-950: #451a03;
81
+ --color-red-50: #fef2f2;
82
+ --color-red-100: #fee2e2;
83
+ --color-red-200: #fecaca;
84
+ --color-red-300: #fca5a5;
85
+ --color-red-400: #f87171;
86
+ --color-red-500: #ef4444;
87
+ --color-red-600: #dc2626;
88
+ --color-red-700: #b91c1c;
89
+ --color-red-800: #991b1b;
90
+ --color-red-900: #7f1d1d;
91
+ --color-red-950: #450a0a;
92
+ --color-sky-50: #f0f9ff;
93
+ --color-sky-100: #e0f2fe;
94
+ --color-sky-200: #bae6fd;
95
+ --color-sky-300: #7dd3fc;
96
+ --color-sky-400: #38bdf8;
97
+ --color-sky-500: #0ea5e9;
98
+ --color-sky-600: #0284c7;
99
+ --color-sky-700: #0369a1;
100
+ --color-sky-800: #075985;
101
+ --color-sky-900: #0c4a6e;
102
+ --color-sky-950: #082f49;
103
+ --color-white: #ffffff;
104
+ --color-black: #000000;
105
+ --color-transparent: transparent;
106
+ --spacing-none: 0px;
107
+ --spacing-hairline: 1px;
108
+ --spacing-xxs: 2px;
109
+ --spacing-xs: 4px;
110
+ --spacing-s: 8px;
111
+ --spacing-sm: 12px;
112
+ --spacing-m: 16px;
113
+ --spacing-l: 24px;
114
+ --spacing-lg: 32px;
115
+ --spacing-xl: 40px;
116
+ --container-3xs: 16rem;
117
+ --width-3xs: 16rem;
118
+ --min-width-3xs: 16rem;
119
+ --max-width-3xs: 16rem;
120
+ --container-2xs: 18rem;
121
+ --width-2xs: 18rem;
122
+ --min-width-2xs: 18rem;
123
+ --max-width-2xs: 18rem;
124
+ --container-xs: 20rem;
125
+ --width-xs: 20rem;
126
+ --min-width-xs: 20rem;
127
+ --max-width-xs: 20rem;
128
+ --container-sm: 24rem;
129
+ --width-sm: 24rem;
130
+ --min-width-sm: 24rem;
131
+ --max-width-sm: 24rem;
132
+ --container-md: 28rem;
133
+ --width-md: 28rem;
134
+ --min-width-md: 28rem;
135
+ --max-width-md: 28rem;
136
+ --container-lg: 32rem;
137
+ --width-lg: 32rem;
138
+ --min-width-lg: 32rem;
139
+ --max-width-lg: 32rem;
140
+ --container-xl: 36rem;
141
+ --width-xl: 36rem;
142
+ --min-width-xl: 36rem;
143
+ --max-width-xl: 36rem;
144
+ --container-2xl: 42rem;
145
+ --width-2xl: 42rem;
146
+ --min-width-2xl: 42rem;
147
+ --max-width-2xl: 42rem;
148
+ --container-3xl: 48rem;
149
+ --width-3xl: 48rem;
150
+ --min-width-3xl: 48rem;
151
+ --max-width-3xl: 48rem;
152
+ --container-4xl: 56rem;
153
+ --width-4xl: 56rem;
154
+ --min-width-4xl: 56rem;
155
+ --max-width-4xl: 56rem;
156
+ --container-5xl: 64rem;
157
+ --width-5xl: 64rem;
158
+ --min-width-5xl: 64rem;
159
+ --max-width-5xl: 64rem;
160
+ --container-6xl: 72rem;
161
+ --width-6xl: 72rem;
162
+ --min-width-6xl: 72rem;
163
+ --max-width-6xl: 72rem;
164
+ --container-7xl: 80rem;
165
+ --width-7xl: 80rem;
166
+ --min-width-7xl: 80rem;
167
+ --max-width-7xl: 80rem;
168
+ --radius-sm: 4px;
169
+ --radius-md: 8px;
170
+ --radius-lg: 12px;
171
+ --radius-xl: 16px;
172
+ --radius-2xl: 20px;
173
+ --radius-full: 9999px;
174
+ --breakpoint-phone: 0px;
175
+ --breakpoint-tablet: 768px;
176
+ --breakpoint-desktop: 1024px;
177
+ --breakpoint-wide: 1440px;
178
+ --font-sans: "Geist Variable", sans-serif;
179
+ --text-header: 28px;
180
+ --text-header--line-height: 34px;
181
+ --text-title: 20px;
182
+ --text-title--line-height: 26px;
183
+ --text-subtitle: 16px;
184
+ --text-subtitle--line-height: 22px;
185
+ --text-body: 15px;
186
+ --text-body--line-height: 22px;
187
+ --text-body-strong: 15px;
188
+ --text-body-strong--line-height: 22px;
189
+ --text-body-secondary: 13px;
190
+ --text-body-secondary--line-height: 18px;
191
+ --text-button: 15px;
192
+ --text-button--line-height: 22px;
193
+ --text-badge: 12px;
194
+ --text-badge--line-height: 18px;
195
+ --text-error: 12px;
196
+ --text-error--line-height: 16px;
197
+ --text-kpi: 28px;
198
+ --text-kpi--line-height: 34px;
199
+ --text-caption: 11px;
200
+ --text-caption--line-height: 16px;
201
+ --text-defaults: 15px;
202
+ --text-defaults--line-height: 22px;
203
+ }
204
+
205
+ [data-theme="rentproof"] {
206
+ --background: #fafaf9;
207
+ --background-secondary: #f5f5f4;
208
+ --foreground: #1c1917;
209
+ --foreground-secondary: #78716c;
210
+ --card: #ffffff;
211
+ --card-foreground: #1c1917;
212
+ --popover: #ffffff;
213
+ --popover-foreground: #1c1917;
214
+ --primary: #075e6b;
215
+ --primary-foreground: #ffffff;
216
+ --secondary: #f5f5f4;
217
+ --secondary-foreground: #44403c;
218
+ --muted: #f5f5f4;
219
+ --muted-foreground: #57534e;
220
+ --accent: #054b55;
221
+ --accent-bg: rgba(7, 94, 107, 0.08);
222
+ --accent-border: rgba(7, 94, 107, 0.2);
223
+ --accent-foreground: #ffffff;
224
+ --destructive: #dc2626;
225
+ --destructive-foreground: #ffffff;
226
+ --border: #e7e5e4;
227
+ --border-strong: #44403c;
228
+ --input: #d6d3d1;
229
+ --ring: #075e6b;
230
+ --success: #10b981;
231
+ --success-bg: #d1fae5;
232
+ --success-foreground: #065f46;
233
+ --warning: #f59e0b;
234
+ --warning-bg: #fef3c7;
235
+ --warning-foreground: #92400e;
236
+ --danger: #ef4444;
237
+ --danger-bg: #fee2e2;
238
+ --danger-foreground: #991b1b;
239
+ --info: #0284c7;
240
+ --info-bg: #e0f2fe;
241
+ --info-foreground: #075985;
242
+ }
243
+
244
+ [lang="my"] {
245
+ --text-header: 24px;
246
+ --text-header--line-height: 38px;
247
+ --text-title: 18px;
248
+ --text-title--line-height: 28px;
249
+ --text-subtitle: 15px;
250
+ --text-subtitle--line-height: 24px;
251
+ --text-body: 14px;
252
+ --text-body--line-height: 24px;
253
+ --text-body-strong: 14px;
254
+ --text-body-strong--line-height: 24px;
255
+ --text-body-secondary: 12px;
256
+ --text-body-secondary--line-height: 24px;
257
+ --text-button: 14px;
258
+ --text-button--line-height: 28px;
259
+ --text-badge: 11px;
260
+ --text-badge--line-height: 20px;
261
+ --text-error: 11px;
262
+ --text-error--line-height: 18px;
263
+ --text-kpi: 24px;
264
+ --text-kpi--line-height: 38px;
265
+ --text-caption: 11px;
266
+ --text-caption--line-height: 20px;
267
+ --text-defaults: 14px;
268
+ --text-defaults--line-height: 24px;
269
+ }