@vygruppen/spor-react 13.0.3 → 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 (69) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/.turbo/turbo-postinstall.log +3 -4
  3. package/CHANGELOG.md +15 -0
  4. package/dist/index.cjs +411 -402
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +175 -175
  7. package/dist/index.d.ts +175 -175
  8. package/dist/index.mjs +411 -401
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +6 -10
  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/Popover.tsx +9 -7
  20. package/src/linjetag/LineIcon.tsx +1 -1
  21. package/src/loader/ColorInlineLoader.tsx +2 -1
  22. package/src/loader/ColorSpinner.tsx +2 -1
  23. package/src/loader/ContentLoader.tsx +2 -1
  24. package/src/loader/DarkFullScreenLoader.tsx +2 -1
  25. package/src/loader/DarkInlineLoader.tsx +2 -1
  26. package/src/loader/DarkSpinner.tsx +2 -1
  27. package/src/loader/LightFullScreenLoader.tsx +2 -1
  28. package/src/loader/LightInlineLoader.tsx +2 -1
  29. package/src/loader/LightSpinner.tsx +2 -1
  30. package/src/loader/Lottie.tsx +3 -2
  31. package/src/loader/text.ts +15 -0
  32. package/src/stepper/StepperStep.tsx +2 -2
  33. package/src/theme/recipes/badge.ts +24 -24
  34. package/src/theme/recipes/button.ts +22 -22
  35. package/src/theme/recipes/close-button.ts +2 -2
  36. package/src/theme/recipes/input.ts +9 -9
  37. package/src/theme/recipes/link.ts +1 -1
  38. package/src/theme/recipes/pressable-card.ts +12 -12
  39. package/src/theme/recipes/skeleton.ts +1 -1
  40. package/src/theme/recipes/static-card.ts +8 -8
  41. package/src/theme/semantic-tokens/colors.ts +1 -1
  42. package/src/theme/slot-recipes/accordion.ts +10 -10
  43. package/src/theme/slot-recipes/alert-expandable.ts +35 -35
  44. package/src/theme/slot-recipes/alert-service.ts +10 -10
  45. package/src/theme/slot-recipes/alert.ts +11 -11
  46. package/src/theme/slot-recipes/autocomplete.ts +5 -5
  47. package/src/theme/slot-recipes/breadcrumb.ts +4 -4
  48. package/src/theme/slot-recipes/checkbox.ts +11 -17
  49. package/src/theme/slot-recipes/choice-chip.ts +21 -21
  50. package/src/theme/slot-recipes/datepicker.ts +29 -29
  51. package/src/theme/slot-recipes/field.ts +3 -3
  52. package/src/theme/slot-recipes/floating-action-button.ts +14 -14
  53. package/src/theme/slot-recipes/input-chip.ts +10 -10
  54. package/src/theme/slot-recipes/listbox.ts +9 -9
  55. package/src/theme/slot-recipes/media-controller-button.ts +9 -9
  56. package/src/theme/slot-recipes/menu.ts +7 -7
  57. package/src/theme/slot-recipes/numeric-stepper.ts +4 -4
  58. package/src/theme/slot-recipes/pagination.ts +4 -4
  59. package/src/theme/slot-recipes/popover.ts +4 -4
  60. package/src/theme/slot-recipes/progress-bar.ts +2 -2
  61. package/src/theme/slot-recipes/progress-indicator.ts +1 -1
  62. package/src/theme/slot-recipes/radio-card.ts +11 -11
  63. package/src/theme/slot-recipes/radio.ts +5 -5
  64. package/src/theme/slot-recipes/select.ts +16 -16
  65. package/src/theme/slot-recipes/stepper.ts +5 -5
  66. package/src/theme/slot-recipes/switch.ts +6 -6
  67. package/src/theme/slot-recipes/table.ts +2 -2
  68. package/src/theme/slot-recipes/tabs.ts +18 -18
  69. package/src/theme/slot-recipes/toast.ts +3 -3
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import * as React13 from 'react';
7
7
  import React13__default, { createContext, useContext, useId, cloneElement, isValidElement, useRef, useEffect, useImperativeHandle, useState, useLayoutEffect, useMemo } from 'react';
8
8
  import { spinnerColorData, inlineLoaderColorData, contentLoaderData, fullScreenLoaderWhiteData, inlineLoaderDarkData, spinnerLightData, spinnerDarkData, fullScreenLoaderBlackData, inlineLoaderLightData } from '@vygruppen/spor-loader';
9
- import ReactLottie from 'lottie-react';
9
+ import { useLottie } from 'lottie-react';
10
10
  import { useInterval } from 'usehooks-ts';
11
11
  export { useIsClient, useMap, useOnClickOutside } from 'usehooks-ts';
12
12
  import { useProgressBar, useCalendar as useCalendar$1, useRangeCalendar, useCalendarCell, useFocusRing, mergeProps, useCalendarGrid, useDateFormatter, VisuallyHidden as VisuallyHidden$1, useDatePicker, I18nProvider, useId as useId$1, useDateRangePicker, useFilter as useFilter$1, useComboBox, useListBox, useOption, useListBoxSection, useDateField, useTimeField, usePopover, DismissButton, Overlay, useDateSegment, useButton } from 'react-aria';
@@ -212,8 +212,23 @@ function createTexts(texts27) {
212
212
  return texts27;
213
213
  }
214
214
  function Lottie({ animationData }) {
215
- return /* @__PURE__ */ jsx(ReactLottie, { animationData });
215
+ const { View } = useLottie({ animationData });
216
+ return View;
216
217
  }
218
+
219
+ // src/loader/text.ts
220
+ var useGetLoadingText = () => {
221
+ const { t } = useTranslation();
222
+ return t(loadingText.loading);
223
+ };
224
+ var loadingText = createTexts({
225
+ loading: {
226
+ en: "Loading",
227
+ nb: "Laster",
228
+ nn: "Lastar",
229
+ sv: "Laddar"
230
+ }
231
+ });
217
232
  var ColorInlineLoader = ({
218
233
  width,
219
234
  maxWidth,
@@ -221,7 +236,7 @@ var ColorInlineLoader = ({
221
236
  }) => {
222
237
  return /* @__PURE__ */ jsxs(Center, { role: "status", "aria-live": "polite", ...props, children: [
223
238
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderColorData }) }) }),
224
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
239
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() })
225
240
  ] });
226
241
  };
227
242
  var ColorSpinner = ({
@@ -232,14 +247,14 @@ var ColorSpinner = ({
232
247
  }) => {
233
248
  return /* @__PURE__ */ jsxs(Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
234
249
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: spinnerColorData }) }) }),
235
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
250
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() }),
236
251
  children && /* @__PURE__ */ jsx(Box, { marginTop: 3, fontWeight: "bold", children })
237
252
  ] });
238
253
  };
239
254
  var ContentLoader = ({ children, ...props }) => {
240
255
  return /* @__PURE__ */ jsxs(Box, { role: "status", "aria-live": "polite", ...props, children: [
241
256
  /* @__PURE__ */ jsx(Box, { maxWidth: "140px", marginX: "auto", children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: contentLoaderData }) }) }),
242
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
257
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() }),
243
258
  children && /* @__PURE__ */ jsx(Box, { textAlign: "center", fontWeight: "bold", children })
244
259
  ] });
245
260
  };
@@ -259,7 +274,7 @@ var DarkFullScreenLoader = ({
259
274
  ...props,
260
275
  children: [
261
276
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: fullScreenLoaderWhiteData }) }) }),
262
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
277
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() })
263
278
  ]
264
279
  }
265
280
  );
@@ -271,7 +286,7 @@ var DarkInlineLoader = ({
271
286
  }) => {
272
287
  return /* @__PURE__ */ jsxs(Center, { role: "status", "aria-live": "polite", ...props, children: [
273
288
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderDarkData }) }) }),
274
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
289
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() })
275
290
  ] });
276
291
  };
277
292
  var DarkSpinner = ({
@@ -284,7 +299,7 @@ var DarkSpinner = ({
284
299
  const spinnerData = colorMode === "dark" ? spinnerLightData : spinnerDarkData;
285
300
  return /* @__PURE__ */ jsxs(Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
286
301
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: spinnerData }) }) }),
287
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
302
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() }),
288
303
  children && /* @__PURE__ */ jsx(Box, { marginTop: 3, fontWeight: "bold", children })
289
304
  ] });
290
305
  };
@@ -295,7 +310,7 @@ var LightFullScreenLoader = ({
295
310
  }) => {
296
311
  return /* @__PURE__ */ jsxs(Center, { height: "100%", role: "status", "aria-live": "polite", ...props, children: [
297
312
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: fullScreenLoaderBlackData }) }) }),
298
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
313
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() })
299
314
  ] });
300
315
  };
301
316
  var LightInlineLoader = ({
@@ -305,7 +320,7 @@ var LightInlineLoader = ({
305
320
  }) => {
306
321
  return /* @__PURE__ */ jsxs(Center, { height: "100%", role: "status", "aria-live": "polite", ...props, children: [
307
322
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderLightData }) }) }),
308
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
323
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() })
309
324
  ] });
310
325
  };
311
326
  var LightSpinner = ({
@@ -316,7 +331,7 @@ var LightSpinner = ({
316
331
  }) => {
317
332
  return /* @__PURE__ */ jsxs(Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
318
333
  /* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: spinnerLightData }) }) }),
319
- /* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
334
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: useGetLoadingText() }),
320
335
  children && /* @__PURE__ */ jsx(Box, { marginTop: 3, fontWeight: "bold", children })
321
336
  ] });
322
337
  };
@@ -571,12 +586,12 @@ var ButtonContent = ({
571
586
  ] });
572
587
  var LoadingContent = ({
573
588
  children,
574
- loadingText
589
+ loadingText: loadingText2
575
590
  }) => /* @__PURE__ */ jsxs(Fragment, { children: [
576
591
  /* @__PURE__ */ jsx(Flex, { gap: "1", visibility: "hidden", children }),
577
592
  /* @__PURE__ */ jsxs(Center, { position: "absolute", inset: "1px 0", children: [
578
593
  /* @__PURE__ */ jsx(ColorInlineLoader, { maxWidth: "8", marginX: 2, marginY: 2 }),
579
- loadingText && /* @__PURE__ */ jsx(Box, { children: loadingText })
594
+ loadingText2 && /* @__PURE__ */ jsx(Box, { children: loadingText2 })
580
595
  ] })
581
596
  ] });
582
597
  var getChildContent = (child) => {
@@ -589,7 +604,7 @@ var Button = ({
589
604
  ref,
590
605
  loading,
591
606
  disabled,
592
- loadingText,
607
+ loadingText: loadingText2,
593
608
  variant = "primary",
594
609
  size = "md",
595
610
  leftIcon,
@@ -599,11 +614,11 @@ var Button = ({
599
614
  ...rest
600
615
  }) => {
601
616
  const { t } = useTranslation();
602
- const ariaLabel = loading ? String(loadingText ?? t(texts2.loadingText)) : rest["aria-label"];
617
+ const ariaLabel = loading ? String(loadingText2 ?? t(texts2.loadingText)) : rest["aria-label"];
603
618
  const renderContent = () => {
604
619
  const content = rest.asChild ? getChildContent(children) : children;
605
620
  if (loading)
606
- return /* @__PURE__ */ jsx(LoadingContent, { size, loadingText, children: /* @__PURE__ */ jsx(ButtonContent, { leftIcon, rightIcon, children: content }) });
621
+ return /* @__PURE__ */ jsx(LoadingContent, { size, loadingText: loadingText2, children: /* @__PURE__ */ jsx(ButtonContent, { leftIcon, rightIcon, children: content }) });
607
622
  return /* @__PURE__ */ jsx(ButtonContent, { leftIcon, rightIcon, children: content });
608
623
  };
609
624
  return /* @__PURE__ */ jsx(
@@ -663,59 +678,59 @@ var badgeRecipie = defineRecipe({
663
678
  variants: {
664
679
  colorPalette: {
665
680
  neutral: {
666
- backgroundColor: "badge.surface",
667
- color: "badge.text",
681
+ backgroundColor: "surface",
682
+ color: "text",
668
683
  "& svg": {
669
- color: "badge.icon"
684
+ color: "icon"
670
685
  }
671
686
  },
672
687
  grey: {
673
- backgroundColor: "badge.grey.surface",
674
- color: "badge.grey.text",
688
+ backgroundColor: "surface.neutral",
689
+ color: "text.neutral",
675
690
  "& svg": {
676
- color: "badge.grey.icon"
691
+ color: "icon.neutral"
677
692
  }
678
693
  },
679
694
  green: {
680
- backgroundColor: "badge.green.surface",
681
- color: "badge.green.text",
695
+ backgroundColor: "surface.subtle",
696
+ color: "text.success",
682
697
  "& svg": {
683
- color: "badge.green.icon"
698
+ color: "icon.success"
684
699
  }
685
700
  },
686
701
  blue: {
687
- backgroundColor: "badge.blue.surface",
688
- color: "badge.blue.text",
702
+ backgroundColor: "surface.info",
703
+ color: "text.info",
689
704
  "& svg": {
690
- color: "badge.blue.icon"
705
+ color: "icon.info"
691
706
  }
692
707
  },
693
708
  cream: {
694
- backgroundColor: "badge.cream.surface",
695
- color: "badge.cream.text",
709
+ backgroundColor: "surface.warning",
710
+ color: "text.warning",
696
711
  "& svg": {
697
- color: "badge.cream.icon"
712
+ color: "icon.warning"
698
713
  }
699
714
  },
700
715
  yellow: {
701
- backgroundColor: "badge.yellow.surface",
702
- color: "badge.yellow.text",
716
+ backgroundColor: "surface.notice",
717
+ color: "text.notice",
703
718
  "& svg": {
704
- color: "badge.yellow.icon"
719
+ color: "icon.notice"
705
720
  }
706
721
  },
707
722
  orange: {
708
- backgroundColor: "badge.orange.surface",
709
- color: "badge.orange.text",
723
+ backgroundColor: "surface.caution",
724
+ color: "text.caution",
710
725
  "& svg": {
711
- color: "badge.orange.icon"
726
+ color: "icon.caution"
712
727
  }
713
728
  },
714
729
  red: {
715
- backgroundColor: "badge.red.surface",
716
- color: "badge.red.text",
730
+ backgroundColor: "surface.critical",
731
+ color: "text.critical",
717
732
  "& svg": {
718
- color: "badge.red.icon"
733
+ color: "icon.critical"
719
734
  }
720
735
  }
721
736
  },
@@ -1088,10 +1103,10 @@ var BaseAlertIcon = ({
1088
1103
  }) => {
1089
1104
  const css = {
1090
1105
  "& path:first-of-type": {
1091
- fill: `alert.${variant}.icon`
1106
+ fill: `icon.${variant}`
1092
1107
  },
1093
1108
  "& path:not(:first-of-type)": {
1094
- fill: `alert.${variant}.surface`
1109
+ fill: `surface.${variant}`
1095
1110
  }
1096
1111
  };
1097
1112
  switch (variant) {
@@ -1279,6 +1294,7 @@ var ServiceAlert = ({
1279
1294
  css: { ...styles.root, ...css },
1280
1295
  ref,
1281
1296
  ...rest,
1297
+ className: "light",
1282
1298
  children: /* @__PURE__ */ jsxs(Accordion$1.Item, { value: defaultValue, children: [
1283
1299
  /* @__PURE__ */ jsx(Accordion$1.ItemTrigger, { css: styles.itemTrigger, children: /* @__PURE__ */ jsxs(
1284
1300
  HStack,
@@ -1307,7 +1323,7 @@ var ServiceAlert = ({
1307
1323
  ] }),
1308
1324
  /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: [0.5, null, null, 1], children: [
1309
1325
  notification && /* @__PURE__ */ jsx(Text, { css: styles.notificationText, children: t(texts5.notification(notification)) }),
1310
- /* @__PURE__ */ jsx(Accordion$1.ItemIndicator, { children: /* @__PURE__ */ jsx(DropdownDownFill24Icon, { color: "icon.inverted" }) })
1326
+ /* @__PURE__ */ jsx(Accordion$1.ItemIndicator, { children: /* @__PURE__ */ jsx(DropdownDownFill24Icon, { color: "icon.brand" }) })
1311
1327
  ] })
1312
1328
  ]
1313
1329
  }
@@ -1672,18 +1688,18 @@ var cellStyles = {
1672
1688
  },
1673
1689
  // Selection edge (single-mode selected OR range start/end)
1674
1690
  "&[data-edge]": {
1675
- backgroundColor: "brand.surface",
1676
- color: "text.inverted"
1691
+ backgroundColor: "surface.brand",
1692
+ color: "text.brand"
1677
1693
  },
1678
1694
  // Range middle
1679
1695
  "&[data-middle]": {
1680
- backgroundColor: "surface.secondary",
1696
+ backgroundColor: "surface.subtle",
1681
1697
  color: "text"
1682
1698
  },
1683
1699
  // Hover for non-selected, non-disabled cells on devices that support hover
1684
1700
  "@media (hover: hover)": {
1685
1701
  "&:not([data-edge]):not([data-middle]):not([data-disabled]):hover": {
1686
- backgroundColor: "surface.secondary",
1702
+ backgroundColor: "surface.subtle",
1687
1703
  color: "text"
1688
1704
  }
1689
1705
  }
@@ -2086,7 +2102,7 @@ var Field3 = ({
2086
2102
  ]
2087
2103
  }
2088
2104
  ),
2089
- helperText && /* @__PURE__ */ jsx(Text3, { variant: "sm", color: "text.tertiary", children: helperText })
2105
+ helperText && /* @__PURE__ */ jsx(Text3, { variant: "sm", color: "text.subtle", children: helperText })
2090
2106
  ] });
2091
2107
  };
2092
2108
  var FieldErrorText = ({
@@ -2323,7 +2339,7 @@ var CalendarNavigator = ({
2323
2339
  fontWeight: "bold",
2324
2340
  flex: "1",
2325
2341
  textAlign: "center",
2326
- color: "core.text",
2342
+ color: "text.core",
2327
2343
  children: capitalize(title)
2328
2344
  }
2329
2345
  ),
@@ -3122,7 +3138,7 @@ var CloseDrawerLine = ({
3122
3138
  top: 0,
3123
3139
  marginY: 2,
3124
3140
  marginX: "auto",
3125
- backgroundColor: "floating.outline.active",
3141
+ backgroundColor: "outline.neutral",
3126
3142
  borderRadius: "xs",
3127
3143
  ...props,
3128
3144
  ref
@@ -3593,7 +3609,7 @@ var CardSelectContent = ({
3593
3609
  p: "2",
3594
3610
  bg: "bg",
3595
3611
  border: "sm",
3596
- borderColor: "floating.outline",
3612
+ borderColor: "outline.floating",
3597
3613
  borderRadius: "sm",
3598
3614
  ...props,
3599
3615
  children
@@ -3601,9 +3617,9 @@ var CardSelectContent = ({
3601
3617
  ) }) }) }) });
3602
3618
  };
3603
3619
  var bgActiveStyleMap = {
3604
- core: "core.surface.active",
3605
- ghost: "ghost.surface.active",
3606
- floating: "floating.surface.active"
3620
+ core: "surface.core.active",
3621
+ ghost: "surface.ghost.active",
3622
+ floating: "surface.floating.active"
3607
3623
  };
3608
3624
  var CardSelectTrigger = ({
3609
3625
  ref,
@@ -3688,9 +3704,15 @@ var Popover = ({
3688
3704
  hasBackdrop = true,
3689
3705
  containerPadding = 12
3690
3706
  }) => {
3691
- var _a6;
3692
3707
  const internalRef = useRef(null);
3693
3708
  const popoverRef = ref ?? internalRef;
3709
+ useLayoutEffect(() => {
3710
+ var _a6;
3711
+ const element = typeof popoverRef === "object" ? popoverRef == null ? void 0 : popoverRef.current : null;
3712
+ if (element) {
3713
+ element.style.minWidth = `${((_a6 = triggerRef.current) == null ? void 0 : _a6.clientWidth) ?? 0}px`;
3714
+ }
3715
+ });
3694
3716
  const { popoverProps, underlayProps } = usePopover(
3695
3717
  {
3696
3718
  triggerRef,
@@ -3704,19 +3726,11 @@ var Popover = ({
3704
3726
  },
3705
3727
  state
3706
3728
  );
3707
- const popoverBox = /* @__PURE__ */ jsxs(
3708
- Box,
3709
- {
3710
- ...popoverProps,
3711
- ref: popoverRef,
3712
- minWidth: ((_a6 = triggerRef.current) == null ? void 0 : _a6.clientWidth) ?? "auto",
3713
- children: [
3714
- /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close }),
3715
- children,
3716
- /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close })
3717
- ]
3718
- }
3719
- );
3729
+ const popoverBox = /* @__PURE__ */ jsxs(Box, { ...popoverProps, ref: popoverRef, children: [
3730
+ /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close }),
3731
+ children,
3732
+ /* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close })
3733
+ ] });
3720
3734
  if (isNonModal) {
3721
3735
  return popoverBox;
3722
3736
  }
@@ -3847,7 +3861,7 @@ var Combobox2 = (props) => {
3847
3861
  "aria-controls": listboxId,
3848
3862
  borderBottomLeftRadius: state.isOpen && !loading ? 0 : borderBottomLeftRadius,
3849
3863
  borderBottomRightRadius: state.isOpen && !loading ? 0 : borderBottomRightRadius,
3850
- _active: { backgroundColor: "core.surface.active" },
3864
+ _active: { backgroundColor: "surface.core.active" },
3851
3865
  ...filteredInputProps,
3852
3866
  startElement: leftIcon,
3853
3867
  endElement: loading ? /* @__PURE__ */ jsx(
@@ -5163,7 +5177,7 @@ var LineIcon = function LineIcon2({
5163
5177
  css: { ...styles.iconContainer, ...style },
5164
5178
  padding: targetPadding(),
5165
5179
  borderWidth: borderContainer(),
5166
- borderColor: variant === "walk" ? "core.outline" : "transparent",
5180
+ borderColor: variant === "walk" ? "outline.core" : "transparent",
5167
5181
  "aria-label": label,
5168
5182
  ref,
5169
5183
  className: clsx_default("light", rest.className),
@@ -6603,8 +6617,8 @@ var StepperStep = ({
6603
6617
  const state = getState(stepNumber, activeStep);
6604
6618
  const recipe = useSlotRecipe({ key: "stepper" });
6605
6619
  const style = recipe({ variant });
6606
- const disabledTextColor = "text.tertiary";
6607
- const iconColor = "text.tertiary";
6620
+ const disabledTextColor = "text.subtle";
6621
+ const iconColor = "text.subtle";
6608
6622
  const disabled = state !== "active" && disabledOverride || state === "disabled";
6609
6623
  return /* @__PURE__ */ jsxs(Box, { css: style.stepContainer, "data-part": "step-container", children: [
6610
6624
  stepNumber > 1 && /* @__PURE__ */ jsx(
@@ -6908,40 +6922,40 @@ var buttonRecipe = defineRecipe({
6908
6922
  variants: {
6909
6923
  variant: {
6910
6924
  primary: {
6911
- background: "brand.surface",
6912
- color: "brand.text",
6925
+ background: "surface.brand",
6926
+ color: "text.brand",
6913
6927
  fontWeight: "bold",
6914
6928
  _hover: {
6915
- background: "brand.surface.hover",
6929
+ background: "surface.brand.hover",
6916
6930
  _active: {
6917
- background: "brand.surface.active"
6931
+ background: "surface.brand.active"
6918
6932
  }
6919
6933
  }
6920
6934
  },
6921
6935
  secondary: {
6922
- background: "accent.surface",
6923
- color: "accent.text",
6936
+ background: "surface.accent",
6937
+ color: "text.accent",
6924
6938
  fontWeight: "bold",
6925
6939
  _hover: {
6926
- background: "accent.surface.hover",
6940
+ background: "surface.accent.hover",
6927
6941
  _active: {
6928
- background: "accent.surface.active"
6942
+ background: "surface.accent.active"
6929
6943
  }
6930
6944
  }
6931
6945
  },
6932
6946
  tertiary: {
6933
- color: "core.text",
6947
+ color: "text.core",
6934
6948
  outline: "solid",
6935
6949
  fontWeight: "normal",
6936
6950
  outlineWidth: tokens22__default.size.stroke.sm,
6937
- outlineColor: "core.outline",
6951
+ outlineColor: "outline.core",
6938
6952
  _hover: {
6939
6953
  outlineWidth: tokens22__default.size.stroke.md,
6940
- outlineColor: "core.outline.hover",
6954
+ outlineColor: "outline.core.hover",
6941
6955
  _active: {
6942
- background: "core.surface.active",
6956
+ background: "surface.core.active",
6943
6957
  outlineWidth: tokens22__default.size.stroke.sm,
6944
- outlineColor: "core.outline"
6958
+ outlineColor: "outline.core"
6945
6959
  }
6946
6960
  },
6947
6961
  _focus: {
@@ -6949,28 +6963,28 @@ var buttonRecipe = defineRecipe({
6949
6963
  }
6950
6964
  },
6951
6965
  ghost: {
6952
- color: "ghost.text",
6966
+ color: "text.ghost",
6953
6967
  fontWeight: "bold",
6954
6968
  _hover: {
6955
- background: "ghost.surface.hover",
6969
+ background: "surface.ghost.hover",
6956
6970
  _active: {
6957
- background: "ghost.surface.active"
6971
+ background: "surface.ghost.active"
6958
6972
  }
6959
6973
  }
6960
6974
  },
6961
6975
  floating: {
6962
- color: "floating.text",
6963
- background: "floating.surface",
6976
+ color: "text.floating",
6977
+ background: "surface.floating",
6964
6978
  fontWeight: "bold",
6965
6979
  border: "sm",
6966
- borderColor: "floating.outline",
6980
+ borderColor: "outline.floating",
6967
6981
  boxShadow: "0px 1px 3px 0px var(--spor-colors-surface-disabled, rgba(0, 0, 0, 0.10))",
6968
6982
  _hover: {
6969
- borderColor: "floating.outline.hover",
6983
+ borderColor: "outline.floating.hover",
6970
6984
  _active: {
6971
- background: "core.surface.active",
6985
+ background: "surface.core.active",
6972
6986
  boxShadow: "none",
6973
- borderColor: "floating.outline"
6987
+ borderColor: "outline.floating"
6974
6988
  }
6975
6989
  }
6976
6990
  }
@@ -7025,12 +7039,12 @@ var closeButtonRecipe = defineRecipe({
7025
7039
  color: "text",
7026
7040
  fontWeight: "normal",
7027
7041
  _hover: {
7028
- background: "ghost.surface.hover",
7042
+ background: "surface.ghost.hover",
7029
7043
  _disabled: {
7030
7044
  color: "icon.disabled"
7031
7045
  },
7032
7046
  _active: {
7033
- background: "ghost.surface.active"
7047
+ background: "surface.ghost.active"
7034
7048
  }
7035
7049
  }
7036
7050
  },
@@ -7105,7 +7119,7 @@ var inputRecipe = defineRecipe({
7105
7119
  },
7106
7120
  _hover: {
7107
7121
  outline: "2px solid",
7108
- outlineColor: "core.outline"
7122
+ outlineColor: "outline.core"
7109
7123
  }
7110
7124
  }
7111
7125
  },
@@ -7114,14 +7128,14 @@ var inputRecipe = defineRecipe({
7114
7128
  core: {
7115
7129
  backgroundColor: "transparent",
7116
7130
  outline: "1px solid",
7117
- outlineColor: "core.outline",
7131
+ outlineColor: "outline.core",
7118
7132
  _hover: {
7119
7133
  outline: "2px solid",
7120
- outlineColor: "core.outline.hover",
7134
+ outlineColor: "outline.core.hover",
7121
7135
  _active: {
7122
7136
  outline: "1px solid",
7123
7137
  outlineColor: "outline.disabled",
7124
- backgroundColor: "core.surface.active"
7138
+ backgroundColor: "surface.core.active"
7125
7139
  }
7126
7140
  },
7127
7141
  _focus: {
@@ -7131,17 +7145,17 @@ var inputRecipe = defineRecipe({
7131
7145
  },
7132
7146
  floating: {
7133
7147
  boxShadow: "sm",
7134
- bg: "floating.surface",
7148
+ bg: "surface.floating",
7135
7149
  outline: "1px solid",
7136
- outlineColor: "floating.outline",
7150
+ outlineColor: "outline.floating",
7137
7151
  _hover: {
7138
7152
  outline: "1px solid",
7139
- outlineColor: "floating.outline.hover"
7153
+ outlineColor: "outline.floating.hover"
7140
7154
  },
7141
7155
  _active: {
7142
7156
  outline: "1px solid",
7143
- outlineColor: "floating.outline.active",
7144
- backgroundColor: "floating.surface.active"
7157
+ outlineColor: "outline.neutral",
7158
+ backgroundColor: "surface.floating.active"
7145
7159
  },
7146
7160
  focus: {
7147
7161
  outline: "1px solid",
@@ -7184,7 +7198,7 @@ var linkRecipe = defineRecipe({
7184
7198
  variants: {
7185
7199
  variant: {
7186
7200
  primary: {
7187
- color: "core.text",
7201
+ color: "text.core",
7188
7202
  _hover: {
7189
7203
  color: "text",
7190
7204
  _active: {
@@ -7247,29 +7261,29 @@ var pressableCardRecipe = defineRecipe({
7247
7261
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
7248
7262
  shadowColor: "surface.disabled",
7249
7263
  border: "sm",
7250
- borderColor: "floating.outline",
7251
- backgroundColor: "floating.surface",
7264
+ borderColor: "outline.floating",
7265
+ backgroundColor: "surface.floating",
7252
7266
  _hover: {
7253
7267
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
7254
- backgroundColor: "floating.surface.hover",
7255
- borderColor: "floating.outline.hover",
7268
+ backgroundColor: "surface.floating.hover",
7269
+ borderColor: "outline.floating.hover",
7256
7270
  _active: {
7257
7271
  boxShadow: "none",
7258
- backgroundColor: "floating.surface.active",
7259
- borderColor: "floating.outline.active"
7272
+ backgroundColor: "surface.floating.active",
7273
+ borderColor: "outline.neutral"
7260
7274
  }
7261
7275
  }
7262
7276
  },
7263
7277
  core: {
7264
- outlineColor: "core.outline",
7278
+ outlineColor: "outline.core",
7265
7279
  outlineWidth: tokens22__default.size.stroke.sm,
7266
7280
  outlineStyle: "solid",
7267
7281
  _hover: {
7268
- outlineColor: "core.outline.hover",
7282
+ outlineColor: "outline.core.hover",
7269
7283
  outlineWidth: tokens22__default.size.stroke.md,
7270
7284
  outlineStyle: "solid",
7271
7285
  _active: {
7272
- backgroundColor: "core.surface.active",
7286
+ backgroundColor: "surface.core.active",
7273
7287
  outlineWidth: tokens22__default.size.stroke.sm
7274
7288
  }
7275
7289
  }
@@ -7277,12 +7291,12 @@ var pressableCardRecipe = defineRecipe({
7277
7291
  accent: {
7278
7292
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
7279
7293
  shadowColor: "surface.disabled",
7280
- background: "alert.success.surface",
7294
+ background: "surface.success",
7281
7295
  _hover: {
7282
- background: "alert.success.surface.hover",
7296
+ background: "surface.success.hover",
7283
7297
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
7284
7298
  _active: {
7285
- background: "alert.success.surface.active",
7299
+ background: "surface.success.active",
7286
7300
  boxShadow: "none"
7287
7301
  }
7288
7302
  }
@@ -7401,7 +7415,7 @@ var skeletonRecipe = defineRecipe({
7401
7415
  },
7402
7416
  none: {
7403
7417
  animation: "none",
7404
- background: "surface.color.grey"
7418
+ background: "surface.neutral"
7405
7419
  }
7406
7420
  }
7407
7421
  }
@@ -7413,29 +7427,29 @@ var staticCardRecipe = defineRecipe({
7413
7427
  variants: {
7414
7428
  colorPalette: {
7415
7429
  white: {
7416
- backgroundColor: "surface.color.neutral",
7430
+ backgroundColor: "surface",
7417
7431
  color: "text"
7418
7432
  },
7419
7433
  grey: {
7420
- backgroundColor: "surface.color.grey"
7434
+ backgroundColor: "surface.neutral"
7421
7435
  },
7422
7436
  yellow: {
7423
- backgroundColor: "surface.color.cream"
7437
+ backgroundColor: "surface.warning"
7424
7438
  },
7425
7439
  darkYellow: {
7426
- backgroundColor: "surface.color.yellow"
7440
+ backgroundColor: "surface.notice"
7427
7441
  },
7428
7442
  red: {
7429
- backgroundColor: "surface.color.red"
7443
+ backgroundColor: "surface.critical"
7430
7444
  },
7431
7445
  green: {
7432
- backgroundColor: "surface.color.green"
7446
+ backgroundColor: "surface.success"
7433
7447
  },
7434
7448
  blue: {
7435
- backgroundColor: "surface.color.blue"
7449
+ backgroundColor: "surface.info"
7436
7450
  },
7437
7451
  orange: {
7438
- backgroundColor: "surface.color.orange"
7452
+ backgroundColor: "surface.caution"
7439
7453
  }
7440
7454
  }
7441
7455
  },
@@ -7493,7 +7507,7 @@ var vyUtviklingColors = defineSemanticTokens.colors({
7493
7507
  ...tokens4.color["vy-utvikling"].color.vyUtvikling
7494
7508
  });
7495
7509
  var cargonetColors = defineSemanticTokens.colors({
7496
- ...tokens4.color.cargonet.color.cargonet
7510
+ ...tokens4.color["cargonet"].color.cargonet
7497
7511
  });
7498
7512
  var radii = defineSemanticTokens.radii({
7499
7513
  none: { value: tokens22__default.size["border-radius"].none },
@@ -7831,7 +7845,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7831
7845
  borderRadius: "sm",
7832
7846
  display: "flex",
7833
7847
  justifyContent: "space-between",
7834
- color: "core.text",
7848
+ color: "text.core",
7835
7849
  textAlign: "left",
7836
7850
  width: "full",
7837
7851
  alignItems: "center",
@@ -7887,10 +7901,10 @@ var accordionSlotRecipe = defineSlotRecipe({
7887
7901
  },
7888
7902
  itemTrigger: {
7889
7903
  "&:hover": {
7890
- background: "ghost.surface.hover"
7904
+ background: "surface.ghost.hover"
7891
7905
  },
7892
7906
  "&:active": {
7893
- backgroundColor: "ghost.surface.active"
7907
+ backgroundColor: "surface.ghost.active"
7894
7908
  }
7895
7909
  }
7896
7910
  },
@@ -7898,7 +7912,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7898
7912
  item: {
7899
7913
  outline: "solid",
7900
7914
  outlineWidth: tokens22__default.size.stroke.sm,
7901
- outlineColor: "core.outline"
7915
+ outlineColor: "outline.core"
7902
7916
  },
7903
7917
  itemTrigger: {
7904
7918
  _expanded: {
@@ -7906,12 +7920,12 @@ var accordionSlotRecipe = defineSlotRecipe({
7906
7920
  },
7907
7921
  "&:hover": {
7908
7922
  outlineWidth: tokens22__default.size.stroke.md,
7909
- outlineColor: "core.outline",
7923
+ outlineColor: "outline.core",
7910
7924
  outline: "2px solid",
7911
7925
  outlineOffset: 0
7912
7926
  },
7913
7927
  "&:active": {
7914
- backgroundColor: "core.surface.active",
7928
+ backgroundColor: "surface.core.active",
7915
7929
  outlineWidth: tokens22__default.size.stroke.sm,
7916
7930
  outline: "none"
7917
7931
  }
@@ -7924,7 +7938,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7924
7938
  item: {
7925
7939
  borderRadius: "none",
7926
7940
  borderBottom: "1px solid",
7927
- borderBottomColor: "floating.outline.active"
7941
+ borderBottomColor: "outline.neutral"
7928
7942
  }
7929
7943
  },
7930
7944
  floating: {
@@ -7932,7 +7946,7 @@ var accordionSlotRecipe = defineSlotRecipe({
7932
7946
  outline: "1px solid",
7933
7947
  outlineWidth: tokens22__default.size.stroke.sm,
7934
7948
  boxShadow: "sm",
7935
- outlineColor: "floating.outline"
7949
+ outlineColor: "outline.floating"
7936
7950
  },
7937
7951
  itemTrigger: {
7938
7952
  _expanded: {
@@ -7941,11 +7955,11 @@ var accordionSlotRecipe = defineSlotRecipe({
7941
7955
  "&:hover": {
7942
7956
  outlineWidth: tokens22__default.size.stroke.md,
7943
7957
  outline: "1px solid",
7944
- outlineColor: "floating.outline.hover",
7958
+ outlineColor: "outline.floating.hover",
7945
7959
  outlineOffset: 1
7946
7960
  },
7947
7961
  "&:active": {
7948
- backgroundColor: "floating.surface.active",
7962
+ backgroundColor: "surface.floating.active",
7949
7963
  outlineWidth: tokens22__default.size.stroke.sm,
7950
7964
  outline: "none"
7951
7965
  }
@@ -7956,21 +7970,21 @@ var accordionSlotRecipe = defineSlotRecipe({
7956
7970
  });
7957
7971
  var createVariant = (variant) => ({
7958
7972
  root: {
7959
- borderColor: `alert.${variant}.outline`,
7960
- background: `alert.${variant}.surface`
7973
+ borderColor: `outline.${variant}`,
7974
+ background: `surface.${variant}`
7961
7975
  },
7962
7976
  description: {
7963
- color: `alert.${variant}.text.secondary`
7977
+ color: `text.${variant}.subtle`
7964
7978
  },
7965
7979
  title: {
7966
- color: `alert.${variant}.text`
7980
+ color: `text.${variant}`
7967
7981
  },
7968
7982
  closeButton: {
7969
- color: `alert.${variant}.text`,
7983
+ color: `text.${variant}`,
7970
7984
  _hover: {
7971
- bg: `alert.${variant}.surface.hover`,
7985
+ bg: `surface.${variant}.hover`,
7972
7986
  _active: {
7973
- bg: `alert.${variant}.surface.active`
7987
+ bg: `surface.${variant}.active`
7974
7988
  }
7975
7989
  }
7976
7990
  }
@@ -8005,13 +8019,13 @@ var alertSlotRecipe = defineSlotRecipe({
8005
8019
  },
8006
8020
  variants: {
8007
8021
  variant: {
8008
- important: createVariant("important"),
8009
- alt: createVariant("alt"),
8010
- error: createVariant("error"),
8022
+ important: createVariant("warning"),
8023
+ alt: createVariant("notice"),
8024
+ error: createVariant("critical"),
8011
8025
  success: createVariant("success"),
8012
8026
  info: createVariant("info"),
8013
8027
  neutral: createVariant("neutral"),
8014
- "error-secondary": createVariant("error-secondary"),
8028
+ "error-secondary": createVariant("caution"),
8015
8029
  service: createVariant("service")
8016
8030
  }
8017
8031
  },
@@ -8041,117 +8055,117 @@ var alertExpandableSlotRecipe = defineSlotRecipe({
8041
8055
  variant: {
8042
8056
  important: {
8043
8057
  itemContent: {
8044
- color: "alert.important.text.secondary"
8058
+ color: "text.warning.subtle"
8045
8059
  },
8046
8060
  itemTrigger: {
8047
8061
  "&:hover": {
8048
- bg: "alert.important.surface.hover",
8062
+ bg: "surface.warning.hover",
8049
8063
  outline: "1px solid",
8050
- outlineColor: "alert.important.outline.hover",
8064
+ outlineColor: "outline.warning.hover",
8051
8065
  outlineOffset: "0px"
8052
8066
  },
8053
8067
  "&:active": {
8054
- bg: "alert.important.surface.active"
8068
+ bg: "surface.warning.active"
8055
8069
  }
8056
8070
  },
8057
8071
  root: {
8058
- borderColor: "alert.important.outline",
8059
- bg: "alert.important.surface"
8072
+ borderColor: "outline.warning",
8073
+ bg: "surface.warning"
8060
8074
  },
8061
8075
  title: {
8062
- color: "alert.important.text"
8076
+ color: "text.warning"
8063
8077
  }
8064
8078
  },
8065
8079
  success: {
8066
8080
  itemContent: {
8067
- color: "alert.success.text.secondary"
8081
+ color: "text.success.subtle"
8068
8082
  },
8069
8083
  itemTrigger: {
8070
8084
  "&:hover": {
8071
- bg: "alert.success.surface.hover",
8085
+ bg: "surface.success.hover",
8072
8086
  outline: "1px solid",
8073
8087
  outlineOffset: "0px",
8074
- outlineColor: "alert.success.outline.hover",
8088
+ outlineColor: "outline.success.hover",
8075
8089
  "&:active": {
8076
- bg: "alert.success.surface.active"
8090
+ bg: "surface.success.active"
8077
8091
  }
8078
8092
  }
8079
8093
  },
8080
8094
  root: {
8081
- borderColor: "alert.success.outline",
8082
- bg: "alert.success.surface"
8095
+ borderColor: "outline.success",
8096
+ bg: "surface.success"
8083
8097
  },
8084
8098
  title: {
8085
- color: "alert.success.text"
8099
+ color: "text.success"
8086
8100
  }
8087
8101
  },
8088
8102
  alt: {
8089
8103
  itemContent: {
8090
- color: "alert.alt.text.secondary"
8104
+ color: "text.notice.subtle"
8091
8105
  },
8092
8106
  itemTrigger: {
8093
8107
  "&:hover": {
8094
- bg: "alert.alt.surface.hover",
8108
+ bg: "surface.notice.hover",
8095
8109
  outlineOffset: "0px",
8096
8110
  outline: "1px solid",
8097
- outlineColor: "alert.alt.outline.hover",
8111
+ outlineColor: "outline.notice.hover",
8098
8112
  "&:active": {
8099
- bg: "alert.alt.surface.active"
8113
+ bg: "surface.notice.active"
8100
8114
  }
8101
8115
  }
8102
8116
  },
8103
8117
  root: {
8104
- borderColor: "alert.alt.outline",
8105
- bg: "alert.alt.surface"
8118
+ borderColor: "outline.notice",
8119
+ bg: "surface.notice"
8106
8120
  },
8107
8121
  title: {
8108
- color: "alert.alt.text"
8122
+ color: "text.notice"
8109
8123
  }
8110
8124
  },
8111
8125
  info: {
8112
8126
  itemContent: {
8113
- color: "alert.info.text.secondary"
8127
+ color: "text.info.subtle"
8114
8128
  },
8115
8129
  itemTrigger: {
8116
8130
  "&:hover": {
8117
- bg: "alert.info.surface.hover",
8131
+ bg: "surface.info.hover",
8118
8132
  outlineOffset: "0px",
8119
8133
  outline: "1px solid",
8120
- outlineColor: "alert.info.outline.hover",
8134
+ outlineColor: "outline.info.hover",
8121
8135
  "&:active": {
8122
- bg: "alert.info.surface.active"
8136
+ bg: "surface.info.active"
8123
8137
  }
8124
8138
  }
8125
8139
  },
8126
8140
  root: {
8127
- borderColor: "alert.info.outline",
8128
- bg: "alert.info.surface"
8141
+ borderColor: "outline.info",
8142
+ bg: "surface.info"
8129
8143
  },
8130
8144
  title: {
8131
- color: "alert.info.text"
8145
+ color: "text.info"
8132
8146
  }
8133
8147
  },
8134
8148
  error: {
8135
8149
  itemContent: {
8136
- color: "alert.error.text.secondary"
8150
+ color: "text.critical.subtle"
8137
8151
  },
8138
8152
  itemTrigger: {
8139
8153
  "&:hover": {
8140
- bg: "alert.error.surface.hover",
8154
+ bg: "surface.critical.hover",
8141
8155
  outlineOffset: "0px",
8142
8156
  outline: "1px solid",
8143
- outlineColor: "alert.error.outline.hover",
8157
+ outlineColor: "outline.critical.hover",
8144
8158
  "&:active": {
8145
- bg: "alert.error.surface.active"
8159
+ bg: "surface.critical.active"
8146
8160
  }
8147
8161
  }
8148
8162
  },
8149
8163
  root: {
8150
- borderColor: "alert.error.outline",
8151
- bg: "alert.error.surface"
8164
+ borderColor: "outline.critical",
8165
+ bg: "surface.critical"
8152
8166
  },
8153
8167
  title: {
8154
- color: "alert.error.text"
8168
+ color: "text.critical"
8155
8169
  }
8156
8170
  }
8157
8171
  }
@@ -8167,10 +8181,10 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8167
8181
  transitionDuration: "fast",
8168
8182
  borderTopRadius: "none",
8169
8183
  borderBottomRadius: "md",
8170
- backgroundColor: "alert.service.surface",
8184
+ backgroundColor: "surface.service",
8171
8185
  outline: "1px solid",
8172
- outlineColor: "alert.service.outline",
8173
- color: "text.inverted",
8186
+ outlineColor: "outline.service",
8187
+ color: "text.brand",
8174
8188
  boxShadow: "sm"
8175
8189
  },
8176
8190
  itemTrigger: {
@@ -8182,15 +8196,15 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8182
8196
  borderBottomRadius: "md",
8183
8197
  borderTopRadius: "none",
8184
8198
  width: "full",
8185
- color: "text.inverted",
8199
+ color: "text.brand",
8186
8200
  "&:hover": {
8187
- backgroundColor: "alert.service.surface.hover"
8201
+ backgroundColor: "surface.service.hover"
8188
8202
  },
8189
8203
  "&:active": {
8190
- backgroundColor: "alert.service.surface.active"
8204
+ backgroundColor: "surface.service.active"
8191
8205
  },
8192
8206
  _icon: {
8193
- color: "text"
8207
+ color: "icon.brand"
8194
8208
  }
8195
8209
  },
8196
8210
  itemTriggerTitle: {
@@ -8200,7 +8214,7 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8200
8214
  fontWeight: "400",
8201
8215
  fontSize: ["mobile.xs", "desktop.xs"],
8202
8216
  textWrap: "nowrap",
8203
- color: "alert.service.text.secondary"
8217
+ color: "text.service.subtle"
8204
8218
  },
8205
8219
  itemContent: {
8206
8220
  paddingX: ["2", "3"],
@@ -8210,14 +8224,14 @@ var alertServiceSlotRecipe = defineSlotRecipe({
8210
8224
  itemBody: {
8211
8225
  marginX: "auto",
8212
8226
  padding: "0 !important",
8213
- color: "alert.service.text.secondary",
8227
+ color: "text.service.subtle",
8214
8228
  gap: 0,
8215
8229
  flexDirection: "column",
8216
8230
  display: "flex",
8217
8231
  "& > p": {
8218
8232
  width: "full",
8219
8233
  borderBottom: "1px dashed",
8220
- borderColor: "outline.inverted",
8234
+ borderColor: "outline.neutral",
8221
8235
  paddingY: ["1", "1.5"],
8222
8236
  _first: {
8223
8237
  paddingTop: 0
@@ -8300,7 +8314,7 @@ var comboboxSlotRecipe = defineSlotRecipe({
8300
8314
  borderRadius: "sm",
8301
8315
  flex: "1",
8302
8316
  _highlighted: {
8303
- bg: "ghost.surface.active"
8317
+ bg: "surface.ghost.active"
8304
8318
  },
8305
8319
  _disabled: {
8306
8320
  pointerEvents: "none",
@@ -8308,13 +8322,13 @@ var comboboxSlotRecipe = defineSlotRecipe({
8308
8322
  color: "text.disabled"
8309
8323
  },
8310
8324
  _hover: {
8311
- bg: "ghost.surface.hover"
8325
+ bg: "surface.ghost.hover"
8312
8326
  },
8313
8327
  _pressed: {
8314
- bg: "ghost.surface.active"
8328
+ bg: "surface.ghost.active"
8315
8329
  },
8316
8330
  _focus: {
8317
- bg: "ghost.surface.active"
8331
+ bg: "surface.ghost.active"
8318
8332
  }
8319
8333
  },
8320
8334
  empty: {
@@ -8333,7 +8347,7 @@ var comboboxSlotRecipe = defineSlotRecipe({
8333
8347
  itemGroupLabel: {
8334
8348
  px: "3",
8335
8349
  py: "0.5",
8336
- color: "floating.text",
8350
+ color: "text.floating",
8337
8351
  fontFeatureSettings: "liga off",
8338
8352
  fontSize: ["mobile.sm, desktop.sm"],
8339
8353
  fontWeight: "bold"
@@ -8369,11 +8383,11 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
8369
8383
  core: {
8370
8384
  link: {
8371
8385
  _hover: {
8372
- outlineColor: "core.outline.hover",
8386
+ outlineColor: "outline.core.hover",
8373
8387
  outlineWidth: tokens22__default.size.stroke.md,
8374
8388
  outlineStyle: "solid",
8375
8389
  _active: {
8376
- backgroundColor: "core.surface.active",
8390
+ backgroundColor: "surface.core.active",
8377
8391
  outline: "none"
8378
8392
  }
8379
8393
  }
@@ -8382,9 +8396,9 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
8382
8396
  ghost: {
8383
8397
  link: {
8384
8398
  _hover: {
8385
- backgroundColor: "ghost.surface.hover",
8399
+ backgroundColor: "surface.ghost.hover",
8386
8400
  _active: {
8387
- backgroundColor: "ghost.surface.active"
8401
+ backgroundColor: "surface.ghost.active"
8388
8402
  }
8389
8403
  }
8390
8404
  }
@@ -8406,10 +8420,10 @@ var checkboxSlotRecipe = defineSlotRecipe({
8406
8420
  gap: 1.5,
8407
8421
  _hover: {
8408
8422
  "& > input:enabled:not([aria-invalid]) + .spor-checkbox__control": {
8409
- borderColor: "core.outline.hover"
8423
+ borderColor: "outline.core.hover"
8410
8424
  },
8411
8425
  "& > input:enabled:checked:not([aria-invalid]) + .spor-checkbox__control": {
8412
- background: "brand.surface.hover"
8426
+ background: "surface.brand.hover"
8413
8427
  }
8414
8428
  }
8415
8429
  },
@@ -8431,19 +8445,14 @@ var checkboxSlotRecipe = defineSlotRecipe({
8431
8445
  transitionProperty: "background, border-color",
8432
8446
  transitionDuration: "moderate",
8433
8447
  border: "2px solid",
8434
- borderColor: "core.outline",
8448
+ borderColor: "outline.core",
8435
8449
  borderRadius: "xs",
8436
8450
  _checked: {
8437
- color: "brand.icon",
8438
- borderColor: "brand.surface",
8439
- background: "brand.surface",
8451
+ color: "icon.brand",
8452
+ borderColor: "surface.brand",
8453
+ background: "surface.brand",
8440
8454
  _focus: {
8441
- borderColor: "brand.surface.active"
8442
- },
8443
- _disabled: {
8444
- background: "surface.disabled",
8445
- color: "text.disabled",
8446
- borderColor: "currentColor"
8455
+ borderColor: "surface.brand.active"
8447
8456
  },
8448
8457
  _invalid: {
8449
8458
  backgroundColor: "outline.error",
@@ -8451,8 +8460,9 @@ var checkboxSlotRecipe = defineSlotRecipe({
8451
8460
  }
8452
8461
  },
8453
8462
  _disabled: {
8454
- // borderColor: coreText("disabled").color,
8455
- borderColor: "text.disabled"
8463
+ background: "surface.disabled",
8464
+ borderColor: "outline.disabled",
8465
+ color: "text.disabled"
8456
8466
  },
8457
8467
  _invalid: {
8458
8468
  borderColor: "outline.error"
@@ -8462,7 +8472,7 @@ var checkboxSlotRecipe = defineSlotRecipe({
8462
8472
  outlineColor: "outline.focus",
8463
8473
  outlineOffset: tokens22__default.size.stroke.md,
8464
8474
  outlineWidth: tokens22__default.size.stroke.md,
8465
- borderColor: "core.outline",
8475
+ borderColor: "outline.core",
8466
8476
  borderWidth: tokens22__default.size.stroke.md
8467
8477
  }
8468
8478
  },
@@ -8486,16 +8496,16 @@ var choiceChipSlotRecipe = defineSlotRecipe({
8486
8496
  paddingInlineStart: "2",
8487
8497
  paddingInlineEnd: "2",
8488
8498
  outline: "1px solid",
8489
- outlineColor: "core.outline",
8499
+ outlineColor: "outline.core",
8490
8500
  _checked: {
8491
- backgroundColor: "brand.surface",
8501
+ backgroundColor: "surface.brand",
8492
8502
  borderRadius: "sm",
8493
8503
  outline: "none",
8494
- color: "brand.text",
8504
+ color: "text.brand",
8495
8505
  _hover: {
8496
- backgroundColor: "brand.surface.hover",
8506
+ backgroundColor: "surface.brand.hover",
8497
8507
  _active: {
8498
- backgroundColor: "brand.surface.active"
8508
+ backgroundColor: "surface.brand.active"
8499
8509
  }
8500
8510
  }
8501
8511
  },
@@ -8592,47 +8602,47 @@ var choiceChipSlotRecipe = defineSlotRecipe({
8592
8602
  variant: {
8593
8603
  core: {
8594
8604
  root: {
8595
- color: "core.text",
8596
- outlineColor: "core.outline",
8605
+ color: "text.core",
8606
+ outlineColor: "outline.core",
8597
8607
  _hover: {
8598
8608
  outline: "2px solid",
8599
- outlineColor: "core.outline.hover",
8609
+ outlineColor: "outline.core.hover",
8600
8610
  _active: {
8601
8611
  outline: "1px solid",
8602
- outlineColor: "core.outline",
8603
- backgroundColor: "core.surface.active"
8612
+ outlineColor: "outline.core",
8613
+ backgroundColor: "surface.core.active"
8604
8614
  }
8605
8615
  }
8606
8616
  }
8607
8617
  },
8608
8618
  accent: {
8609
8619
  root: {
8610
- backgroundColor: "accent.surface",
8611
- color: "accent.text",
8620
+ backgroundColor: "surface.accent",
8621
+ color: "text.accent",
8612
8622
  outline: "none",
8613
8623
  _hover: {
8614
- backgroundColor: "accent.surface.hover",
8624
+ backgroundColor: "surface.accent.hover",
8615
8625
  _active: {
8616
- backgroundColor: "accent.surface.active"
8626
+ backgroundColor: "surface.accent.active"
8617
8627
  }
8618
8628
  }
8619
8629
  }
8620
8630
  },
8621
8631
  floating: {
8622
8632
  root: {
8623
- backgroundColor: "floating.surface",
8633
+ backgroundColor: "surface.floating",
8624
8634
  outline: "1px solid",
8625
- outlineColor: "floating.outline",
8626
- color: "floating.text",
8635
+ outlineColor: "outline.floating",
8636
+ color: "text.floating",
8627
8637
  boxShadow: "sm",
8628
8638
  _hover: {
8629
- backgroundColor: "floating.surface.hover",
8639
+ backgroundColor: "surface.floating.hover",
8630
8640
  outline: "1px solid",
8631
- outlineColor: "floating.outline.hover",
8641
+ outlineColor: "outline.floating.hover",
8632
8642
  _active: {
8633
- backgroundColor: "floating.surface.active",
8643
+ backgroundColor: "surface.floating.active",
8634
8644
  outline: "1px solid",
8635
- outlineColor: "floating.outline"
8645
+ outlineColor: "outline.floating"
8636
8646
  }
8637
8647
  }
8638
8648
  }
@@ -8710,7 +8720,7 @@ var datePickerSlotRecipe = defineSlotRecipe({
8710
8720
  },
8711
8721
  dateTimeSegment: {
8712
8722
  _focus: {
8713
- backgroundColor: "ghost.surface.active",
8723
+ backgroundColor: "surface.ghost.active",
8714
8724
  color: "text"
8715
8725
  }
8716
8726
  },
@@ -8726,10 +8736,10 @@ var datePickerSlotRecipe = defineSlotRecipe({
8726
8736
  transitionProperty: "box-shadow, background-color",
8727
8737
  right: "0.5rem",
8728
8738
  _hover: {
8729
- backgroundColor: "ghost.surface.hover"
8739
+ backgroundColor: "surface.ghost.hover"
8730
8740
  },
8731
8741
  _active: {
8732
- backgroundColor: "ghost.surface.active"
8742
+ backgroundColor: "surface.ghost.active"
8733
8743
  },
8734
8744
  _invalid: {
8735
8745
  outline: "2px solid",
@@ -8740,11 +8750,11 @@ var datePickerSlotRecipe = defineSlotRecipe({
8740
8750
  backgroundColor: "surface"
8741
8751
  },
8742
8752
  calendarPopover: {
8743
- color: "core.text",
8753
+ color: "text.core",
8744
8754
  outline: "1px solid",
8745
- outlineColor: "floating.outline",
8755
+ outlineColor: "outline.floating",
8746
8756
  boxShadow: "md",
8747
- backgroundColor: "floating.surface",
8757
+ backgroundColor: "surface.floating",
8748
8758
  minHeight: "min-content"
8749
8759
  },
8750
8760
  rangeCalendarPopover: {
@@ -8752,11 +8762,11 @@ var datePickerSlotRecipe = defineSlotRecipe({
8752
8762
  maxWidth: "100vw"
8753
8763
  },
8754
8764
  weekdays: {
8755
- color: "core.text",
8765
+ color: "text.core",
8756
8766
  fontWeight: "bold"
8757
8767
  },
8758
8768
  weekend: {
8759
- color: "accent.text",
8769
+ color: "text.accent",
8760
8770
  fontWeight: "bold"
8761
8771
  },
8762
8772
  cell: {
@@ -8770,12 +8780,12 @@ var datePickerSlotRecipe = defineSlotRecipe({
8770
8780
  top: 0,
8771
8781
  bottom: 0,
8772
8782
  zIndex: -1,
8773
- backgroundColor: "brand.surface"
8783
+ backgroundColor: "surface.brand"
8774
8784
  }
8775
8785
  }
8776
8786
  },
8777
8787
  dateCell: {
8778
- color: "core.text",
8788
+ color: "text.core",
8779
8789
  borderRadius: "xl",
8780
8790
  position: "relative",
8781
8791
  transition: ".1s ease-in-out",
@@ -8784,10 +8794,10 @@ var datePickerSlotRecipe = defineSlotRecipe({
8784
8794
  height: [6, 7],
8785
8795
  transitionProperty: "common",
8786
8796
  _hover: {
8787
- backgroundColor: "ghost.surface.hover"
8797
+ backgroundColor: "surface.ghost.hover"
8788
8798
  },
8789
8799
  _active: {
8790
- backgroundColor: "ghost.surface.active"
8800
+ backgroundColor: "surface.ghost.active"
8791
8801
  },
8792
8802
  _disabled: {
8793
8803
  backgroundColor: "surface.disabled",
@@ -8795,16 +8805,16 @@ var datePickerSlotRecipe = defineSlotRecipe({
8795
8805
  pointerEvents: "none"
8796
8806
  },
8797
8807
  _selected: {
8798
- backgroundColor: "brand.surface",
8799
- color: "brand.text",
8808
+ backgroundColor: "surface.brand",
8809
+ color: "text.brand",
8800
8810
  _active: {
8801
- backgroundColor: "brand.surface.active",
8802
- color: "brand.text"
8811
+ backgroundColor: "surface.brand.active",
8812
+ color: "text.brand"
8803
8813
  }
8804
8814
  },
8805
8815
  "&[data-today]": {
8806
8816
  outline: "1px solid",
8807
- outlineColor: "core.outline"
8817
+ outlineColor: "outline.core"
8808
8818
  },
8809
8819
  "&[data-unavailable]": {
8810
8820
  pointerEvents: "none",
@@ -8819,14 +8829,14 @@ var datePickerSlotRecipe = defineSlotRecipe({
8819
8829
  core: {
8820
8830
  wrapper: {
8821
8831
  outline: "1px solid",
8822
- outlineColor: "core.outline",
8832
+ outlineColor: "outline.core",
8823
8833
  _hover: {
8824
8834
  outline: "2px solid",
8825
- outlineColor: "core.outline.hover",
8835
+ outlineColor: "outline.core.hover",
8826
8836
  _active: {
8827
- backgroundColor: "ghost.surface.active",
8837
+ backgroundColor: "surface.ghost.active",
8828
8838
  outline: "1px solid",
8829
- outlineColor: "core.outline"
8839
+ outlineColor: "outline.core"
8830
8840
  },
8831
8841
  "&[data-active]": {
8832
8842
  outline: "2px solid",
@@ -8844,17 +8854,17 @@ var datePickerSlotRecipe = defineSlotRecipe({
8844
8854
  },
8845
8855
  floating: {
8846
8856
  wrapper: {
8847
- bg: "floating.surface",
8857
+ bg: "surface.floating",
8848
8858
  outline: "1px solid",
8849
- outlineColor: "floating.outline",
8859
+ outlineColor: "outline.floating",
8850
8860
  boxShadow: "sm",
8851
8861
  _hover: {
8852
8862
  outline: "1px solid",
8853
- outlineColor: "floating.outline.hover",
8863
+ outlineColor: "outline.floating.hover",
8854
8864
  _active: {
8855
- backgroundColor: "ghost.surface.active",
8865
+ backgroundColor: "surface.ghost.active",
8856
8866
  outline: "1px solid",
8857
- outlineColor: "core.outline"
8867
+ outlineColor: "outline.core"
8858
8868
  },
8859
8869
  "&[data-active]": {
8860
8870
  outline: "2px solid",
@@ -8874,11 +8884,11 @@ var datePickerSlotRecipe = defineSlotRecipe({
8874
8884
  wrapper: {
8875
8885
  _hover: {
8876
8886
  outline: "2px solid",
8877
- outlineColor: "core.outline.hover",
8887
+ outlineColor: "outline.core.hover",
8878
8888
  _active: {
8879
- backgroundColor: "ghost.surface.active",
8889
+ backgroundColor: "surface.ghost.active",
8880
8890
  outline: "1px solid",
8881
- outlineColor: "core.outline"
8891
+ outlineColor: "outline.core"
8882
8892
  },
8883
8893
  "&[data-active]": {
8884
8894
  outline: "2px solid",
@@ -9338,13 +9348,13 @@ var fieldSlotRecipe = defineSlotRecipe({
9338
9348
  },
9339
9349
  helperText: {
9340
9350
  marginTop: 2,
9341
- color: "text.tertiary",
9351
+ color: "text.subtle",
9342
9352
  lineHeight: "normal",
9343
9353
  fontSize: "sm"
9344
9354
  },
9345
9355
  errorText: {
9346
9356
  borderRadius: "xs",
9347
- backgroundColor: "alert.error.surface",
9357
+ backgroundColor: "surface.critical",
9348
9358
  color: "text",
9349
9359
  paddingX: 1.5,
9350
9360
  paddingY: 1,
@@ -9362,7 +9372,7 @@ var fieldSlotRecipe = defineSlotRecipe({
9362
9372
  left: "1em",
9363
9373
  width: "0.5rem",
9364
9374
  height: "0.5rem",
9365
- backgroundColor: "alert.error.surface",
9375
+ backgroundColor: "surface.critical",
9366
9376
  transform: "translateY(-50%) rotate(45deg)",
9367
9377
  pointerEvents: "none"
9368
9378
  }
@@ -9423,12 +9433,12 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
9423
9433
  variant: {
9424
9434
  brand: {
9425
9435
  root: {
9426
- backgroundColor: "brand.surface",
9427
- color: "brand.text",
9436
+ backgroundColor: "surface.brand",
9437
+ color: "text.brand",
9428
9438
  _hover: {
9429
- backgroundColor: "brand.surface.hover",
9439
+ backgroundColor: "surface.brand.hover",
9430
9440
  _active: {
9431
- backgroundColor: "brand.surface.active"
9441
+ backgroundColor: "surface.brand.active"
9432
9442
  }
9433
9443
  }
9434
9444
  }
@@ -9437,29 +9447,29 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
9437
9447
  root: {
9438
9448
  backgroundColor: "transparent",
9439
9449
  outline: "1px solid",
9440
- outlineColor: "core.outline",
9441
- color: "core.text",
9450
+ outlineColor: "outline.core",
9451
+ color: "text.core",
9442
9452
  _hover: {
9443
9453
  backgroundColor: "transparent",
9444
9454
  outline: "2px solid",
9445
- outlineColor: "core.outline",
9455
+ outlineColor: "outline.core",
9446
9456
  _active: {
9447
9457
  outline: "1px solid",
9448
- outlineColor: "core.outline",
9449
- backgroundColor: "core.surface.active"
9458
+ outlineColor: "outline.core",
9459
+ backgroundColor: "surface.core.active"
9450
9460
  }
9451
9461
  }
9452
9462
  }
9453
9463
  },
9454
9464
  accent: {
9455
9465
  root: {
9456
- backgroundColor: "accent.surface",
9457
- color: "accent.text",
9466
+ backgroundColor: "surface.accent",
9467
+ color: "text.accent",
9458
9468
  _hover: {
9459
- backgroundColor: "accent.surface.hover",
9460
- color: "accent.text",
9469
+ backgroundColor: "surface.accent.hover",
9470
+ color: "text.accent",
9461
9471
  _active: {
9462
- backgroundColor: "accent.surface.active"
9472
+ backgroundColor: "surface.accent.active"
9463
9473
  }
9464
9474
  }
9465
9475
  }
@@ -9779,42 +9789,42 @@ var inputChipSlotRecipe = defineSlotRecipe({
9779
9789
  borderColor: "outline",
9780
9790
  "&:hover": {
9781
9791
  outline: "2px solid",
9782
- outlineColor: "core.outline.hover"
9792
+ outlineColor: "outline.core.hover"
9783
9793
  },
9784
9794
  "&:active": {
9785
9795
  outline: "none",
9786
- backgroundColor: "core.surface.active"
9796
+ backgroundColor: "surface.core.active"
9787
9797
  }
9788
9798
  }
9789
9799
  },
9790
9800
  accent: {
9791
9801
  root: {
9792
- backgroundColor: "accent.surface",
9802
+ backgroundColor: "surface.accent",
9793
9803
  color: "text.highlight",
9794
9804
  "& svg": {
9795
9805
  color: "icon.highlight"
9796
9806
  },
9797
9807
  "&:hover": {
9798
- backgroundColor: "accent.surface.hover"
9808
+ backgroundColor: "surface.accent.hover"
9799
9809
  },
9800
9810
  "&:active": {
9801
- backgroundColor: "accent.surface.active",
9811
+ backgroundColor: "surface.accent.active",
9802
9812
  outline: "none"
9803
9813
  }
9804
9814
  }
9805
9815
  },
9806
9816
  brand: {
9807
9817
  root: {
9808
- backgroundColor: "brand.surface",
9809
- color: "text.inverted",
9818
+ backgroundColor: "surface.brand",
9819
+ color: "text.brand",
9810
9820
  "& svg": {
9811
- color: "icon.inverted"
9821
+ color: "icon.brand"
9812
9822
  },
9813
9823
  "&:hover": {
9814
- backgroundColor: "brand.surface.hover"
9824
+ backgroundColor: "surface.brand.hover"
9815
9825
  },
9816
9826
  "&:active": {
9817
- backgroundColor: "brand.surface.active",
9827
+ backgroundColor: "surface.brand.active",
9818
9828
  outline: "none"
9819
9829
  }
9820
9830
  }
@@ -10041,18 +10051,18 @@ var listBoxSlotRecipe = defineSlotRecipe({
10041
10051
  marginY: 1,
10042
10052
  marginX: 1,
10043
10053
  borderRadius: "sm",
10044
- color: "ghost.text",
10054
+ color: "text.ghost",
10045
10055
  cursor: "pointer",
10046
10056
  listStyle: "none",
10047
10057
  _active: {
10048
- backgroundColor: "ghost.surface.active"
10058
+ backgroundColor: "surface.ghost.active"
10049
10059
  },
10050
10060
  _hover: {
10051
- backgroundColor: "accent.surface",
10052
- color: "accent.text"
10061
+ backgroundColor: "surface.accent",
10062
+ color: "text.accent"
10053
10063
  },
10054
10064
  _selected: {
10055
- backgroundColor: "ghost.surface.active"
10065
+ backgroundColor: "surface.ghost.active"
10056
10066
  },
10057
10067
  _focus: {
10058
10068
  outline: "2px solid",
@@ -10062,9 +10072,9 @@ var listBoxSlotRecipe = defineSlotRecipe({
10062
10072
  label: {},
10063
10073
  description: {
10064
10074
  fontSize: ["mobile.xs", "desktop.xs"],
10065
- color: "ghost.text",
10075
+ color: "text.ghost",
10066
10076
  "[aria-selected='true'] &": {
10067
- color: "ghost.text"
10077
+ color: "text.ghost"
10068
10078
  }
10069
10079
  }
10070
10080
  },
@@ -10073,13 +10083,13 @@ var listBoxSlotRecipe = defineSlotRecipe({
10073
10083
  core: {
10074
10084
  root: {
10075
10085
  outline: "1px solid",
10076
- outlineColor: "core.outline"
10086
+ outlineColor: "outline.core"
10077
10087
  }
10078
10088
  },
10079
10089
  floating: {
10080
10090
  root: {
10081
10091
  outline: "1px solid",
10082
- outlineColor: "floating.outline"
10092
+ outlineColor: "outline.floating"
10083
10093
  }
10084
10094
  }
10085
10095
  }
@@ -10104,7 +10114,7 @@ var mediaControllerSlotRecipe = defineSlotRecipe({
10104
10114
  display: "flex",
10105
10115
  padding: 1,
10106
10116
  alignSelf: "center",
10107
- color: "brand.surface",
10117
+ color: "surface.brand",
10108
10118
  outlineOffset: "2px"
10109
10119
  },
10110
10120
  icon: {
@@ -10117,14 +10127,14 @@ var mediaControllerSlotRecipe = defineSlotRecipe({
10117
10127
  play: {
10118
10128
  root: {
10119
10129
  padding: 0,
10120
- color: "brand.text",
10121
- backgroundColor: "brand.surface",
10130
+ color: "text.brand",
10131
+ backgroundColor: "surface.brand",
10122
10132
  _hover: {
10123
- color: "brand.text",
10124
- backgroundColor: "brand.surface.hover",
10133
+ color: "text.brand",
10134
+ backgroundColor: "surface.brand.hover",
10125
10135
  _active: {
10126
- color: "brand.text",
10127
- backgroundColor: "brand.surface.active"
10136
+ color: "text.brand",
10137
+ backgroundColor: "surface.brand.active"
10128
10138
  }
10129
10139
  },
10130
10140
  _disabled: {
@@ -10137,9 +10147,9 @@ var mediaControllerSlotRecipe = defineSlotRecipe({
10137
10147
  jumpSkip: {
10138
10148
  root: {
10139
10149
  _hover: {
10140
- backgroundColor: "ghost.surface.hover",
10150
+ backgroundColor: "surface.ghost.hover",
10141
10151
  _active: {
10142
- backgroundColor: "ghost.surface.active"
10152
+ backgroundColor: "surface.ghost.active"
10143
10153
  }
10144
10154
  },
10145
10155
  _disabled: {
@@ -10249,16 +10259,16 @@ var menuSlotRecipe = defineSlotRecipe({
10249
10259
  justifyContent: "space-between",
10250
10260
  gap: 1.5,
10251
10261
  _hover: {
10252
- backgroundColor: "accent.surface.hover"
10262
+ backgroundColor: "surface.accent.hover"
10253
10263
  },
10254
10264
  "&:active": {
10255
- backgroundColor: "accent.surface.active"
10265
+ backgroundColor: "surface.accent.active"
10256
10266
  },
10257
10267
  _checked: {
10258
- backgroundColor: "accent.surface"
10268
+ backgroundColor: "surface.accent"
10259
10269
  },
10260
10270
  _highlighted: {
10261
- backgroundColor: "ghost.surface.hover"
10271
+ backgroundColor: "surface.ghost.hover"
10262
10272
  }
10263
10273
  },
10264
10274
  itemGroupLabel: {
@@ -10295,19 +10305,19 @@ var menuSlotRecipe = defineSlotRecipe({
10295
10305
  core: {
10296
10306
  content: {
10297
10307
  border: "1px solid",
10298
- borderColor: "core.outline"
10308
+ borderColor: "outline.core"
10299
10309
  }
10300
10310
  },
10301
10311
  accent: {
10302
10312
  content: {
10303
10313
  border: "1px solid",
10304
- borderColor: "core.outline"
10314
+ borderColor: "outline.core"
10305
10315
  }
10306
10316
  },
10307
10317
  floating: {
10308
10318
  content: {
10309
10319
  border: "sm",
10310
- borderColor: "floating.outline",
10320
+ borderColor: "outline.floating",
10311
10321
  boxShadow: "lg"
10312
10322
  }
10313
10323
  }
@@ -10395,7 +10405,7 @@ var numericStepperRecipe = defineSlotRecipe({
10395
10405
  textAlign: "center",
10396
10406
  transitionProperty: "common",
10397
10407
  transitionDuration: "fast",
10398
- color: "core.text",
10408
+ color: "text.core",
10399
10409
  backgroundColor: "transparent",
10400
10410
  _focus: {
10401
10411
  backgroundColor: "surface",
@@ -10403,7 +10413,7 @@ var numericStepperRecipe = defineSlotRecipe({
10403
10413
  outlineColor: "outline.focus"
10404
10414
  },
10405
10415
  _active: {
10406
- backgroundColor: "accent.surface.active"
10416
+ backgroundColor: "surface.accent.active"
10407
10417
  },
10408
10418
  _disabled: {
10409
10419
  pointerEvents: "none",
@@ -10411,7 +10421,7 @@ var numericStepperRecipe = defineSlotRecipe({
10411
10421
  },
10412
10422
  _hover: {
10413
10423
  outline: "1px solid",
10414
- outlineColor: "core.outline"
10424
+ outlineColor: "outline.core"
10415
10425
  }
10416
10426
  },
10417
10427
  text: {
@@ -10421,7 +10431,7 @@ var numericStepperRecipe = defineSlotRecipe({
10421
10431
  paddingX: 1,
10422
10432
  textAlign: "center",
10423
10433
  width: "4ch",
10424
- color: "core.text"
10434
+ color: "text.core"
10425
10435
  },
10426
10436
  button: {
10427
10437
  outlineOffset: "-2px",
@@ -10455,18 +10465,18 @@ var paginationSlotRecipe = defineSlotRecipe({
10455
10465
  width: "5",
10456
10466
  fontSize: "xs",
10457
10467
  borderRadius: "xl",
10458
- color: "core.text",
10468
+ color: "text.core",
10459
10469
  cursor: "pointer",
10460
10470
  _hover: {
10461
- background: "ghost.surface.hover",
10471
+ background: "surface.ghost.hover",
10462
10472
  _active: {
10463
- background: "ghost.surface.active"
10473
+ background: "surface.ghost.active"
10464
10474
  }
10465
10475
  },
10466
10476
  _selected: {
10467
10477
  cursor: "default",
10468
10478
  fontWeight: "bold",
10469
- backgroundColor: "core.surface.active"
10479
+ backgroundColor: "surface.core.active"
10470
10480
  }
10471
10481
  },
10472
10482
  list: {
@@ -10486,11 +10496,11 @@ var popoverSlotRecipe = defineSlotRecipe({
10486
10496
  position: "relative",
10487
10497
  display: "flex",
10488
10498
  flexDirection: "row-reverse",
10489
- color: "text.inverted",
10499
+ color: "text.brand",
10490
10500
  gap: "0.625rem",
10491
10501
  padding: "0.563rem 0.75rem",
10492
10502
  textStyle: "sm",
10493
- bg: "surface.tertiary",
10503
+ bg: "surface.brand",
10494
10504
  boxShadow: "lg",
10495
10505
  borderRadius: "sm",
10496
10506
  zIndex: "popover",
@@ -10507,14 +10517,14 @@ var popoverSlotRecipe = defineSlotRecipe({
10507
10517
  }
10508
10518
  },
10509
10519
  body: {
10510
- color: "text.inverted",
10520
+ color: "text.brand",
10511
10521
  alignItems: "center",
10512
10522
  borderRadius: "sm",
10513
10523
  zIndex: "inherit",
10514
10524
  maxWidth: "20em"
10515
10525
  },
10516
10526
  arrow: {
10517
- "--arrow-background": "colors.surface.tertiary",
10527
+ "--arrow-background": "colors.surface.brand",
10518
10528
  "--arrow-size": "6px"
10519
10529
  }
10520
10530
  },
@@ -10558,7 +10568,7 @@ var progressBarRecipe = defineSlotRecipe({
10558
10568
  },
10559
10569
  background: {
10560
10570
  display: "flex",
10561
- backgroundColor: "accent.surface.hover",
10571
+ backgroundColor: "surface.accent.hover",
10562
10572
  borderRadius: "sm",
10563
10573
  boxPack: "start",
10564
10574
  justifyContent: "flex-start",
@@ -10569,7 +10579,7 @@ var progressBarRecipe = defineSlotRecipe({
10569
10579
  borderRadius: "sm"
10570
10580
  },
10571
10581
  progress: {
10572
- backgroundColor: "brand.surface.active",
10582
+ backgroundColor: "surface.brand.active",
10573
10583
  borderRadius: "sm",
10574
10584
  maxWidth: "100%",
10575
10585
  transition: "width .2s ease-out"
@@ -10599,7 +10609,7 @@ var progressIndicatorRecipe = defineSlotRecipe({
10599
10609
  width: 1,
10600
10610
  fill: "icon.disabled",
10601
10611
  "&[aria-current='step']": {
10602
- fill: "brand.surface"
10612
+ fill: "surface.brand"
10603
10613
  }
10604
10614
  }
10605
10615
  }
@@ -10639,17 +10649,17 @@ var radioGroupSlotRecipe = defineSlotRecipe({
10639
10649
  justifyContent: "center",
10640
10650
  verticalAlign: "top",
10641
10651
  borderWidth: "2px",
10642
- borderColor: "core.outline",
10652
+ borderColor: "outline.core",
10643
10653
  borderRadius: "xl",
10644
10654
  width: 4,
10645
10655
  height: 4,
10646
10656
  _checked: {
10647
- borderColor: "brand.surface"
10657
+ borderColor: "surface.brand"
10648
10658
  },
10649
10659
  _hover: {
10650
- borderColor: "brand.surface.hover",
10660
+ borderColor: "surface.brand.hover",
10651
10661
  "& .dot": {
10652
- backgroundColor: "brand.surface.hover"
10662
+ backgroundColor: "surface.brand.hover"
10653
10663
  }
10654
10664
  },
10655
10665
  _disabled: {
@@ -10670,7 +10680,7 @@ var radioGroupSlotRecipe = defineSlotRecipe({
10670
10680
  height: "full",
10671
10681
  width: "full",
10672
10682
  borderRadius: "xl",
10673
- backgroundColor: "brand.surface",
10683
+ backgroundColor: "surface.brand",
10674
10684
  scale: "0.5"
10675
10685
  }
10676
10686
  }
@@ -10722,15 +10732,15 @@ var radioCardSlotRecipe = defineSlotRecipe({
10722
10732
  variant: {
10723
10733
  core: {
10724
10734
  item: {
10725
- outlineColor: "core.outline",
10735
+ outlineColor: "outline.core",
10726
10736
  outlineWidth: tokens22__default.size.stroke.sm,
10727
10737
  outlineStyle: "solid",
10728
10738
  _hover: {
10729
- outlineColor: "core.outline.hover",
10739
+ outlineColor: "outline.core.hover",
10730
10740
  outlineWidth: tokens22__default.size.stroke.md,
10731
10741
  outlineStyle: "solid",
10732
10742
  _active: {
10733
- backgroundColor: "core.surface.active",
10743
+ backgroundColor: "surface.core.active",
10734
10744
  outlineWidth: tokens22__default.size.stroke.sm
10735
10745
  }
10736
10746
  },
@@ -10738,7 +10748,7 @@ var radioCardSlotRecipe = defineSlotRecipe({
10738
10748
  outlineColor: "outline.focus",
10739
10749
  outlineWidth: tokens22__default.size.stroke.md,
10740
10750
  outlineStyle: "solid",
10741
- backgroundColor: "core.surface.active",
10751
+ backgroundColor: "surface.core.active",
10742
10752
  _focusVisible: {
10743
10753
  outlineStyle: "double",
10744
10754
  outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
@@ -10752,15 +10762,15 @@ var radioCardSlotRecipe = defineSlotRecipe({
10752
10762
  boxShadow: "0px 1px 3px 0px var(--shadow-color)",
10753
10763
  shadowColor: "surface.disabled",
10754
10764
  border: "sm",
10755
- borderColor: "floating.outline",
10756
- background: "floating.surface",
10765
+ borderColor: "outline.floating",
10766
+ background: "surface.floating",
10757
10767
  _hover: {
10758
- background: "floating.surface.hover",
10759
- borderColor: "floating.outline.hover",
10768
+ background: "surface.floating.hover",
10769
+ borderColor: "outline.floating.hover",
10760
10770
  boxShadow: "0px 2px 6px 0px var(--shadow-color)",
10761
10771
  _active: {
10762
- background: "floating.surface.active",
10763
- borderColor: "floating.outline.active",
10772
+ background: "surface.floating.active",
10773
+ borderColor: "outline.neutral",
10764
10774
  boxShadow: "none"
10765
10775
  }
10766
10776
  },
@@ -10768,7 +10778,7 @@ var radioCardSlotRecipe = defineSlotRecipe({
10768
10778
  outlineColor: "outline.focus",
10769
10779
  outlineWidth: tokens22__default.size.stroke.md,
10770
10780
  outlineStyle: "solid",
10771
- backgroundColor: "core.surface.active",
10781
+ backgroundColor: "surface.core.active",
10772
10782
  _focusVisible: {
10773
10783
  outlineStyle: "double",
10774
10784
  outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
@@ -10848,7 +10858,7 @@ var selectSlotRecipe = defineSlotRecipe({
10848
10858
  color: {
10849
10859
  base: "text",
10850
10860
  _disabled: "text.disabled",
10851
- _invalid: "text.secondary"
10861
+ _invalid: "text.highlight"
10852
10862
  },
10853
10863
  _icon: {
10854
10864
  width: 3,
@@ -10885,14 +10895,14 @@ var selectSlotRecipe = defineSlotRecipe({
10885
10895
  justifyContent: "space-between",
10886
10896
  gap: 1,
10887
10897
  borderRadius: "sm",
10888
- color: "ghost.text",
10898
+ color: "text.ghost",
10889
10899
  cursor: "pointer",
10890
10900
  outline: "none",
10891
10901
  "&[data-highlighted]:hover": {
10892
10902
  outlineOffset: "2px",
10893
10903
  outline: "2px solid",
10894
10904
  outlineColor: "outline.focus",
10895
- backgroundColor: "accent.surface.hover"
10905
+ backgroundColor: "surface.accent.hover"
10896
10906
  },
10897
10907
  "&[data-highlighted]": {
10898
10908
  outlineOffset: "2px",
@@ -10900,7 +10910,7 @@ var selectSlotRecipe = defineSlotRecipe({
10900
10910
  outlineColor: "outline.focus"
10901
10911
  },
10902
10912
  _active: {
10903
- backgroundColor: "accent.surface.active"
10913
+ backgroundColor: "surface.accent.active"
10904
10914
  },
10905
10915
  _highlighted: {
10906
10916
  _active: {
@@ -10908,12 +10918,12 @@ var selectSlotRecipe = defineSlotRecipe({
10908
10918
  }
10909
10919
  },
10910
10920
  _hover: {
10911
- backgroundColor: "accent.surface.hover",
10921
+ backgroundColor: "surface.accent.hover",
10912
10922
  outline: "2px solid core.outline",
10913
10923
  outlineOffset: "2px"
10914
10924
  },
10915
10925
  _selected: {
10916
- backgroundColor: "accent.surface"
10926
+ backgroundColor: "surface.accent"
10917
10927
  },
10918
10928
  _icon: {
10919
10929
  width: 3,
@@ -10948,9 +10958,9 @@ var selectSlotRecipe = defineSlotRecipe({
10948
10958
  valueText: {},
10949
10959
  itemDescription: {
10950
10960
  fontSize: ["mobile.xs", "desktop.xs"],
10951
- color: "ghost.text",
10961
+ color: "text.ghost",
10952
10962
  "[aria-selected='true'] &": {
10953
- color: "ghost.text"
10963
+ color: "text.ghost"
10954
10964
  }
10955
10965
  }
10956
10966
  },
@@ -10959,13 +10969,13 @@ var selectSlotRecipe = defineSlotRecipe({
10959
10969
  core: {
10960
10970
  control: {
10961
10971
  outline: "1px solid",
10962
- outlineColor: "core.outline",
10972
+ outlineColor: "outline.core",
10963
10973
  _hover: {
10964
10974
  outline: "2px solid",
10965
- outlineColor: "core.outline"
10975
+ outlineColor: "outline.core"
10966
10976
  },
10967
10977
  _active: {
10968
- backgroundColor: "brand.surface.active"
10978
+ backgroundColor: "surface.brand.active"
10969
10979
  },
10970
10980
  _disabled: {
10971
10981
  pointerEvents: "none",
@@ -10977,13 +10987,13 @@ var selectSlotRecipe = defineSlotRecipe({
10977
10987
  floating: {
10978
10988
  control: {
10979
10989
  outline: "1px solid",
10980
- outlineColor: "floating.outline",
10990
+ outlineColor: "outline.floating",
10981
10991
  _hover: {
10982
10992
  outline: "2px solid",
10983
- outlineColor: "floating.outline"
10993
+ outlineColor: "outline.floating"
10984
10994
  },
10985
10995
  _active: {
10986
- backgroundColor: "brand.surface.active"
10996
+ backgroundColor: "surface.brand.active"
10987
10997
  },
10988
10998
  _disabled: {
10989
10999
  pointerEvents: "none",
@@ -10997,7 +11007,7 @@ var selectSlotRecipe = defineSlotRecipe({
10997
11007
  rightSideSquare: {
10998
11008
  control: {
10999
11009
  outline: "1px solid",
11000
- outlineColor: "core.outline"
11010
+ outlineColor: "outline.core"
11001
11011
  },
11002
11012
  trigger: {
11003
11013
  _focus: {
@@ -11008,7 +11018,7 @@ var selectSlotRecipe = defineSlotRecipe({
11008
11018
  leftSideSquare: {
11009
11019
  control: {
11010
11020
  outline: "1px solid",
11011
- outlineColor: "core.outline"
11021
+ outlineColor: "outline.core"
11012
11022
  },
11013
11023
  trigger: {
11014
11024
  _focus: {
@@ -11076,7 +11086,7 @@ var stepperSlotRecipe = defineSlotRecipe({
11076
11086
  },
11077
11087
  accent: {
11078
11088
  root: {
11079
- backgroundColor: "accent.bg"
11089
+ backgroundColor: "bg.accent"
11080
11090
  },
11081
11091
  stepButton: {
11082
11092
  color: {
@@ -11084,13 +11094,13 @@ var stepperSlotRecipe = defineSlotRecipe({
11084
11094
  _dark: "whiteAlpha.900"
11085
11095
  },
11086
11096
  _disabled: {
11087
- color: "core.text"
11097
+ color: "text.core"
11088
11098
  },
11089
11099
  _currentStep: {
11090
- color: "accent.text"
11100
+ color: "text.accent"
11091
11101
  },
11092
11102
  _hover: {
11093
- backgroundColor: "accent.surface.hover",
11103
+ backgroundColor: "surface.accent.hover",
11094
11104
  _disabled: {
11095
11105
  backgroundColor: "transparent"
11096
11106
  }
@@ -11098,7 +11108,7 @@ var stepperSlotRecipe = defineSlotRecipe({
11098
11108
  },
11099
11109
  backButton: {
11100
11110
  _hover: {
11101
- backgroundColor: "brand.surface.hover"
11111
+ backgroundColor: "surface.brand.hover"
11102
11112
  }
11103
11113
  }
11104
11114
  }
@@ -11132,7 +11142,7 @@ var switchSlotRecipe = defineSlotRecipe({
11132
11142
  justifyContent: "center",
11133
11143
  width: "var(--switch-height)",
11134
11144
  height: "var(--switch-height)",
11135
- backgroundColor: "core.icon",
11145
+ backgroundColor: "icon.core",
11136
11146
  _disabled: {
11137
11147
  backgroundColor: "icon.disabled",
11138
11148
  _checked: {
@@ -11141,7 +11151,7 @@ var switchSlotRecipe = defineSlotRecipe({
11141
11151
  },
11142
11152
  _checked: {
11143
11153
  translate: "var(--switch-x) 0",
11144
- backgroundColor: "brand.icon"
11154
+ backgroundColor: "icon.brand"
11145
11155
  }
11146
11156
  },
11147
11157
  label: {
@@ -11170,13 +11180,13 @@ var switchSlotRecipe = defineSlotRecipe({
11170
11180
  transitionDuration: "fast",
11171
11181
  outline: "1px solid",
11172
11182
  outlineOffset: "-1px",
11173
- outlineColor: "core.outline",
11183
+ outlineColor: "outline.core",
11174
11184
  _hover: {
11175
11185
  outline: "2px solid",
11176
- outlineColor: "core.outline.hover",
11186
+ outlineColor: "outline.core.hover",
11177
11187
  _checked: {
11178
11188
  outlineColor: "transparent",
11179
- backgroundColor: "brand.surface.hover"
11189
+ backgroundColor: "surface.brand.hover"
11180
11190
  }
11181
11191
  },
11182
11192
  _focusVisible: {
@@ -11185,7 +11195,7 @@ var switchSlotRecipe = defineSlotRecipe({
11185
11195
  outlineStyle: "double"
11186
11196
  },
11187
11197
  _checked: {
11188
- backgroundColor: "brand.surface",
11198
+ backgroundColor: "surface.brand",
11189
11199
  outline: "none",
11190
11200
  _focusVisible: {
11191
11201
  outlineOffset: "1px",
@@ -11284,10 +11294,10 @@ var tableSlotRecipe = defineSlotRecipe({
11284
11294
  backgroundColor: "bg"
11285
11295
  },
11286
11296
  header: {
11287
- backgroundColor: "bg.tertiary"
11297
+ backgroundColor: "bg.brand"
11288
11298
  },
11289
11299
  columnHeader: {
11290
- color: "text.secondary"
11300
+ color: "text.highlight"
11291
11301
  }
11292
11302
  },
11293
11303
  grey: {
@@ -11496,26 +11506,26 @@ var tabsSlotRecipe = defineSlotRecipe({
11496
11506
  variant: {
11497
11507
  core: {
11498
11508
  list: {
11499
- color: "core.text",
11509
+ color: "text.core",
11500
11510
  border: "sm"
11501
11511
  },
11502
11512
  trigger: {
11503
- color: "core.text",
11513
+ color: "text.core",
11504
11514
  border: "md",
11505
11515
  borderColor: "transparent",
11506
11516
  _hover: {
11507
11517
  outline: "2px solid",
11508
- outlineColor: "core.outline.hover",
11518
+ outlineColor: "outline.core.hover",
11509
11519
  outlineOffset: "-2px"
11510
11520
  },
11511
11521
  _active: {
11512
- backgroundColor: "brand.surface.active",
11513
- color: "brand.text",
11522
+ backgroundColor: "surface.brand.active",
11523
+ color: "text.brand",
11514
11524
  outline: "none"
11515
11525
  },
11516
11526
  _selected: {
11517
- backgroundColor: "brand.surface",
11518
- color: "brand.text",
11527
+ backgroundColor: "surface.brand",
11528
+ color: "text.brand",
11519
11529
  _hover: {
11520
11530
  outline: "none"
11521
11531
  }
@@ -11528,28 +11538,28 @@ var tabsSlotRecipe = defineSlotRecipe({
11528
11538
  },
11529
11539
  accent: {
11530
11540
  list: {
11531
- backgroundColor: "accent.bg",
11532
- color: "accent.text"
11541
+ backgroundColor: "bg.accent",
11542
+ color: "text.accent"
11533
11543
  },
11534
11544
  trigger: {
11535
- color: "accent.text",
11545
+ color: "text.accent",
11536
11546
  _disabled: {
11537
11547
  backgroundColor: "surface.disabled",
11538
11548
  color: "icon.disabled"
11539
11549
  },
11540
11550
  _hover: {
11541
- backgroundColor: "accent.surface.hover",
11551
+ backgroundColor: "surface.accent.hover",
11542
11552
  _active: {
11543
- backgroundColor: "brand.surface.active",
11544
- color: "brand.text"
11553
+ backgroundColor: "surface.brand.active",
11554
+ color: "text.brand"
11545
11555
  }
11546
11556
  },
11547
11557
  _selected: {
11548
- backgroundColor: "brand.surface",
11549
- color: "brand.text",
11558
+ backgroundColor: "surface.brand",
11559
+ color: "text.brand",
11550
11560
  _hover: {
11551
- backgroundColor: "brand.surface.hover",
11552
- color: "brand.text",
11561
+ backgroundColor: "surface.brand.hover",
11562
+ color: "text.brand",
11553
11563
  outline: "none"
11554
11564
  }
11555
11565
  }
@@ -11597,7 +11607,7 @@ var tabsSlotRecipe = defineSlotRecipe({
11597
11607
  paddingX: 3,
11598
11608
  _focus: {
11599
11609
  border: "md",
11600
- borderColor: "accent.surface"
11610
+ borderColor: "surface.accent"
11601
11611
  }
11602
11612
  }
11603
11613
  }
@@ -11628,13 +11638,13 @@ var toastSlotRecipe = defineSlotRecipe({
11628
11638
  boxShadow: "xl",
11629
11639
  color: "text",
11630
11640
  "&[data-type=success]": {
11631
- backgroundColor: "alert.success.surface"
11641
+ backgroundColor: "surface.success"
11632
11642
  },
11633
11643
  "&[data-type=error]": {
11634
- backgroundColor: "alert.error.surface"
11644
+ backgroundColor: "surface.critical"
11635
11645
  },
11636
11646
  "&[data-type=info]": {
11637
- backgroundColor: "alert.info.surface"
11647
+ backgroundColor: "surface.info"
11638
11648
  }
11639
11649
  },
11640
11650
  title: {