@mekari/pixel3-theme 0.2.1 → 0.2.2-dev.1

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 (94) hide show
  1. package/dist/conditions.d.mts +4 -1
  2. package/dist/conditions.d.ts +4 -1
  3. package/dist/index.js +3423 -606
  4. package/dist/index.mjs +3382 -565
  5. package/dist/recipes/airene-button.d.mts +5 -0
  6. package/dist/recipes/airene-button.d.ts +5 -0
  7. package/dist/recipes/index.d.mts +1 -0
  8. package/dist/recipes/index.d.ts +1 -0
  9. package/dist/semanticTokens/colors.d.mts +892 -0
  10. package/dist/semanticTokens/colors.d.ts +892 -0
  11. package/dist/semanticTokens/index.d.mts +951 -0
  12. package/dist/semanticTokens/index.d.ts +951 -0
  13. package/dist/semanticTokens/spacing.d.mts +59 -0
  14. package/dist/semanticTokens/spacing.d.ts +59 -0
  15. package/dist/tokens/borders.d.mts +2 -2
  16. package/dist/tokens/borders.d.ts +2 -2
  17. package/dist/tokens/colors.d.mts +40 -34
  18. package/dist/tokens/colors.d.ts +40 -34
  19. package/dist/tokens/index.d.mts +62 -35
  20. package/dist/tokens/index.d.ts +62 -35
  21. package/dist/tokens/radii.d.mts +5 -0
  22. package/dist/tokens/radii.d.ts +5 -0
  23. package/dist/tokens/spacing.d.mts +16 -0
  24. package/dist/tokens/spacing.d.ts +16 -0
  25. package/dist/tokens-next/borders.d.mts +22 -0
  26. package/dist/tokens-next/borders.d.ts +22 -0
  27. package/dist/tokens-next/colors.d.mts +444 -0
  28. package/dist/tokens-next/colors.d.ts +444 -0
  29. package/dist/tokens-next/index.d.mts +775 -0
  30. package/dist/tokens-next/index.d.ts +775 -0
  31. package/dist/tokens-next/radii.d.mts +26 -0
  32. package/dist/tokens-next/radii.d.ts +26 -0
  33. package/dist/tokens-next/shadows.d.mts +28 -0
  34. package/dist/tokens-next/shadows.d.ts +28 -0
  35. package/dist/tokens-next/spacing.d.mts +51 -0
  36. package/dist/tokens-next/spacing.d.ts +51 -0
  37. package/package.json +3 -2
  38. package/src/conditions.ts +6 -4
  39. package/src/global-css.ts +4 -0
  40. package/src/index.ts +15 -2
  41. package/src/keyframes.ts +5 -0
  42. package/src/recipes/accordion.ts +60 -10
  43. package/src/recipes/airene-button.ts +120 -0
  44. package/src/recipes/autocomplete.ts +6 -1
  45. package/src/recipes/avatar.ts +101 -24
  46. package/src/recipes/badge.ts +174 -50
  47. package/src/recipes/banner.ts +36 -12
  48. package/src/recipes/broadcast.ts +78 -12
  49. package/src/recipes/button.ts +239 -11
  50. package/src/recipes/carousel.ts +5 -0
  51. package/src/recipes/chart.ts +10 -5
  52. package/src/recipes/checkbox.ts +72 -15
  53. package/src/recipes/color-picker.ts +74 -23
  54. package/src/recipes/date-picker.ts +165 -31
  55. package/src/recipes/divider.ts +5 -1
  56. package/src/recipes/dropzone.ts +80 -8
  57. package/src/recipes/form-control.ts +12 -3
  58. package/src/recipes/icon.ts +3 -1
  59. package/src/recipes/index.ts +3 -1
  60. package/src/recipes/input-tag.ts +48 -8
  61. package/src/recipes/input.ts +105 -18
  62. package/src/recipes/modal.ts +38 -10
  63. package/src/recipes/popover.ts +28 -9
  64. package/src/recipes/progress.ts +9 -2
  65. package/src/recipes/radio.ts +56 -23
  66. package/src/recipes/rich-text-editor.ts +32 -6
  67. package/src/recipes/segmented-control.ts +48 -8
  68. package/src/recipes/select.ts +42 -0
  69. package/src/recipes/slider.ts +46 -6
  70. package/src/recipes/table.ts +26 -11
  71. package/src/recipes/tabs.ts +36 -4
  72. package/src/recipes/tag.ts +44 -14
  73. package/src/recipes/text.ts +0 -1
  74. package/src/recipes/textarea.ts +0 -46
  75. package/src/recipes/timeline.ts +42 -8
  76. package/src/recipes/toast.ts +21 -5
  77. package/src/recipes/toggle.ts +63 -13
  78. package/src/recipes/tooltip.ts +6 -1
  79. package/src/recipes/upload.ts +51 -16
  80. package/src/semanticTokens/colors.ts +893 -0
  81. package/src/semanticTokens/index.ts +8 -0
  82. package/src/semanticTokens/spacing.ts +59 -0
  83. package/src/text-styles.ts +1 -1
  84. package/src/tokens/borders.ts +1 -1
  85. package/src/tokens/colors.ts +19 -23
  86. package/src/tokens/index.ts +2 -2
  87. package/src/tokens/radii.ts +5 -5
  88. package/src/tokens/spacing.ts +17 -17
  89. package/src/tokens-next/borders.ts +10 -0
  90. package/src/tokens-next/colors.ts +172 -0
  91. package/src/tokens-next/index.ts +32 -0
  92. package/src/tokens-next/radii.ts +10 -0
  93. package/src/tokens-next/shadows.ts +28 -0
  94. package/src/tokens-next/spacing.ts +16 -0
@@ -38,28 +38,94 @@ const broadcastSlotRecipe = defineSlotRecipe({
38
38
  marginLeft: '3',
39
39
  _hover: {
40
40
  color: 'white!'
41
+ },
42
+ _nextTheme: {
43
+ color: 'icon.inverse!',
44
+ _hover: {
45
+ color: 'icon.inverse!'
46
+ },
41
47
  }
42
48
  }
43
49
  },
44
50
  variants: {
45
51
  variant: {
46
52
  announcement: {
47
- container: { backgroundColor: 'stone.400' },
48
- icon: { color: 'white' },
49
- label: { color: 'white' },
50
- textLink: { color: 'white' }
53
+ container: {
54
+ backgroundColor: 'stone.400',
55
+ _nextTheme: {
56
+ backgroundColor: 'background.neutral.bold',
57
+ }
58
+ },
59
+ icon: {
60
+ color: 'white',
61
+ _nextTheme: {
62
+ color: 'icon.inverse'
63
+ }
64
+ },
65
+ label: {
66
+ color: 'white',
67
+ _nextTheme: {
68
+ color: 'text.inverse'
69
+ }
70
+ },
71
+ textLink: {
72
+ color: 'white',
73
+ _nextTheme: {
74
+ color: 'text.inverse'
75
+ }
76
+ }
51
77
  },
52
78
  information: {
53
- container: { backgroundColor: 'violet.400' },
54
- icon: { color: 'white' },
55
- label: { color: 'white' },
56
- textLink: { color: 'white' }
79
+ container: {
80
+ backgroundColor: 'violet.400',
81
+ _nextTheme: {
82
+ backgroundColor: 'background.highlight.bold',
83
+ }
84
+ },
85
+ icon: {
86
+ color: 'white',
87
+ _nextTheme: {
88
+ color: 'icon.inverse.static'
89
+ }
90
+ },
91
+ label: {
92
+ color: 'white',
93
+ _nextTheme: {
94
+ color: 'text.inverse'
95
+ }
96
+ },
97
+ textLink: {
98
+ color: 'white',
99
+ _nextTheme: {
100
+ color: 'text.inverse'
101
+ }
102
+ }
57
103
  },
58
104
  important: {
59
- container: { backgroundColor: 'amber.100' },
60
- icon: { color: 'dark' },
61
- label: { color: 'dark' },
62
- textLink: { color: 'dark' }
105
+ container: {
106
+ backgroundColor: 'amber.100',
107
+ _nextTheme: {
108
+ backgroundColor: 'background.warning.bold',
109
+ }
110
+ },
111
+ icon: {
112
+ color: 'dark',
113
+ _nextTheme: {
114
+ color: 'icon.warning.inverse'
115
+ }
116
+ },
117
+ label: {
118
+ color: 'dark',
119
+ _nextTheme: {
120
+ color: 'text.warning.inverse'
121
+ }
122
+ },
123
+ textLink: {
124
+ color: 'dark',
125
+ _nextTheme: {
126
+ color: 'text.warning.inverse'
127
+ }
128
+ }
63
129
  }
64
130
  }
65
131
  },
@@ -11,7 +11,7 @@ const buttonRecipe = defineRecipe({
11
11
  gap: '2',
12
12
  height: 'fit-content',
13
13
  width: 'fit-content',
14
- borderWidth: '1px',
14
+ borderWidth: 'sm',
15
15
  whiteSpace: 'nowrap',
16
16
  userSelect: 'none',
17
17
  appearance: 'none',
@@ -46,6 +46,22 @@ const buttonRecipe = defineRecipe({
46
46
  },
47
47
  _loading: {
48
48
  background: 'blue.400'
49
+ },
50
+ _nextTheme: {
51
+ color: 'text.inverse',
52
+ background: 'background.brand.bold',
53
+ borderColor: 'background.brand.bold',
54
+ _hover: {
55
+ background: 'background.brand.bold.hovered',
56
+ borderColor: 'background.brand.bold.hovered'
57
+ },
58
+ _active: {
59
+ background: 'background.brand.bold.pressed',
60
+ borderColor: 'background.brand.bold.pressed'
61
+ },
62
+ _loading: {
63
+ background: 'background.brand.bold'
64
+ }
49
65
  }
50
66
  },
51
67
  secondary: {
@@ -62,6 +78,22 @@ const buttonRecipe = defineRecipe({
62
78
  },
63
79
  _loading: {
64
80
  background: 'white'
81
+ },
82
+ _nextTheme: {
83
+ color: 'text.link',
84
+ background: 'background.neutral',
85
+ borderColor: 'border.default',
86
+ _hover: {
87
+ background: 'background.neutral.hovered',
88
+ borderColor: 'border.default'
89
+ },
90
+ _active: {
91
+ background: 'background.neutral.pressed',
92
+ borderColor: 'border.default'
93
+ },
94
+ _loading: {
95
+ background: 'background.neutral'
96
+ }
65
97
  }
66
98
  },
67
99
  ghost: {
@@ -78,6 +110,22 @@ const buttonRecipe = defineRecipe({
78
110
  },
79
111
  _loading: {
80
112
  background: 'transparent'
113
+ },
114
+ _nextTheme: {
115
+ color: 'text.secondary',
116
+ background: 'transparent',
117
+ borderColor: 'transparent',
118
+ _hover: {
119
+ background: 'background.neutral.hovered',
120
+ borderColor: 'background.neutral.hovered'
121
+ },
122
+ _active: {
123
+ background: 'background.neutral.pressed',
124
+ borderColor: 'background.neutral.pressed'
125
+ },
126
+ _loading: {
127
+ background: 'transparent'
128
+ }
81
129
  }
82
130
  },
83
131
  danger: {
@@ -98,6 +146,58 @@ const buttonRecipe = defineRecipe({
98
146
  },
99
147
  _loading: {
100
148
  background: 'red.400'
149
+ },
150
+ _nextTheme: {
151
+ color: 'text.inverse',
152
+ background: 'background.danger.bold',
153
+ borderColor: 'background.danger.bold',
154
+ _hover: {
155
+ background: 'background.danger.bold.hovered',
156
+ borderColor: 'background.danger.bold.hovered'
157
+ },
158
+ _active: {
159
+ background: 'background.danger.bold.pressed',
160
+ borderColor: 'background.danger.bold.pressed'
161
+ },
162
+ _focusVisible: {
163
+ borderColor: 'border.focused',
164
+ boxShadow: 'focus'
165
+ },
166
+ _loading: {
167
+ background: 'background.danger.bold'
168
+ }
169
+ }
170
+ },
171
+ tertiary: {
172
+ color: 'white',
173
+ background: '#282E33',
174
+ borderColor: '#282E33',
175
+ _hover: {
176
+ background: '#38414A',
177
+ borderColor: '#38414A'
178
+ },
179
+ _active: {
180
+ background: '#454F59',
181
+ borderColor: '#454F59'
182
+ },
183
+ _loading: {
184
+ background: '#282E33'
185
+ },
186
+ _nextTheme: {
187
+ color: 'text.inverse.static',
188
+ background: 'background.tertiary',
189
+ borderColor: 'background.tertiary',
190
+ _hover: {
191
+ background: 'background.tertiary.hovered',
192
+ borderColor: 'background.tertiary.hovered'
193
+ },
194
+ _active: {
195
+ background: 'background.tertiary.pressed',
196
+ borderColor: 'background.tertiary.pressed'
197
+ },
198
+ _loading: {
199
+ background: 'background.tertiary'
200
+ }
101
201
  }
102
202
  },
103
203
  textLink: {
@@ -116,12 +216,49 @@ const buttonRecipe = defineRecipe({
116
216
  borderColor: 'transparent',
117
217
  _hover: {
118
218
  borderColor: 'transparent',
119
- color: 'gray.400',
219
+ color: 'gray.400'
120
220
  }
121
221
  },
122
222
  _loading: {
123
223
  background: 'white'
224
+ },
225
+ _nextTheme: {
226
+ color: 'text.link',
227
+ background: 'transparent',
228
+ borderColor: 'transparent',
229
+ _hover: {
230
+ color: 'text.link',
231
+ textDecoration: 'underline'
232
+ },
233
+ _active: {
234
+ color: 'text.link.pressed'
235
+ },
236
+ _disabled: {
237
+ color: 'text.disabled',
238
+
239
+ _hover: {
240
+ color: 'text.disabled',
241
+ textDecoration: 'none'
242
+ }
243
+ },
244
+ _loading: {
245
+ background: 'text.inverse'
246
+ }
124
247
  }
248
+ },
249
+ unstyled: {
250
+ display: 'inline',
251
+ color: 'inherit',
252
+ backgroundColor: 'transparent',
253
+ border: 'none',
254
+ outline: 'none',
255
+ margin: '0',
256
+ padding: '0',
257
+ fontSize: 'inherit',
258
+ fontWeight: 'inherit',
259
+ lineHeight: 'inherit',
260
+ userSelect: 'inherit',
261
+ textAlign: 'inherit'
125
262
  }
126
263
  },
127
264
  size: {
@@ -134,11 +271,40 @@ const buttonRecipe = defineRecipe({
134
271
  },
135
272
  _hasIcon: {
136
273
  paddingX: '1',
137
- paddingY: '1 !important'
274
+ paddingY: '1',
275
+ _nextTheme: {
276
+ paddingX: '3xs',
277
+ paddingY: '3xs'
278
+ }
138
279
  },
139
280
  _hasLabel: {
140
- paddingX: '2 !important',
281
+ paddingX: '2',
141
282
  paddingY: '1',
283
+ _hasIcon: {
284
+ '[data-icon-position=left]': {
285
+ paddingLeft: '1.5',
286
+ paddingRight: '2'
287
+ },
288
+ '[data-icon-position=right]': {
289
+ paddingLeft: '2',
290
+ paddingRight: '1.5'
291
+ },
292
+ },
293
+
294
+ _nextTheme: {
295
+ paddingX: 'xs',
296
+ paddingY: '3xs',
297
+ _hasIcon: {
298
+ '[data-icon-position=left]': {
299
+ paddingLeft: '2xs',
300
+ paddingRight: 'xs'
301
+ },
302
+ '[data-icon-position=right]': {
303
+ paddingLeft: 'xs',
304
+ paddingRight: '2xs'
305
+ }
306
+ }
307
+ }
142
308
  }
143
309
  },
144
310
  md: {
@@ -150,11 +316,40 @@ const buttonRecipe = defineRecipe({
150
316
  },
151
317
  _hasIcon: {
152
318
  paddingX: '1.5',
153
- paddingY: '1.5 !important'
319
+ paddingY: '1.5',
320
+ _nextTheme: {
321
+ paddingX: 'xs',
322
+ paddingY: 'xs'
323
+ }
154
324
  },
155
325
  _hasLabel: {
156
- paddingX: '4 !important',
326
+ paddingX: '4',
157
327
  paddingY: '2',
328
+ _hasIcon: {
329
+ '&[data-icon-position=left]': {
330
+ paddingLeft: '3 !important',
331
+ paddingRight: '4 !important'
332
+ },
333
+ '& [data-icon-position=right]': {
334
+ paddingLeft: '4 !important',
335
+ paddingRight: '3 !important'
336
+ }
337
+ },
338
+
339
+ _nextTheme: {
340
+ paddingX: 'md',
341
+ paddingY: 'xs',
342
+ _hasIcon: {
343
+ '[data-icon-position=left]': {
344
+ paddingLeft: 'sm !important',
345
+ paddingRight: 'md !important'
346
+ },
347
+ '[data-icon-position=right]': {
348
+ paddingLeft: 'md !important',
349
+ paddingRight: 'sm !important'
350
+ }
351
+ }
352
+ }
158
353
  }
159
354
  }
160
355
  }
@@ -166,7 +361,11 @@ const buttonRecipe = defineRecipe({
166
361
  borderRadius: 'sm',
167
362
  _focusVisible: {
168
363
  borderColor: 'white',
169
- boxShadow: 'focus'
364
+ boxShadow: 'focus',
365
+ _nextTheme: {
366
+ borderColor: 'border.focused',
367
+ boxShadow: 'focus'
368
+ }
170
369
  }
171
370
  }
172
371
  },
@@ -177,16 +376,20 @@ const buttonRecipe = defineRecipe({
177
376
  }
178
377
  },
179
378
  {
180
- variant: ['primary', 'secondary', 'ghost'],
379
+ variant: ['primary', 'secondary', 'ghost', 'tertiary'],
181
380
  css: {
182
381
  _focusVisible: {
183
382
  borderColor: 'blue.400',
184
- boxShadow: 'focus'
383
+ boxShadow: 'focus',
384
+ _nextTheme: {
385
+ borderColor: 'border.focused',
386
+ boxShadow: 'focus'
387
+ }
185
388
  }
186
389
  }
187
390
  },
188
391
  {
189
- variant: ['primary', 'secondary', 'ghost', 'danger'],
392
+ variant: ['primary', 'secondary', 'ghost', 'danger', 'tertiary'],
190
393
  css: {
191
394
  _disabled: {
192
395
  cursor: 'not-allowed',
@@ -195,7 +398,32 @@ const buttonRecipe = defineRecipe({
195
398
  borderColor: 'gray.50',
196
399
  _hover: {
197
400
  background: 'gray.50',
198
- borderColor: 'gray.50'
401
+ borderColor: 'gray.50',
402
+ _hasIcon: {
403
+ background: 'transparent',
404
+ borderColor: 'transparent'
405
+ },
406
+ },
407
+ _hasIcon: {
408
+ background: 'transparent',
409
+ borderColor: 'transparent'
410
+ },
411
+ _nextTheme: {
412
+ color: 'text.disabled',
413
+ background: 'background.disabled',
414
+ borderColor: 'background.disabled',
415
+ _hover: {
416
+ background: 'background.disabled',
417
+ borderColor: 'background.disabled',
418
+ _hasIcon: {
419
+ background: 'transparent',
420
+ borderColor: 'transparent'
421
+ },
422
+ },
423
+ _hasIcon: {
424
+ background: 'transparent',
425
+ borderColor: 'transparent'
426
+ },
199
427
  }
200
428
  }
201
429
  }
@@ -19,6 +19,11 @@ const carouselSlotRecipe = defineSlotRecipe({
19
19
  borderColor: 'gray.100',
20
20
  overflow: 'hidden',
21
21
  boxSizing: 'border-box',
22
+ _nextTheme: {
23
+ background: 'background.neutral.subtle',
24
+ borderRadius: 'md',
25
+ borderColor: 'border.default'
26
+ }
22
27
  },
23
28
  buttonRight: {
24
29
  display: 'flex',
@@ -46,7 +46,6 @@ const chartSlotRecipe = defineSlotRecipe({
46
46
  flexDirection: 'row',
47
47
  flexWrap: 'wrap',
48
48
  alignItems: 'center',
49
- wrap: 'wrap',
50
49
  width: 'full',
51
50
  gap: '4',
52
51
  py: '2',
@@ -64,14 +63,20 @@ const chartSlotRecipe = defineSlotRecipe({
64
63
  },
65
64
  chartTooltip: {
66
65
  position: 'absolute',
67
- backgroundColor: 'white',
68
- border: '1px solid',
69
- borderColor: 'gray.400',
70
66
  borderRadius: 'md',
67
+ borderWidth: '1px',
68
+ borderColor: 'gray.400',
69
+ background: 'white',
71
70
  boxShadow: 'sm',
72
71
  zIndex: 'popover',
73
72
  pointerEvents: 'none',
74
- transition: 'all 0.1s ease 0s'
73
+ transition: 'all 0.1s ease 0s',
74
+ _nextTheme: {
75
+ borderRadius: 'xl',
76
+ borderColor: 'border.default',
77
+ background: 'background.stage',
78
+ boxShadow: 'sm'
79
+ }
75
80
  },
76
81
  tooltipWrapper: {
77
82
  display: 'flex',
@@ -7,27 +7,38 @@ const checkboxSlotRecipe = defineSlotRecipe({
7
7
  base: {
8
8
  root: {
9
9
  position: 'relative',
10
- display: 'inline-flex',
10
+ width: 'fit-content',
11
+ display: 'flex',
11
12
  alignItems: 'center',
12
- justifyContent: 'center',
13
- gap: '2',
13
+ justifyContent: 'flex-start',
14
+ gap: '3',
14
15
  cursor: 'pointer',
15
16
  outline: 'none',
16
17
  '&[data-has-description=true]': {
17
18
  alignItems: 'flex-start',
18
19
  '& .mp-checkbox__control': {
19
- marginTop: '1'
20
+ marginTop: '2px'
20
21
  }
21
22
  },
22
23
  '& .mp-shared__hidden': {
23
- '&:focus + .mp-checkbox__control': {
24
- borderColor: 'blue.400',
25
- boxShadow: 'focus'
24
+ _focusVisible: {
25
+ '& + .mp-checkbox__control': {
26
+ borderColor: 'blue.400',
27
+ boxShadow: 'focus',
28
+ _nextTheme: {
29
+ borderColor: 'border.focused',
30
+ boxShadow: '0 0 0 1px {colors.border.focused}'
31
+ }
32
+ }
26
33
  }
27
34
  },
28
35
  _hover: {
29
36
  '& .mp-checkbox__control': {
30
- borderColor: 'gray.400'
37
+ borderColor: 'gray.400',
38
+ _nextTheme: {
39
+ borderColor: 'border.form',
40
+ background: 'background.neutral.hovered'
41
+ }
31
42
  }
32
43
  },
33
44
  _disabled: {
@@ -35,34 +46,72 @@ const checkboxSlotRecipe = defineSlotRecipe({
35
46
  '& .mp-checkbox__control': {
36
47
  borderColor: 'gray.100 !important',
37
48
  background: 'gray.50 !important',
38
- boxShadow: 'none !important'
49
+ boxShadow: 'none !important',
50
+ color: 'gray.100',
51
+ _nextTheme: {
52
+ borderColor: 'border.disabled !important',
53
+ background: 'background.disabled !important',
54
+ color: 'icon.disabled'
55
+ }
39
56
  }
40
57
  },
41
58
  _invalid: {
42
59
  '& .mp-checkbox__control': {
43
60
  borderColor: 'red.400',
44
- background: 'white'
61
+ background: 'white',
62
+ _nextTheme: {
63
+ borderColor: 'border.danger !important',
64
+ background: 'background.neutral'
65
+ }
45
66
  }
46
67
  },
47
68
  _checked: {
48
69
  '& .mp-checkbox__control': {
49
70
  borderColor: 'blue.400',
50
- background: 'blue.400'
71
+ background: 'blue.400',
72
+ color: 'white',
73
+ _nextTheme: {
74
+ borderColor: 'border.selected',
75
+ background: 'background.brand.bold.selected',
76
+ color: 'icon.inverse'
77
+ }
51
78
  },
52
79
  _hover: {
53
80
  '& .mp-checkbox__control': {
54
- borderColor: 'blue.400'
81
+ borderColor: 'blue.400',
82
+ _nextTheme: {
83
+ borderColor: 'border.selected.hovered',
84
+ background: 'background.brand.bold.hovered'
85
+ }
55
86
  }
56
87
  }
57
88
  },
58
89
  _indeterminate: {
59
90
  '& .mp-checkbox__control': {
60
91
  borderColor: 'blue.400',
61
- background: 'blue.400'
92
+ background: 'blue.400',
93
+ color: 'white',
94
+ _nextTheme: {
95
+ borderColor: 'border.selected',
96
+ background: 'background.brand.bold.selected',
97
+ color: 'icon.inverse'
98
+ }
62
99
  },
63
100
  _hover: {
64
101
  '& .mp-checkbox__control': {
65
- borderColor: 'blue.400'
102
+ borderColor: 'blue.400',
103
+ _nextTheme: {
104
+ borderColor: 'border.selected.hovered',
105
+ background: 'background.brand.bold.hovered'
106
+ }
107
+ }
108
+ },
109
+ _disabled: {
110
+ '& .mp-checkbox__control': {
111
+ color: 'gray.600',
112
+ _nextTheme: {
113
+ color: 'icon.disabled'
114
+ }
66
115
  }
67
116
  }
68
117
  }
@@ -81,7 +130,15 @@ const checkboxSlotRecipe = defineSlotRecipe({
81
130
  borderWidth: '2px',
82
131
  borderColor: 'gray.100',
83
132
  borderRadius: 'md',
84
- background: 'white'
133
+ background: 'white',
134
+ _nextTheme: {
135
+ width: '4',
136
+ height: '4',
137
+ borderWidth: 'sm',
138
+ borderColor: 'border.form',
139
+ borderRadius: 'sm',
140
+ background: 'background.neutral'
141
+ }
85
142
  },
86
143
  label: {
87
144
  background: 'transparent'