@idealyst/components 1.0.24 → 1.0.26

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 (110) hide show
  1. package/README.md +567 -567
  2. package/package.json +2 -2
  3. package/plugin/web.js +319 -185
  4. package/src/Avatar/Avatar.native.tsx +43 -43
  5. package/src/Avatar/Avatar.styles.tsx +66 -66
  6. package/src/Avatar/Avatar.web.tsx +50 -50
  7. package/src/Avatar/index.native.ts +1 -1
  8. package/src/Avatar/index.ts +1 -1
  9. package/src/Avatar/index.web.ts +1 -1
  10. package/src/Avatar/types.ts +42 -42
  11. package/src/Badge/Badge.native.tsx +42 -42
  12. package/src/Badge/Badge.styles.tsx +153 -153
  13. package/src/Badge/Badge.web.tsx +44 -44
  14. package/src/Badge/index.native.ts +1 -1
  15. package/src/Badge/index.ts +1 -1
  16. package/src/Badge/index.web.ts +1 -1
  17. package/src/Badge/types.ts +33 -33
  18. package/src/Button/Button.native.tsx +38 -38
  19. package/src/Button/Button.styles.tsx +214 -214
  20. package/src/Button/Button.types.ts +11 -11
  21. package/src/Button/Button.web.tsx +55 -55
  22. package/src/Button/index.native.ts +2 -2
  23. package/src/Button/index.ts +4 -4
  24. package/src/Button/index.web.ts +2 -2
  25. package/src/Button/types.ts +48 -48
  26. package/src/Card/Card.native.tsx +51 -51
  27. package/src/Card/Card.styles.tsx +239 -239
  28. package/src/Card/Card.web.tsx +61 -61
  29. package/src/Card/index.native.ts +2 -2
  30. package/src/Card/index.ts +4 -4
  31. package/src/Card/index.web.ts +2 -2
  32. package/src/Card/types.ts +58 -58
  33. package/src/Checkbox/Checkbox.native.tsx +98 -98
  34. package/src/Checkbox/Checkbox.styles.tsx +291 -291
  35. package/src/Checkbox/Checkbox.web.tsx +130 -130
  36. package/src/Checkbox/index.native.ts +2 -2
  37. package/src/Checkbox/index.ts +4 -4
  38. package/src/Checkbox/index.web.ts +2 -2
  39. package/src/Checkbox/types.ts +78 -78
  40. package/src/Divider/Divider.native.tsx +144 -144
  41. package/src/Divider/Divider.styles.tsx +601 -601
  42. package/src/Divider/Divider.web.tsx +72 -72
  43. package/src/Divider/index.native.ts +2 -2
  44. package/src/Divider/index.ts +4 -4
  45. package/src/Divider/index.web.ts +2 -2
  46. package/src/Divider/types.ts +53 -53
  47. package/src/Icon/Icon.native.tsx +38 -38
  48. package/src/Icon/Icon.styles.tsx +49 -49
  49. package/src/Icon/Icon.web.tsx +46 -46
  50. package/src/Icon/icon-types.ts +7452 -7452
  51. package/src/Icon/index.native.ts +2 -2
  52. package/src/Icon/index.ts +4 -4
  53. package/src/Icon/index.web.ts +2 -2
  54. package/src/Icon/types.ts +35 -35
  55. package/src/Input/Input.native.tsx +74 -74
  56. package/src/Input/Input.styles.tsx +176 -176
  57. package/src/Input/Input.web.tsx +70 -70
  58. package/src/Input/index.native.ts +2 -2
  59. package/src/Input/index.ts +4 -4
  60. package/src/Input/index.web.ts +2 -2
  61. package/src/Input/types.ts +68 -68
  62. package/src/Screen/Screen.native.tsx +40 -40
  63. package/src/Screen/Screen.styles.tsx +59 -59
  64. package/src/Screen/Screen.web.tsx +32 -32
  65. package/src/Screen/index.native.ts +1 -1
  66. package/src/Screen/index.ts +1 -1
  67. package/src/Screen/index.web.ts +1 -1
  68. package/src/Screen/types.ts +37 -37
  69. package/src/Text/Text.native.tsx +35 -35
  70. package/src/Text/Text.styles.tsx +66 -66
  71. package/src/Text/Text.web.tsx +40 -40
  72. package/src/Text/index.native.ts +2 -2
  73. package/src/Text/index.ts +4 -4
  74. package/src/Text/index.web.ts +2 -2
  75. package/src/Text/types.ts +38 -38
  76. package/src/View/View.native.tsx +55 -55
  77. package/src/View/View.styles.tsx +102 -102
  78. package/src/View/View.web.tsx +59 -59
  79. package/src/View/index.native.ts +2 -2
  80. package/src/View/index.ts +4 -4
  81. package/src/View/index.web.ts +2 -2
  82. package/src/View/types.ts +72 -72
  83. package/src/examples/AllExamples.tsx +71 -71
  84. package/src/examples/AvatarExamples.tsx +96 -96
  85. package/src/examples/BadgeExamples.tsx +199 -199
  86. package/src/examples/ButtonExamples.tsx +149 -149
  87. package/src/examples/CardExamples.tsx +175 -175
  88. package/src/examples/CheckboxExamples.tsx +216 -216
  89. package/src/examples/DividerExamples.tsx +217 -217
  90. package/src/examples/IconExamples.tsx +341 -341
  91. package/src/examples/InputExamples.tsx +133 -133
  92. package/src/examples/README.md +135 -135
  93. package/src/examples/ScreenExamples.tsx +153 -153
  94. package/src/examples/TextExamples.tsx +88 -88
  95. package/src/examples/ThemeExtensionExamples.tsx +90 -90
  96. package/src/examples/ValidationExamples.tsx +94 -94
  97. package/src/examples/ViewExamples.tsx +128 -128
  98. package/src/examples/extendedTheme.ts +328 -328
  99. package/src/examples/index.ts +14 -14
  100. package/src/index.native.ts +48 -48
  101. package/src/index.ts +47 -47
  102. package/src/theme/breakpoints.ts +8 -8
  103. package/src/theme/colorResolver.ts +217 -217
  104. package/src/theme/colors.ts +314 -314
  105. package/src/theme/defaultThemes.ts +325 -325
  106. package/src/theme/index.ts +187 -187
  107. package/src/theme/themeBuilder.ts +601 -601
  108. package/src/theme/unistyles.d.ts +5 -5
  109. package/src/theme/variantHelpers.ts +583 -583
  110. package/src/theme/variants.ts +55 -55
@@ -1,292 +1,292 @@
1
- import { StyleSheet } from 'react-native-unistyles';
2
-
3
- export const checkboxStyles = StyleSheet.create((theme) => ({
4
- wrapper: {
5
- flexDirection: 'column',
6
- gap: theme.spacing?.xs || 4,
7
-
8
- // Web-specific styles
9
- _web: {
10
- display: 'flex',
11
- flexDirection: 'column',
12
- alignItems: 'flex-start',
13
- width: 'auto',
14
- },
15
- },
16
-
17
- container: {
18
- flexDirection: 'row',
19
- alignItems: 'center',
20
- gap: theme.spacing?.sm || 8,
21
-
22
- // Web-specific styles for proper layout
23
- _web: {
24
- display: 'flex',
25
- flexDirection: 'row',
26
- alignItems: 'center',
27
- gap: theme.spacing?.sm || 8,
28
- width: 'fit-content',
29
- cursor: 'pointer',
30
- },
31
- },
32
-
33
- checkbox: {
34
- alignItems: 'center',
35
- justifyContent: 'center',
36
- borderRadius: theme.borderRadius?.sm || 4,
37
- position: 'relative',
38
- transition: 'all 0.2s ease',
39
-
40
- variants: {
41
- size: {
42
- small: {
43
- width: 16,
44
- height: 16,
45
- },
46
- medium: {
47
- width: 20,
48
- height: 20,
49
- },
50
- large: {
51
- width: 24,
52
- height: 24,
53
- },
54
- },
55
- intent: {
56
- primary: {
57
- backgroundColor: 'transparent',
58
- borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
59
- },
60
- success: {
61
- backgroundColor: 'transparent',
62
- borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
63
- },
64
- error: {
65
- backgroundColor: 'transparent',
66
- borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
67
- },
68
- warning: {
69
- backgroundColor: 'transparent',
70
- borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
71
- },
72
- neutral: {
73
- backgroundColor: 'transparent',
74
- borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
75
- },
76
- info: {
77
- backgroundColor: 'transparent',
78
- borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
79
- },
80
- },
81
- variant: {
82
- default: {
83
- // React Native border properties
84
- borderWidth: 1,
85
- borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
86
- // Web-specific border override
87
- _web: {
88
- border: `1px solid ${theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db'}`,
89
- },
90
- },
91
- outlined: {
92
- // React Native border properties
93
- borderWidth: 2,
94
- borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
95
- // Web-specific border override
96
- _web: {
97
- border: `2px solid ${theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db'}`,
98
- },
99
- },
100
- },
101
- checked: {
102
- true: {
103
- // Checked state handled by compound variants
104
- },
105
- false: {
106
- backgroundColor: 'transparent',
107
- },
108
- },
109
- disabled: {
110
- true: {
111
- opacity: 0.5,
112
- },
113
- false: {
114
- opacity: 1,
115
- },
116
- },
117
- },
118
-
119
- compoundVariants: [
120
- // Checked state for each intent
121
- {
122
- checked: true,
123
- intent: 'primary',
124
- styles: {
125
- backgroundColor: theme.intents?.primary?.main || '#3b82f6',
126
- borderColor: theme.intents?.primary?.main || '#3b82f6',
127
- _web: {
128
- border: `1px solid ${theme.intents?.primary?.main || '#3b82f6'}`,
129
- },
130
- },
131
- },
132
- {
133
- checked: true,
134
- intent: 'success',
135
- styles: {
136
- backgroundColor: theme.intents?.success?.main || '#22c55e',
137
- borderColor: theme.intents?.success?.main || '#22c55e',
138
- _web: {
139
- border: `1px solid ${theme.intents?.success?.main || '#22c55e'}`,
140
- },
141
- },
142
- },
143
- {
144
- checked: true,
145
- intent: 'error',
146
- styles: {
147
- backgroundColor: theme.intents?.error?.main || '#ef4444',
148
- borderColor: theme.intents?.error?.main || '#ef4444',
149
- _web: {
150
- border: `1px solid ${theme.intents?.error?.main || '#ef4444'}`,
151
- },
152
- },
153
- },
154
- {
155
- checked: true,
156
- intent: 'warning',
157
- styles: {
158
- backgroundColor: theme.intents?.warning?.main || '#f59e0b',
159
- borderColor: theme.intents?.warning?.main || '#f59e0b',
160
- _web: {
161
- border: `1px solid ${theme.intents?.warning?.main || '#f59e0b'}`,
162
- },
163
- },
164
- },
165
- {
166
- checked: true,
167
- intent: 'neutral',
168
- styles: {
169
- backgroundColor: theme.intents?.neutral?.main || '#6b7280',
170
- borderColor: theme.intents?.neutral?.main || '#6b7280',
171
- _web: {
172
- border: `1px solid ${theme.intents?.neutral?.main || '#6b7280'}`,
173
- },
174
- },
175
- },
176
- {
177
- checked: true,
178
- intent: 'info',
179
- styles: {
180
- backgroundColor: theme.intents?.info?.main || '#06b6d4',
181
- borderColor: theme.intents?.info?.main || '#06b6d4',
182
- _web: {
183
- border: `1px solid ${theme.intents?.info?.main || '#06b6d4'}`,
184
- },
185
- },
186
- },
187
- ],
188
-
189
- _web: {
190
- cursor: 'pointer',
191
- outline: 'none',
192
- display: 'flex',
193
- boxSizing: 'border-box',
194
- userSelect: 'none',
195
- WebkitAppearance: 'none',
196
- MozAppearance: 'none',
197
- appearance: 'none',
198
- _hover: {
199
- opacity: 0.8,
200
- },
201
- _focus: {
202
- outline: `2px solid ${theme.intents?.primary?.main || '#3b82f6'}`,
203
- outlineOffset: '2px',
204
- },
205
- },
206
- },
207
- }));
208
-
209
- export const checkboxLabelStyles = StyleSheet.create((theme) => ({
210
- label: {
211
- color: theme.colors?.text?.primary || theme.palettes?.gray?.[900] || '#111827',
212
-
213
- // Web-specific styles to prevent centering issues
214
- _web: {
215
- display: 'block',
216
- textAlign: 'left',
217
- margin: 0,
218
- padding: 0,
219
- },
220
-
221
- variants: {
222
- size: {
223
- small: {
224
- fontSize: theme.typography?.fontSize?.sm || 14,
225
- },
226
- medium: {
227
- fontSize: theme.typography?.fontSize?.md || 16,
228
- },
229
- large: {
230
- fontSize: theme.typography?.fontSize?.lg || 18,
231
- },
232
- },
233
- disabled: {
234
- true: {
235
- color: theme.colors?.text?.disabled || theme.palettes?.gray?.[400] || '#9ca3af',
236
- },
237
- false: {
238
- color: theme.colors?.text?.primary || theme.palettes?.gray?.[900] || '#111827',
239
- },
240
- },
241
- },
242
- },
243
- }));
244
-
245
- export const checkboxCheckmarkStyles = StyleSheet.create((theme) => ({
246
- checkmark: {
247
- position: 'absolute',
248
- color: '#ffffff',
249
- fontWeight: 'bold',
250
-
251
- variants: {
252
- size: {
253
- small: {
254
- fontSize: 10,
255
- },
256
- medium: {
257
- fontSize: 12,
258
- },
259
- large: {
260
- fontSize: 14,
261
- },
262
- },
263
- visible: {
264
- true: {
265
- opacity: 1,
266
- },
267
- false: {
268
- opacity: 0,
269
- },
270
- },
271
- },
272
- },
273
- }));
274
-
275
- export const checkboxHelperStyles = StyleSheet.create((theme) => ({
276
- helperText: {
277
- fontSize: theme.typography?.fontSize?.sm || 14,
278
- color: theme.colors?.text?.secondary || theme.palettes?.gray?.[600] || '#4b5563',
279
- marginTop: 2, // Reduced spacing between checkbox and helper text
280
-
281
- variants: {
282
- error: {
283
- true: {
284
- color: theme.intents?.error?.main || '#ef4444',
285
- },
286
- false: {
287
- color: theme.colors?.text?.secondary || theme.palettes?.gray?.[600] || '#4b5563',
288
- },
289
- },
290
- },
291
- },
1
+ import { StyleSheet } from 'react-native-unistyles';
2
+
3
+ export const checkboxStyles = StyleSheet.create((theme) => ({
4
+ wrapper: {
5
+ flexDirection: 'column',
6
+ gap: theme.spacing?.xs || 4,
7
+
8
+ // Web-specific styles
9
+ _web: {
10
+ display: 'flex',
11
+ flexDirection: 'column',
12
+ alignItems: 'flex-start',
13
+ width: 'auto',
14
+ },
15
+ },
16
+
17
+ container: {
18
+ flexDirection: 'row',
19
+ alignItems: 'center',
20
+ gap: theme.spacing?.sm || 8,
21
+
22
+ // Web-specific styles for proper layout
23
+ _web: {
24
+ display: 'flex',
25
+ flexDirection: 'row',
26
+ alignItems: 'center',
27
+ gap: theme.spacing?.sm || 8,
28
+ width: 'fit-content',
29
+ cursor: 'pointer',
30
+ },
31
+ },
32
+
33
+ checkbox: {
34
+ alignItems: 'center',
35
+ justifyContent: 'center',
36
+ borderRadius: theme.borderRadius?.sm || 4,
37
+ position: 'relative',
38
+ transition: 'all 0.2s ease',
39
+
40
+ variants: {
41
+ size: {
42
+ small: {
43
+ width: 16,
44
+ height: 16,
45
+ },
46
+ medium: {
47
+ width: 20,
48
+ height: 20,
49
+ },
50
+ large: {
51
+ width: 24,
52
+ height: 24,
53
+ },
54
+ },
55
+ intent: {
56
+ primary: {
57
+ backgroundColor: 'transparent',
58
+ borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
59
+ },
60
+ success: {
61
+ backgroundColor: 'transparent',
62
+ borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
63
+ },
64
+ error: {
65
+ backgroundColor: 'transparent',
66
+ borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
67
+ },
68
+ warning: {
69
+ backgroundColor: 'transparent',
70
+ borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
71
+ },
72
+ neutral: {
73
+ backgroundColor: 'transparent',
74
+ borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
75
+ },
76
+ info: {
77
+ backgroundColor: 'transparent',
78
+ borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
79
+ },
80
+ },
81
+ variant: {
82
+ default: {
83
+ // React Native border properties
84
+ borderWidth: 1,
85
+ borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
86
+ // Web-specific border override
87
+ _web: {
88
+ border: `1px solid ${theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db'}`,
89
+ },
90
+ },
91
+ outlined: {
92
+ // React Native border properties
93
+ borderWidth: 2,
94
+ borderColor: theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db',
95
+ // Web-specific border override
96
+ _web: {
97
+ border: `2px solid ${theme.colors?.border?.primary || theme.palettes?.gray?.[300] || '#d1d5db'}`,
98
+ },
99
+ },
100
+ },
101
+ checked: {
102
+ true: {
103
+ // Checked state handled by compound variants
104
+ },
105
+ false: {
106
+ backgroundColor: 'transparent',
107
+ },
108
+ },
109
+ disabled: {
110
+ true: {
111
+ opacity: 0.5,
112
+ },
113
+ false: {
114
+ opacity: 1,
115
+ },
116
+ },
117
+ },
118
+
119
+ compoundVariants: [
120
+ // Checked state for each intent
121
+ {
122
+ checked: true,
123
+ intent: 'primary',
124
+ styles: {
125
+ backgroundColor: theme.intents?.primary?.main || '#3b82f6',
126
+ borderColor: theme.intents?.primary?.main || '#3b82f6',
127
+ _web: {
128
+ border: `1px solid ${theme.intents?.primary?.main || '#3b82f6'}`,
129
+ },
130
+ },
131
+ },
132
+ {
133
+ checked: true,
134
+ intent: 'success',
135
+ styles: {
136
+ backgroundColor: theme.intents?.success?.main || '#22c55e',
137
+ borderColor: theme.intents?.success?.main || '#22c55e',
138
+ _web: {
139
+ border: `1px solid ${theme.intents?.success?.main || '#22c55e'}`,
140
+ },
141
+ },
142
+ },
143
+ {
144
+ checked: true,
145
+ intent: 'error',
146
+ styles: {
147
+ backgroundColor: theme.intents?.error?.main || '#ef4444',
148
+ borderColor: theme.intents?.error?.main || '#ef4444',
149
+ _web: {
150
+ border: `1px solid ${theme.intents?.error?.main || '#ef4444'}`,
151
+ },
152
+ },
153
+ },
154
+ {
155
+ checked: true,
156
+ intent: 'warning',
157
+ styles: {
158
+ backgroundColor: theme.intents?.warning?.main || '#f59e0b',
159
+ borderColor: theme.intents?.warning?.main || '#f59e0b',
160
+ _web: {
161
+ border: `1px solid ${theme.intents?.warning?.main || '#f59e0b'}`,
162
+ },
163
+ },
164
+ },
165
+ {
166
+ checked: true,
167
+ intent: 'neutral',
168
+ styles: {
169
+ backgroundColor: theme.intents?.neutral?.main || '#6b7280',
170
+ borderColor: theme.intents?.neutral?.main || '#6b7280',
171
+ _web: {
172
+ border: `1px solid ${theme.intents?.neutral?.main || '#6b7280'}`,
173
+ },
174
+ },
175
+ },
176
+ {
177
+ checked: true,
178
+ intent: 'info',
179
+ styles: {
180
+ backgroundColor: theme.intents?.info?.main || '#06b6d4',
181
+ borderColor: theme.intents?.info?.main || '#06b6d4',
182
+ _web: {
183
+ border: `1px solid ${theme.intents?.info?.main || '#06b6d4'}`,
184
+ },
185
+ },
186
+ },
187
+ ],
188
+
189
+ _web: {
190
+ cursor: 'pointer',
191
+ outline: 'none',
192
+ display: 'flex',
193
+ boxSizing: 'border-box',
194
+ userSelect: 'none',
195
+ WebkitAppearance: 'none',
196
+ MozAppearance: 'none',
197
+ appearance: 'none',
198
+ _hover: {
199
+ opacity: 0.8,
200
+ },
201
+ _focus: {
202
+ outline: `2px solid ${theme.intents?.primary?.main || '#3b82f6'}`,
203
+ outlineOffset: '2px',
204
+ },
205
+ },
206
+ },
207
+ }));
208
+
209
+ export const checkboxLabelStyles = StyleSheet.create((theme) => ({
210
+ label: {
211
+ color: theme.colors?.text?.primary || theme.palettes?.gray?.[900] || '#111827',
212
+
213
+ // Web-specific styles to prevent centering issues
214
+ _web: {
215
+ display: 'block',
216
+ textAlign: 'left',
217
+ margin: 0,
218
+ padding: 0,
219
+ },
220
+
221
+ variants: {
222
+ size: {
223
+ small: {
224
+ fontSize: theme.typography?.fontSize?.sm || 14,
225
+ },
226
+ medium: {
227
+ fontSize: theme.typography?.fontSize?.md || 16,
228
+ },
229
+ large: {
230
+ fontSize: theme.typography?.fontSize?.lg || 18,
231
+ },
232
+ },
233
+ disabled: {
234
+ true: {
235
+ color: theme.colors?.text?.disabled || theme.palettes?.gray?.[400] || '#9ca3af',
236
+ },
237
+ false: {
238
+ color: theme.colors?.text?.primary || theme.palettes?.gray?.[900] || '#111827',
239
+ },
240
+ },
241
+ },
242
+ },
243
+ }));
244
+
245
+ export const checkboxCheckmarkStyles = StyleSheet.create((theme) => ({
246
+ checkmark: {
247
+ position: 'absolute',
248
+ color: '#ffffff',
249
+ fontWeight: 'bold',
250
+
251
+ variants: {
252
+ size: {
253
+ small: {
254
+ fontSize: 10,
255
+ },
256
+ medium: {
257
+ fontSize: 12,
258
+ },
259
+ large: {
260
+ fontSize: 14,
261
+ },
262
+ },
263
+ visible: {
264
+ true: {
265
+ opacity: 1,
266
+ },
267
+ false: {
268
+ opacity: 0,
269
+ },
270
+ },
271
+ },
272
+ },
273
+ }));
274
+
275
+ export const checkboxHelperStyles = StyleSheet.create((theme) => ({
276
+ helperText: {
277
+ fontSize: theme.typography?.fontSize?.sm || 14,
278
+ color: theme.colors?.text?.secondary || theme.palettes?.gray?.[600] || '#4b5563',
279
+ marginTop: 2, // Reduced spacing between checkbox and helper text
280
+
281
+ variants: {
282
+ error: {
283
+ true: {
284
+ color: theme.intents?.error?.main || '#ef4444',
285
+ },
286
+ false: {
287
+ color: theme.colors?.text?.secondary || theme.palettes?.gray?.[600] || '#4b5563',
288
+ },
289
+ },
290
+ },
291
+ },
292
292
  }));