@vygruppen/spor-react 13.0.2 → 13.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.
Files changed (75) hide show
  1. package/.turbo/turbo-build.log +25 -25
  2. package/.turbo/turbo-postinstall.log +4 -4
  3. package/CHANGELOG.md +21 -0
  4. package/dist/index.cjs +554 -397
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +194 -181
  7. package/dist/index.d.ts +194 -181
  8. package/dist/index.mjs +556 -399
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +4 -8
  11. package/src/alert/AlertIcon.tsx +2 -2
  12. package/src/alert/ServiceAlert.tsx +2 -1
  13. package/src/calendar/CalendarCell.tsx +4 -4
  14. package/src/datepicker/CalendarHeader.tsx +1 -1
  15. package/src/dialog/Drawer.tsx +1 -1
  16. package/src/input/CardSelect.tsx +4 -4
  17. package/src/input/Combobox.tsx +1 -1
  18. package/src/input/Field.tsx +1 -1
  19. package/src/input/InputChip.tsx +33 -0
  20. package/src/input/PasswordInput.tsx +2 -1
  21. package/src/input/Popover.tsx +9 -7
  22. package/src/input/Select.tsx +44 -7
  23. package/src/input/index.ts +1 -0
  24. package/src/linjetag/LineIcon.tsx +1 -1
  25. package/src/loader/ColorInlineLoader.tsx +2 -1
  26. package/src/loader/ColorSpinner.tsx +2 -1
  27. package/src/loader/ContentLoader.tsx +2 -1
  28. package/src/loader/DarkFullScreenLoader.tsx +2 -1
  29. package/src/loader/DarkInlineLoader.tsx +2 -1
  30. package/src/loader/DarkSpinner.tsx +2 -1
  31. package/src/loader/LightFullScreenLoader.tsx +2 -1
  32. package/src/loader/LightInlineLoader.tsx +2 -1
  33. package/src/loader/LightSpinner.tsx +2 -1
  34. package/src/loader/Lottie.tsx +3 -2
  35. package/src/loader/text.ts +15 -0
  36. package/src/stepper/StepperStep.tsx +2 -2
  37. package/src/theme/recipes/badge.ts +24 -24
  38. package/src/theme/recipes/button.ts +22 -22
  39. package/src/theme/recipes/close-button.ts +2 -2
  40. package/src/theme/recipes/input.ts +9 -9
  41. package/src/theme/recipes/link.ts +1 -1
  42. package/src/theme/recipes/pressable-card.ts +12 -12
  43. package/src/theme/recipes/skeleton.ts +1 -1
  44. package/src/theme/recipes/static-card.ts +8 -8
  45. package/src/theme/semantic-tokens/colors.ts +1 -1
  46. package/src/theme/slot-recipes/accordion.ts +10 -10
  47. package/src/theme/slot-recipes/alert-expandable.ts +35 -35
  48. package/src/theme/slot-recipes/alert-service.ts +10 -10
  49. package/src/theme/slot-recipes/alert.ts +11 -11
  50. package/src/theme/slot-recipes/anatomy.ts +2 -0
  51. package/src/theme/slot-recipes/autocomplete.ts +5 -5
  52. package/src/theme/slot-recipes/breadcrumb.ts +4 -4
  53. package/src/theme/slot-recipes/checkbox.ts +11 -17
  54. package/src/theme/slot-recipes/choice-chip.ts +21 -21
  55. package/src/theme/slot-recipes/datepicker.ts +29 -29
  56. package/src/theme/slot-recipes/field.ts +3 -3
  57. package/src/theme/slot-recipes/floating-action-button.ts +14 -14
  58. package/src/theme/slot-recipes/index.ts +2 -0
  59. package/src/theme/slot-recipes/input-chip.ts +118 -0
  60. package/src/theme/slot-recipes/listbox.ts +9 -9
  61. package/src/theme/slot-recipes/media-controller-button.ts +9 -9
  62. package/src/theme/slot-recipes/menu.ts +7 -7
  63. package/src/theme/slot-recipes/numeric-stepper.ts +4 -4
  64. package/src/theme/slot-recipes/pagination.ts +4 -4
  65. package/src/theme/slot-recipes/popover.ts +4 -4
  66. package/src/theme/slot-recipes/progress-bar.ts +2 -2
  67. package/src/theme/slot-recipes/progress-indicator.ts +1 -1
  68. package/src/theme/slot-recipes/radio-card.ts +11 -11
  69. package/src/theme/slot-recipes/radio.ts +5 -5
  70. package/src/theme/slot-recipes/select.ts +16 -16
  71. package/src/theme/slot-recipes/stepper.ts +5 -5
  72. package/src/theme/slot-recipes/switch.ts +6 -6
  73. package/src/theme/slot-recipes/table.ts +2 -2
  74. package/src/theme/slot-recipes/tabs.ts +18 -18
  75. package/src/theme/slot-recipes/toast.ts +3 -3
@@ -24,19 +24,19 @@ export const listBoxSlotRecipe = defineSlotRecipe({
24
24
  marginY: 1,
25
25
  marginX: 1,
26
26
  borderRadius: "sm",
27
- color: "ghost.text",
27
+ color: "text.ghost",
28
28
  cursor: "pointer",
29
29
  listStyle: "none",
30
30
  _active: {
31
- backgroundColor: "ghost.surface.active",
31
+ backgroundColor: "surface.ghost.active",
32
32
  },
33
33
 
34
34
  _hover: {
35
- backgroundColor: "accent.surface",
36
- color: "accent.text",
35
+ backgroundColor: "surface.accent",
36
+ color: "text.accent",
37
37
  },
38
38
  _selected: {
39
- backgroundColor: "ghost.surface.active",
39
+ backgroundColor: "surface.ghost.active",
40
40
  },
41
41
  _focus: {
42
42
  outline: "2px solid",
@@ -46,9 +46,9 @@ export const listBoxSlotRecipe = defineSlotRecipe({
46
46
  label: {},
47
47
  description: {
48
48
  fontSize: ["mobile.xs", "desktop.xs"],
49
- color: "ghost.text",
49
+ color: "text.ghost",
50
50
  "[aria-selected='true'] &": {
51
- color: "ghost.text",
51
+ color: "text.ghost",
52
52
  },
53
53
  },
54
54
  },
@@ -57,13 +57,13 @@ export const listBoxSlotRecipe = defineSlotRecipe({
57
57
  core: {
58
58
  root: {
59
59
  outline: "1px solid",
60
- outlineColor: "core.outline",
60
+ outlineColor: "outline.core",
61
61
  },
62
62
  },
63
63
  floating: {
64
64
  root: {
65
65
  outline: "1px solid",
66
- outlineColor: "floating.outline",
66
+ outlineColor: "outline.floating",
67
67
  },
68
68
  },
69
69
  },
@@ -18,7 +18,7 @@ export const mediaControllerSlotRecipe = defineSlotRecipe({
18
18
  display: "flex",
19
19
  padding: 1,
20
20
  alignSelf: "center",
21
- color: "brand.surface",
21
+ color: "surface.brand",
22
22
  outlineOffset: "2px",
23
23
  },
24
24
  icon: {
@@ -31,14 +31,14 @@ export const mediaControllerSlotRecipe = defineSlotRecipe({
31
31
  play: {
32
32
  root: {
33
33
  padding: 0,
34
- color: "brand.text",
35
- backgroundColor: "brand.surface",
34
+ color: "text.brand",
35
+ backgroundColor: "surface.brand",
36
36
  _hover: {
37
- color: "brand.text",
38
- backgroundColor: "brand.surface.hover",
37
+ color: "text.brand",
38
+ backgroundColor: "surface.brand.hover",
39
39
  _active: {
40
- color: "brand.text",
41
- backgroundColor: "brand.surface.active",
40
+ color: "text.brand",
41
+ backgroundColor: "surface.brand.active",
42
42
  },
43
43
  },
44
44
  _disabled: {
@@ -51,9 +51,9 @@ export const mediaControllerSlotRecipe = defineSlotRecipe({
51
51
  jumpSkip: {
52
52
  root: {
53
53
  _hover: {
54
- backgroundColor: "ghost.surface.hover",
54
+ backgroundColor: "surface.ghost.hover",
55
55
  _active: {
56
- backgroundColor: "ghost.surface.active",
56
+ backgroundColor: "surface.ghost.active",
57
57
  },
58
58
  },
59
59
  _disabled: {
@@ -38,19 +38,19 @@ export const menuSlotRecipe = defineSlotRecipe({
38
38
  gap: 1.5,
39
39
 
40
40
  _hover: {
41
- backgroundColor: "accent.surface.hover",
41
+ backgroundColor: "surface.accent.hover",
42
42
  },
43
43
 
44
44
  "&:active": {
45
- backgroundColor: "accent.surface.active",
45
+ backgroundColor: "surface.accent.active",
46
46
  },
47
47
 
48
48
  _checked: {
49
- backgroundColor: "accent.surface",
49
+ backgroundColor: "surface.accent",
50
50
  },
51
51
 
52
52
  _highlighted: {
53
- backgroundColor: "ghost.surface.hover",
53
+ backgroundColor: "surface.ghost.hover",
54
54
  },
55
55
  },
56
56
  itemGroupLabel: {
@@ -87,19 +87,19 @@ export const menuSlotRecipe = defineSlotRecipe({
87
87
  core: {
88
88
  content: {
89
89
  border: "1px solid",
90
- borderColor: "core.outline",
90
+ borderColor: "outline.core",
91
91
  },
92
92
  },
93
93
  accent: {
94
94
  content: {
95
95
  border: "1px solid",
96
- borderColor: "core.outline",
96
+ borderColor: "outline.core",
97
97
  },
98
98
  },
99
99
  floating: {
100
100
  content: {
101
101
  border: "sm",
102
- borderColor: "floating.outline",
102
+ borderColor: "outline.floating",
103
103
  boxShadow: "lg",
104
104
  },
105
105
  },
@@ -25,7 +25,7 @@ export const numericStepperRecipe = defineSlotRecipe({
25
25
  textAlign: "center",
26
26
  transitionProperty: "common",
27
27
  transitionDuration: "fast",
28
- color: "core.text",
28
+ color: "text.core",
29
29
  backgroundColor: "transparent",
30
30
 
31
31
  _focus: {
@@ -35,7 +35,7 @@ export const numericStepperRecipe = defineSlotRecipe({
35
35
  },
36
36
 
37
37
  _active: {
38
- backgroundColor: "accent.surface.active",
38
+ backgroundColor: "surface.accent.active",
39
39
  },
40
40
 
41
41
  _disabled: {
@@ -45,7 +45,7 @@ export const numericStepperRecipe = defineSlotRecipe({
45
45
 
46
46
  _hover: {
47
47
  outline: "1px solid",
48
- outlineColor: "core.outline",
48
+ outlineColor: "outline.core",
49
49
  },
50
50
  },
51
51
  text: {
@@ -55,7 +55,7 @@ export const numericStepperRecipe = defineSlotRecipe({
55
55
  paddingX: 1,
56
56
  textAlign: "center",
57
57
  width: "4ch",
58
- color: "core.text",
58
+ color: "text.core",
59
59
  },
60
60
  button: {
61
61
  outlineOffset: "-2px",
@@ -14,18 +14,18 @@ export const paginationSlotRecipe = defineSlotRecipe({
14
14
  width: "5",
15
15
  fontSize: "xs",
16
16
  borderRadius: "xl",
17
- color: "core.text",
17
+ color: "text.core",
18
18
  cursor: "pointer",
19
19
  _hover: {
20
- background: "ghost.surface.hover",
20
+ background: "surface.ghost.hover",
21
21
  _active: {
22
- background: "ghost.surface.active",
22
+ background: "surface.ghost.active",
23
23
  },
24
24
  },
25
25
  _selected: {
26
26
  cursor: "default",
27
27
  fontWeight: "bold",
28
- backgroundColor: "core.surface.active",
28
+ backgroundColor: "surface.core.active",
29
29
  },
30
30
  },
31
31
  list: {
@@ -10,13 +10,13 @@ export const popoverSlotRecipe = defineSlotRecipe({
10
10
  position: "relative",
11
11
  display: "flex",
12
12
  flexDirection: "row-reverse",
13
- color: "text.inverted",
13
+ color: "text.brand",
14
14
 
15
15
  gap: "0.625rem",
16
16
  padding: "0.563rem 0.75rem",
17
17
 
18
18
  textStyle: "sm",
19
- bg: "surface.tertiary",
19
+ bg: "surface.brand",
20
20
  boxShadow: "lg",
21
21
  borderRadius: "sm",
22
22
  zIndex: "popover",
@@ -34,7 +34,7 @@ export const popoverSlotRecipe = defineSlotRecipe({
34
34
  },
35
35
  },
36
36
  body: {
37
- color: "text.inverted",
37
+ color: "text.brand",
38
38
 
39
39
  alignItems: "center",
40
40
  borderRadius: "sm",
@@ -42,7 +42,7 @@ export const popoverSlotRecipe = defineSlotRecipe({
42
42
  maxWidth: "20em",
43
43
  },
44
44
  arrow: {
45
- "--arrow-background": "colors.surface.tertiary",
45
+ "--arrow-background": "colors.surface.brand",
46
46
  "--arrow-size": "6px",
47
47
  },
48
48
  },
@@ -10,7 +10,7 @@ export const progressBarRecipe = defineSlotRecipe({
10
10
  },
11
11
  background: {
12
12
  display: "flex",
13
- backgroundColor: "accent.surface.hover",
13
+ backgroundColor: "surface.accent.hover",
14
14
  borderRadius: "sm",
15
15
  boxPack: "start",
16
16
  justifyContent: "flex-start",
@@ -22,7 +22,7 @@ export const progressBarRecipe = defineSlotRecipe({
22
22
  borderRadius: "sm",
23
23
  },
24
24
  progress: {
25
- backgroundColor: "brand.surface.active",
25
+ backgroundColor: "surface.brand.active",
26
26
  borderRadius: "sm",
27
27
  maxWidth: "100%",
28
28
  transition: "width .2s ease-out",
@@ -15,7 +15,7 @@ export const progressIndicatorRecipe = defineSlotRecipe({
15
15
  width: 1,
16
16
  fill: "icon.disabled",
17
17
  "&[aria-current='step']": {
18
- fill: "brand.surface",
18
+ fill: "surface.brand",
19
19
  },
20
20
  },
21
21
  },
@@ -42,16 +42,16 @@ export const radioCardSlotRecipe = defineSlotRecipe({
42
42
  variant: {
43
43
  core: {
44
44
  item: {
45
- outlineColor: "core.outline",
45
+ outlineColor: "outline.core",
46
46
  outlineWidth: tokens.size.stroke.sm,
47
47
  outlineStyle: "solid",
48
48
 
49
49
  _hover: {
50
- outlineColor: "core.outline.hover",
50
+ outlineColor: "outline.core.hover",
51
51
  outlineWidth: tokens.size.stroke.md,
52
52
  outlineStyle: "solid",
53
53
  _active: {
54
- backgroundColor: "core.surface.active",
54
+ backgroundColor: "surface.core.active",
55
55
  outlineWidth: tokens.size.stroke.sm,
56
56
  },
57
57
  },
@@ -59,7 +59,7 @@ export const radioCardSlotRecipe = defineSlotRecipe({
59
59
  outlineColor: "outline.focus",
60
60
  outlineWidth: tokens.size.stroke.md,
61
61
  outlineStyle: "solid",
62
- backgroundColor: "core.surface.active",
62
+ backgroundColor: "surface.core.active",
63
63
  _focusVisible: {
64
64
  outlineStyle: "double",
65
65
  outlineWidth: `calc(3 * ${tokens.size.stroke.md})`, // space for double outline
@@ -73,18 +73,18 @@ export const radioCardSlotRecipe = defineSlotRecipe({
73
73
  shadowColor: "surface.disabled",
74
74
 
75
75
  border: "sm",
76
- borderColor: "floating.outline",
76
+ borderColor: "outline.floating",
77
77
 
78
- background: "floating.surface",
78
+ background: "surface.floating",
79
79
  _hover: {
80
- background: "floating.surface.hover",
80
+ background: "surface.floating.hover",
81
81
 
82
- borderColor: "floating.outline.hover",
82
+ borderColor: "outline.floating.hover",
83
83
 
84
84
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
85
85
  _active: {
86
- background: "floating.surface.active",
87
- borderColor: "floating.outline.active",
86
+ background: "surface.floating.active",
87
+ borderColor: "outline.neutral",
88
88
  boxShadow: "none",
89
89
  },
90
90
  },
@@ -92,7 +92,7 @@ export const radioCardSlotRecipe = defineSlotRecipe({
92
92
  outlineColor: "outline.focus",
93
93
  outlineWidth: tokens.size.stroke.md,
94
94
  outlineStyle: "solid",
95
- backgroundColor: "core.surface.active",
95
+ backgroundColor: "surface.core.active",
96
96
 
97
97
  _focusVisible: {
98
98
  outlineStyle: "double",
@@ -37,18 +37,18 @@ export const radioGroupSlotRecipe = defineSlotRecipe({
37
37
  justifyContent: "center",
38
38
  verticalAlign: "top",
39
39
  borderWidth: "2px",
40
- borderColor: "core.outline",
40
+ borderColor: "outline.core",
41
41
  borderRadius: "xl",
42
42
  width: 4,
43
43
  height: 4,
44
44
 
45
45
  _checked: {
46
- borderColor: "brand.surface",
46
+ borderColor: "surface.brand",
47
47
  },
48
48
  _hover: {
49
- borderColor: "brand.surface.hover",
49
+ borderColor: "surface.brand.hover",
50
50
  "& .dot": {
51
- backgroundColor: "brand.surface.hover",
51
+ backgroundColor: "surface.brand.hover",
52
52
  },
53
53
  },
54
54
 
@@ -71,7 +71,7 @@ export const radioGroupSlotRecipe = defineSlotRecipe({
71
71
  height: "full",
72
72
  width: "full",
73
73
  borderRadius: "xl",
74
- backgroundColor: "brand.surface",
74
+ backgroundColor: "surface.brand",
75
75
  scale: "0.5",
76
76
  },
77
77
  },
@@ -72,7 +72,7 @@ export const selectSlotRecipe = defineSlotRecipe({
72
72
  color: {
73
73
  base: "text",
74
74
  _disabled: "text.disabled",
75
- _invalid: "text.secondary",
75
+ _invalid: "text.highlight",
76
76
  },
77
77
  _icon: {
78
78
  width: 3,
@@ -110,14 +110,14 @@ export const selectSlotRecipe = defineSlotRecipe({
110
110
  justifyContent: "space-between",
111
111
  gap: 1,
112
112
  borderRadius: "sm",
113
- color: "ghost.text",
113
+ color: "text.ghost",
114
114
  cursor: "pointer",
115
115
  outline: "none",
116
116
  "&[data-highlighted]:hover": {
117
117
  outlineOffset: "2px",
118
118
  outline: "2px solid",
119
119
  outlineColor: "outline.focus",
120
- backgroundColor: "ghost.surface.hover",
120
+ backgroundColor: "surface.accent.hover",
121
121
  },
122
122
  "&[data-highlighted]": {
123
123
  outlineOffset: "2px",
@@ -125,7 +125,7 @@ export const selectSlotRecipe = defineSlotRecipe({
125
125
  outlineColor: "outline.focus",
126
126
  },
127
127
  _active: {
128
- backgroundColor: "ghost.surface.active",
128
+ backgroundColor: "surface.accent.active",
129
129
  },
130
130
  _highlighted: {
131
131
  _active: {
@@ -133,12 +133,12 @@ export const selectSlotRecipe = defineSlotRecipe({
133
133
  },
134
134
  },
135
135
  _hover: {
136
- backgroundColor: "ghost.surface.hover",
136
+ backgroundColor: "surface.accent.hover",
137
137
  outline: "2px solid core.outline",
138
138
  outlineOffset: "2px",
139
139
  },
140
140
  _selected: {
141
- backgroundColor: "ghost.surface.active",
141
+ backgroundColor: "surface.accent",
142
142
  },
143
143
  _icon: {
144
144
  width: 3,
@@ -173,9 +173,9 @@ export const selectSlotRecipe = defineSlotRecipe({
173
173
  valueText: {},
174
174
  itemDescription: {
175
175
  fontSize: ["mobile.xs", "desktop.xs"],
176
- color: "ghost.text",
176
+ color: "text.ghost",
177
177
  "[aria-selected='true'] &": {
178
- color: "ghost.text",
178
+ color: "text.ghost",
179
179
  },
180
180
  },
181
181
  },
@@ -184,13 +184,13 @@ export const selectSlotRecipe = defineSlotRecipe({
184
184
  core: {
185
185
  control: {
186
186
  outline: "1px solid",
187
- outlineColor: "core.outline",
187
+ outlineColor: "outline.core",
188
188
  _hover: {
189
189
  outline: "2px solid",
190
- outlineColor: "core.outline",
190
+ outlineColor: "outline.core",
191
191
  },
192
192
  _active: {
193
- backgroundColor: "brand.surface.active",
193
+ backgroundColor: "surface.brand.active",
194
194
  },
195
195
  _disabled: {
196
196
  pointerEvents: "none",
@@ -202,13 +202,13 @@ export const selectSlotRecipe = defineSlotRecipe({
202
202
  floating: {
203
203
  control: {
204
204
  outline: "1px solid",
205
- outlineColor: "floating.outline",
205
+ outlineColor: "outline.floating",
206
206
  _hover: {
207
207
  outline: "2px solid",
208
- outlineColor: "floating.outline",
208
+ outlineColor: "outline.floating",
209
209
  },
210
210
  _active: {
211
- backgroundColor: "brand.surface.active",
211
+ backgroundColor: "surface.brand.active",
212
212
  },
213
213
  _disabled: {
214
214
  pointerEvents: "none",
@@ -222,7 +222,7 @@ export const selectSlotRecipe = defineSlotRecipe({
222
222
  rightSideSquare: {
223
223
  control: {
224
224
  outline: "1px solid",
225
- outlineColor: "core.outline",
225
+ outlineColor: "outline.core",
226
226
  },
227
227
  trigger: {
228
228
  _focus: {
@@ -233,7 +233,7 @@ export const selectSlotRecipe = defineSlotRecipe({
233
233
  leftSideSquare: {
234
234
  control: {
235
235
  outline: "1px solid",
236
- outlineColor: "core.outline",
236
+ outlineColor: "outline.core",
237
237
  },
238
238
  trigger: {
239
239
  _focus: {
@@ -59,7 +59,7 @@ export const stepperSlotRecipe = defineSlotRecipe({
59
59
  },
60
60
  accent: {
61
61
  root: {
62
- backgroundColor: "accent.bg",
62
+ backgroundColor: "bg.accent",
63
63
  },
64
64
  stepButton: {
65
65
  color: {
@@ -67,13 +67,13 @@ export const stepperSlotRecipe = defineSlotRecipe({
67
67
  _dark: "whiteAlpha.900",
68
68
  },
69
69
  _disabled: {
70
- color: "core.text",
70
+ color: "text.core",
71
71
  },
72
72
  _currentStep: {
73
- color: "accent.text",
73
+ color: "text.accent",
74
74
  },
75
75
  _hover: {
76
- backgroundColor: "accent.surface.hover",
76
+ backgroundColor: "surface.accent.hover",
77
77
  _disabled: {
78
78
  backgroundColor: "transparent",
79
79
  },
@@ -81,7 +81,7 @@ export const stepperSlotRecipe = defineSlotRecipe({
81
81
  },
82
82
  backButton: {
83
83
  _hover: {
84
- backgroundColor: "brand.surface.hover",
84
+ backgroundColor: "surface.brand.hover",
85
85
  },
86
86
  },
87
87
  },
@@ -29,7 +29,7 @@ export const switchSlotRecipe = defineSlotRecipe({
29
29
  justifyContent: "center",
30
30
  width: "var(--switch-height)",
31
31
  height: "var(--switch-height)",
32
- backgroundColor: "core.icon",
32
+ backgroundColor: "icon.core",
33
33
 
34
34
  _disabled: {
35
35
  backgroundColor: "icon.disabled",
@@ -39,7 +39,7 @@ export const switchSlotRecipe = defineSlotRecipe({
39
39
  },
40
40
  _checked: {
41
41
  translate: "var(--switch-x) 0",
42
- backgroundColor: "brand.icon",
42
+ backgroundColor: "icon.brand",
43
43
  },
44
44
  },
45
45
 
@@ -69,13 +69,13 @@ export const switchSlotRecipe = defineSlotRecipe({
69
69
  transitionDuration: "fast",
70
70
  outline: "1px solid",
71
71
  outlineOffset: "-1px",
72
- outlineColor: "core.outline",
72
+ outlineColor: "outline.core",
73
73
  _hover: {
74
74
  outline: "2px solid",
75
- outlineColor: "core.outline.hover",
75
+ outlineColor: "outline.core.hover",
76
76
  _checked: {
77
77
  outlineColor: "transparent",
78
- backgroundColor: "brand.surface.hover",
78
+ backgroundColor: "surface.brand.hover",
79
79
  },
80
80
  },
81
81
 
@@ -86,7 +86,7 @@ export const switchSlotRecipe = defineSlotRecipe({
86
86
  },
87
87
 
88
88
  _checked: {
89
- backgroundColor: "brand.surface",
89
+ backgroundColor: "surface.brand",
90
90
  outline: "none",
91
91
  _focusVisible: {
92
92
  outlineOffset: "1px",
@@ -48,10 +48,10 @@ export const tableSlotRecipe = defineSlotRecipe({
48
48
  backgroundColor: "bg",
49
49
  },
50
50
  header: {
51
- backgroundColor: "bg.tertiary",
51
+ backgroundColor: "bg.brand",
52
52
  },
53
53
  columnHeader: {
54
- color: "text.secondary",
54
+ color: "text.highlight",
55
55
  },
56
56
  },
57
57
  grey: {
@@ -63,26 +63,26 @@ export const tabsSlotRecipe = defineSlotRecipe({
63
63
  variant: {
64
64
  core: {
65
65
  list: {
66
- color: "core.text",
66
+ color: "text.core",
67
67
  border: "sm",
68
68
  },
69
69
  trigger: {
70
- color: "core.text",
70
+ color: "text.core",
71
71
  border: "md",
72
72
  borderColor: "transparent",
73
73
  _hover: {
74
74
  outline: "2px solid",
75
- outlineColor: "core.outline.hover",
75
+ outlineColor: "outline.core.hover",
76
76
  outlineOffset: "-2px",
77
77
  },
78
78
  _active: {
79
- backgroundColor: "brand.surface.active",
80
- color: "brand.text",
79
+ backgroundColor: "surface.brand.active",
80
+ color: "text.brand",
81
81
  outline: "none",
82
82
  },
83
83
  _selected: {
84
- backgroundColor: "brand.surface",
85
- color: "brand.text",
84
+ backgroundColor: "surface.brand",
85
+ color: "text.brand",
86
86
  _hover: {
87
87
  outline: "none",
88
88
  },
@@ -95,29 +95,29 @@ export const tabsSlotRecipe = defineSlotRecipe({
95
95
  },
96
96
  accent: {
97
97
  list: {
98
- backgroundColor: "accent.bg",
99
- color: "accent.text",
98
+ backgroundColor: "bg.accent",
99
+ color: "text.accent",
100
100
  },
101
101
  trigger: {
102
- color: "accent.text",
102
+ color: "text.accent",
103
103
 
104
104
  _disabled: {
105
105
  backgroundColor: "surface.disabled",
106
106
  color: "icon.disabled",
107
107
  },
108
108
  _hover: {
109
- backgroundColor: "accent.surface.hover",
109
+ backgroundColor: "surface.accent.hover",
110
110
  _active: {
111
- backgroundColor: "brand.surface.active",
112
- color: "brand.text",
111
+ backgroundColor: "surface.brand.active",
112
+ color: "text.brand",
113
113
  },
114
114
  },
115
115
  _selected: {
116
- backgroundColor: "brand.surface",
117
- color: "brand.text",
116
+ backgroundColor: "surface.brand",
117
+ color: "text.brand",
118
118
  _hover: {
119
- backgroundColor: "brand.surface.hover",
120
- color: "brand.text",
119
+ backgroundColor: "surface.brand.hover",
120
+ color: "text.brand",
121
121
  outline: "none",
122
122
  },
123
123
  },
@@ -165,7 +165,7 @@ export const tabsSlotRecipe = defineSlotRecipe({
165
165
  paddingX: 3,
166
166
  _focus: {
167
167
  border: "md",
168
- borderColor: "accent.surface",
168
+ borderColor: "surface.accent",
169
169
  },
170
170
  },
171
171
  },
@@ -29,14 +29,14 @@ export const toastSlotRecipe = defineSlotRecipe({
29
29
 
30
30
  color: "text",
31
31
  "&[data-type=success]": {
32
- backgroundColor: "alert.success.surface",
32
+ backgroundColor: "surface.success",
33
33
  },
34
34
  "&[data-type=error]": {
35
- backgroundColor: "alert.error.surface",
35
+ backgroundColor: "surface.critical",
36
36
  },
37
37
 
38
38
  "&[data-type=info]": {
39
- backgroundColor: "alert.info.surface",
39
+ backgroundColor: "surface.info",
40
40
  },
41
41
  },
42
42