@ixo/ui 0.0.39 → 0.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 (84) hide show
  1. package/dist/.vite/manifest.json +45 -45
  2. package/dist/{UsersSolid-DjJvkV7c.cjs → UsersSolid-C29C53eo.cjs} +5 -3
  3. package/dist/UsersSolid-C29C53eo.cjs.map +1 -0
  4. package/dist/{UsersSolid-C6NkfomI.js → UsersSolid-CU7U_J3x.js} +5 -3
  5. package/dist/UsersSolid-CU7U_J3x.js.map +1 -0
  6. package/dist/components/AIChatToolbar/index.d.ts.map +1 -1
  7. package/dist/components/AppShellNavigation/components/MenuItem.d.ts.map +1 -1
  8. package/dist/components/AppShellNavigation/components/NavigationItemSkeleton.d.ts.map +1 -1
  9. package/dist/components/AppShellNavigation/components/RoomCategory.d.ts.map +1 -1
  10. package/dist/components/AppShellNavigation/components/RoomItem.d.ts.map +1 -1
  11. package/dist/components/AppShellNavigation/components/SelectedIndicator.d.ts.map +1 -1
  12. package/dist/components/AppShellNavigation/components/SpaceItem.d.ts.map +1 -1
  13. package/dist/components/AppShellNavigation/index.d.ts +1 -5
  14. package/dist/components/AppShellNavigation/index.d.ts.map +1 -1
  15. package/dist/components/MoreMenu/index.d.ts.map +1 -1
  16. package/dist/components/OracleMessage/index.d.ts.map +1 -1
  17. package/dist/components/Providers/DynamicMantineProvider.d.ts +18 -0
  18. package/dist/components/Providers/DynamicMantineProvider.d.ts.map +1 -0
  19. package/dist/components/Table/components/Td.d.ts.map +1 -1
  20. package/dist/components/Table/components/Th.d.ts.map +1 -1
  21. package/dist/components/Table/components/Tr.d.ts.map +1 -1
  22. package/dist/components/UserMessage/index.d.ts.map +1 -1
  23. package/dist/{components-Dh6ajpNG.cjs → components-DH1wUH8v.cjs} +93 -107
  24. package/dist/components-DH1wUH8v.cjs.map +1 -0
  25. package/dist/{components-HlNIe7CZ.js → components-Dd5AcCq0.js} +93 -107
  26. package/dist/components-Dd5AcCq0.js.map +1 -0
  27. package/dist/constants/mantineTheme.d.ts +145 -0
  28. package/dist/constants/mantineTheme.d.ts.map +1 -0
  29. package/dist/constants/palette.d.ts +57 -0
  30. package/dist/constants/palette.d.ts.map +1 -0
  31. package/dist/export/components.cjs +1 -1
  32. package/dist/export/components.mjs +1 -1
  33. package/dist/export/icons/index.cjs +1 -1
  34. package/dist/export/icons/index.mjs +2 -2
  35. package/dist/hooks/usePalette.d.ts +3 -0
  36. package/dist/hooks/usePalette.d.ts.map +1 -0
  37. package/dist/{index-DZdPdzVn.cjs → index-8mrl_91C.cjs} +2 -2
  38. package/dist/{index-DZdPdzVn.cjs.map → index-8mrl_91C.cjs.map} +1 -1
  39. package/dist/{index-CJ6bEuh4.cjs → index-B3UsRV_8.cjs} +3 -3
  40. package/dist/{index-CJ6bEuh4.cjs.map → index-B3UsRV_8.cjs.map} +1 -1
  41. package/dist/{index-9UUyZZ-F.js → index-BQ756FwG.js} +3 -3
  42. package/dist/{index-9UUyZZ-F.js.map → index-BQ756FwG.js.map} +1 -1
  43. package/dist/{index-BSpy7S9t.cjs → index-BwFcOXoo.cjs} +2 -2
  44. package/dist/{index-BSpy7S9t.cjs.map → index-BwFcOXoo.cjs.map} +1 -1
  45. package/dist/{index-B279S1ib.cjs → index-C9TPn4gB.cjs} +2 -2
  46. package/dist/{index-B279S1ib.cjs.map → index-C9TPn4gB.cjs.map} +1 -1
  47. package/dist/{index-Cc8QzwfQ.cjs → index-CEnAOLa3.cjs} +2 -2
  48. package/dist/{index-Cc8QzwfQ.cjs.map → index-CEnAOLa3.cjs.map} +1 -1
  49. package/dist/{index-CHd1dAzt.js → index-CHxc81t7.js} +3 -3
  50. package/dist/{index-CHd1dAzt.js.map → index-CHxc81t7.js.map} +1 -1
  51. package/dist/{index-E541J7_X.js → index-CJf3kiYw.js} +2 -2
  52. package/dist/{index-E541J7_X.js.map → index-CJf3kiYw.js.map} +1 -1
  53. package/dist/{index-DhGqlduA.js → index-CNVan44C.js} +2 -2
  54. package/dist/{index-DhGqlduA.js.map → index-CNVan44C.js.map} +1 -1
  55. package/dist/{index-B-Zre99u.cjs → index-CWtfpAdi.cjs} +2 -2
  56. package/dist/{index-B-Zre99u.cjs.map → index-CWtfpAdi.cjs.map} +1 -1
  57. package/dist/{index-CxrtFKNK.cjs → index-CnUrZJ6d.cjs} +2 -2
  58. package/dist/{index-CxrtFKNK.cjs.map → index-CnUrZJ6d.cjs.map} +1 -1
  59. package/dist/{index-Cdq0xepm.js → index-DCeJ-EjR.js} +2 -2
  60. package/dist/{index-Cdq0xepm.js.map → index-DCeJ-EjR.js.map} +1 -1
  61. package/dist/{index-DnxREYKV.cjs → index-DPdnPYOK.cjs} +3 -3
  62. package/dist/{index-DnxREYKV.cjs.map → index-DPdnPYOK.cjs.map} +1 -1
  63. package/dist/{index-DAzlT5mC.cjs → index-DX1KrNFO.cjs} +3 -3
  64. package/dist/{index-DAzlT5mC.cjs.map → index-DX1KrNFO.cjs.map} +1 -1
  65. package/dist/{index-BmURKcEG.js → index-DcOglj4H.js} +2 -2
  66. package/dist/{index-BmURKcEG.js.map → index-DcOglj4H.js.map} +1 -1
  67. package/dist/{index-RMhNdvgC.cjs → index-F3Bif7Ud.cjs} +2 -2
  68. package/dist/{index-RMhNdvgC.cjs.map → index-F3Bif7Ud.cjs.map} +1 -1
  69. package/dist/{index-DBFKFDFv.js → index-JPCFjEIL.js} +2 -2
  70. package/dist/{index-DBFKFDFv.js.map → index-JPCFjEIL.js.map} +1 -1
  71. package/dist/{index-BJlA64RQ.js → index-LMTN501y.js} +3 -3
  72. package/dist/{index-BJlA64RQ.js.map → index-LMTN501y.js.map} +1 -1
  73. package/dist/{index-Ct0LG7BZ.js → index-wQ0-D7du.js} +2 -2
  74. package/dist/{index-Ct0LG7BZ.js.map → index-wQ0-D7du.js.map} +1 -1
  75. package/dist/{index--70UT2n_.js → index-znGVxTmK.js} +2 -2
  76. package/dist/{index--70UT2n_.js.map → index-znGVxTmK.js.map} +1 -1
  77. package/dist/types/IPalette.d.ts +56 -0
  78. package/dist/types/IPalette.d.ts.map +1 -0
  79. package/dist/utils/colors.d.ts.map +1 -1
  80. package/package.json +1 -1
  81. package/dist/UsersSolid-C6NkfomI.js.map +0 -1
  82. package/dist/UsersSolid-DjJvkV7c.cjs.map +0 -1
  83. package/dist/components-Dh6ajpNG.cjs.map +0 -1
  84. package/dist/components-HlNIe7CZ.js.map +0 -1
@@ -24,16 +24,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  const jsxRuntime = require("@emotion/react/jsx-runtime");
25
25
  const radash = require("radash");
26
26
  const react = require("@emotion/react");
27
- const UsersSolid = require("./UsersSolid-DjJvkV7c.cjs");
27
+ const UsersSolid = require("./UsersSolid-C29C53eo.cjs");
28
28
  const react$1 = require("react");
29
29
  const constants = require("./constants-DFJRYpE2.cjs");
30
30
  const core = require("@mantine/core");
31
31
  const css = require("@emotion/css");
32
32
  const reactDom = require("react-dom");
33
33
  const DOMPurify = require("dompurify");
34
- const useUITheme = require("./useUITheme-DqgAb7n1.cjs");
35
34
  const hooks = require("@mantine/hooks");
36
35
  const useEventSubscribe = require("./useEventSubscribe-B019T27n.cjs");
36
+ const useUITheme = require("./useUITheme-DqgAb7n1.cjs");
37
37
  const Markdown = require("react-markdown");
38
38
  const remarkGfm = require("remark-gfm");
39
39
  const downshift = require("downshift");
@@ -426,11 +426,11 @@ function Td({ children, value, description, icon: Icon, iconNoColor, image, tag,
426
426
  Icon ? /* @__PURE__ */ jsxRuntime.jsx(
427
427
  "div",
428
428
  {
429
- css: ({ radius, glass }) => ({
429
+ css: ({ radius }) => ({
430
430
  width: radius.roundButtons,
431
431
  height: radius.roundButtons,
432
432
  borderRadius: radius.small / 2,
433
- backgroundColor: glass.lighter,
433
+ backgroundColor: "var(--mantine-color-neutralColor-5)",
434
434
  display: "flex",
435
435
  justifyContent: "center",
436
436
  alignItems: "center"
@@ -468,8 +468,8 @@ function Td({ children, value, description, icon: Icon, iconNoColor, image, tag,
468
468
  /* @__PURE__ */ jsxRuntime.jsx(
469
469
  "span",
470
470
  {
471
- css: ({ text, fontSize }) => ({
472
- color: text.overPicture,
471
+ css: ({ fontSize }) => ({
472
+ color: "var(--mantine-color-neutralColor-8)",
473
473
  fontSize: fontSize.regular
474
474
  }),
475
475
  children: value
@@ -478,8 +478,8 @@ function Td({ children, value, description, icon: Icon, iconNoColor, image, tag,
478
478
  /* @__PURE__ */ jsxRuntime.jsx(
479
479
  "span",
480
480
  {
481
- css: ({ text, fontSize }) => ({
482
- color: text.overPicture,
481
+ css: ({ fontSize }) => ({
482
+ color: "var(--mantine-color-neutralColor-8)",
483
483
  fontSize: fontSize.xs,
484
484
  opacity: 0.7
485
485
  }),
@@ -502,7 +502,7 @@ function Th({ children, align = "center", shrink, expand }) {
502
502
  "th",
503
503
  {
504
504
  css: (theme) => ({
505
- color: theme.text.overPicture,
505
+ color: "var(--mantine-color-neutralColor-8)",
506
506
  fontFamily: theme.font.main,
507
507
  fontSize: theme.fontSize.s,
508
508
  textAlign: align,
@@ -546,17 +546,18 @@ function Tr({ children, selected, onClick }) {
546
546
  ref: wrapperRef,
547
547
  onClick: handleClick,
548
548
  role: onClick ? "button" : void 0,
549
- css: ({ glass }) => {
549
+ css: () => {
550
550
  return {
551
551
  cursor: onClick ? "pointer" : void 0,
552
552
  "& > td": {
553
553
  borderStyle: "solid",
554
554
  borderWidth: 1,
555
555
  borderColor: "transparent",
556
- backgroundColor: selected ? glass.lighter : glass.base
556
+ backgroundColor: selected ? "var(--mantine-color-neutralColor-5)" : "var(--mantine-color-neutralColor-3)",
557
+ color: "var(--mantine-color-neutralColor-8)"
557
558
  },
558
559
  "&:hover > td": {
559
- backgroundColor: onClick ? glass.lighter : void 0
560
+ backgroundColor: onClick ? "var(--mantine-color-neutralColor-8)" : void 0
560
561
  }
561
562
  };
562
563
  },
@@ -579,7 +580,7 @@ function Table({ children }) {
579
580
  width: "100%",
580
581
  borderCollapse: "separate",
581
582
  borderSpacing: `0 ${theme.spacing * 2}px`,
582
- background: "transparent"
583
+ background: "neutral.1"
583
584
  }),
584
585
  children
585
586
  }
@@ -797,8 +798,8 @@ function AccordionTable({
797
798
  }
798
799
  );
799
800
  }
800
- const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CJ6bEuh4.cjs")));
801
- const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-DAzlT5mC.cjs")));
801
+ const Header$3 = react$1.lazy(() => Promise.resolve().then(() => require("./index-B3UsRV_8.cjs")));
802
+ const Footer = react$1.lazy(() => Promise.resolve().then(() => require("./index-DX1KrNFO.cjs")));
802
803
  function ActionCard({ header, content, footer, useHoverMode = false }) {
803
804
  const hasContent = !!content || !!footer;
804
805
  const initialVisibility = footer?.startHidden !== true;
@@ -882,7 +883,7 @@ function Loader({ size, color = "primary" }) {
882
883
  }
883
884
  const CARD_WIDTH$1 = 350;
884
885
  const CARD_HEADER_HEIGHT = 158;
885
- const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-Cc8QzwfQ.cjs")));
886
+ const Header$2 = react$1.lazy(() => Promise.resolve().then(() => require("./index-CEnAOLa3.cjs")));
886
887
  function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
887
888
  const wrapperRef = react$1.useRef(null);
888
889
  const handleOnClick = react$1.useCallback(
@@ -1317,7 +1318,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
1317
1318
  document.body
1318
1319
  );
1319
1320
  }
1320
- const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-B279S1ib.cjs")));
1321
+ const Badge = react$1.lazy(() => Promise.resolve().then(() => require("./index-C9TPn4gB.cjs")));
1321
1322
  function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
1322
1323
  const shadowScrollRef = react$1.useRef(null);
1323
1324
  const wrapperContentAreaRef = react$1.useRef(null);
@@ -1958,28 +1959,28 @@ function Item({ icon, label, disabled, active, onClick }) {
1958
1959
  return /* @__PURE__ */ jsxRuntime.jsx(
1959
1960
  "button",
1960
1961
  {
1961
- css: ({ bg, colors }) => ({
1962
+ css: () => ({
1962
1963
  width: "100%",
1963
1964
  borderRadius: 4,
1964
1965
  padding: "4px 12px",
1965
- background: bg.navIconsBg,
1966
+ background: "var(--mantine-color-neutralColor-5)",
1966
1967
  border: "none",
1967
1968
  cursor: disabled ? "not-allowed" : "pointer",
1968
1969
  textAlign: "left",
1969
1970
  "&:hover": {
1970
- backgroundColor: disabled ? void 0 : colors.whiteTransparent10
1971
+ backgroundColor: disabled ? void 0 : "var(--mantine-color-neutralColor-6)"
1971
1972
  }
1972
1973
  }),
1973
1974
  disabled,
1974
1975
  onClick,
1975
1976
  children: /* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: 8, children: [
1976
- IconComponent && /* @__PURE__ */ jsxRuntime.jsx(IconComponent, { size: 16 }),
1977
+ IconComponent && /* @__PURE__ */ jsxRuntime.jsx(IconComponent, { size: 16, color: "overPicture" }),
1977
1978
  /* @__PURE__ */ jsxRuntime.jsx(
1978
1979
  Typography.Text,
1979
1980
  {
1980
- css: ({ fontSize, text, colors }) => ({
1981
+ css: ({ fontSize }) => ({
1981
1982
  fontSize: fontSize.xs,
1982
- color: disabled ? text.secondary : active ? colors.focus : text.overPicture
1983
+ color: disabled ? "var(--mantine-color-neutralColor-8)" : active ? "var(--mantine-color-neutralColor-8)" : "var(--mantine-color-neutralColor-8)"
1983
1984
  }),
1984
1985
  children: label
1985
1986
  }
@@ -1989,7 +1990,6 @@ function Item({ icon, label, disabled, active, onClick }) {
1989
1990
  );
1990
1991
  }
1991
1992
  function MoreMenu({ items, controlColor = "primary" }) {
1992
- const theme = useUITheme.useUITheme();
1993
1993
  const [opened, setOpened] = react$1.useState(false);
1994
1994
  return /* @__PURE__ */ jsxRuntime.jsxs(
1995
1995
  core.Popover,
@@ -1999,7 +1999,7 @@ function MoreMenu({ items, controlColor = "primary" }) {
1999
1999
  closeOnClickOutside: true,
2000
2000
  styles: {
2001
2001
  dropdown: {
2002
- background: theme.bg.navIconsBg,
2002
+ background: "var(--mantine-color-neutralColor-4)",
2003
2003
  border: "none",
2004
2004
  padding: "12px 4px",
2005
2005
  marginLeft: 10
@@ -2028,7 +2028,7 @@ function MoreMenu({ items, controlColor = "primary" }) {
2028
2028
  }
2029
2029
  ) }),
2030
2030
  /* @__PURE__ */ jsxRuntime.jsxs(core.Popover.Dropdown, { children: [
2031
- /* @__PURE__ */ jsxRuntime.jsx(core.Text, { ml: 12, mb: 10, fz: 12, c: theme.text.secondary, children: "Page" }),
2031
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { ml: 12, mb: 10, fz: 12, c: "neutralColor.8", children: "Page" }),
2032
2032
  items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
2033
2033
  Item,
2034
2034
  {
@@ -2126,12 +2126,11 @@ function AIInputBar({ placeholder, icon, disabledInput, disabledButton, valueInp
2126
2126
  );
2127
2127
  }
2128
2128
  function AIChatToolbar({ onClose, onHistoryClick, onPlusClick, onHistoryClose, onCanvasCycle, isHistoryOpened, canvasMode = "hidden", oracleModel, sessionTitle }) {
2129
- const theme = useUITheme.useUITheme();
2130
2129
  const canvasActive = canvasMode !== "hidden";
2131
- return /* @__PURE__ */ jsxRuntime.jsxs(Flex, { bg: theme.bg.navIconsBg, py: 16, justify: "space-between", align: "center", children: [
2130
+ return /* @__PURE__ */ jsxRuntime.jsxs(Flex, { bg: "neutralColor.4", py: 16, justify: "space-between", align: "center", children: [
2132
2131
  /* @__PURE__ */ jsxRuntime.jsxs(Flex, { gap: 6, align: "center", children: [
2133
- sessionTitle && /* @__PURE__ */ jsxRuntime.jsx(Typography.Text, { color: "overPicture", size: "s", children: sessionTitle }),
2134
- oracleModel && /* @__PURE__ */ jsxRuntime.jsx(core.Badge, { fw: 300, size: "sm", fz: 12, bg: theme.neutral.transparent10, tt: "initial", children: oracleModel })
2132
+ sessionTitle && /* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: "neutralColor.8", fz: 14, children: sessionTitle }),
2133
+ oracleModel && /* @__PURE__ */ jsxRuntime.jsx(core.Badge, { fw: 300, size: "sm", fz: 12, c: "neutralColor.8", bg: "neutralColor.3", tt: "initial", children: oracleModel })
2135
2134
  ] }),
2136
2135
  /* @__PURE__ */ jsxRuntime.jsx(Flex, { gap: 6, align: "center", justify: "flex-end", children: isHistoryOpened ? /* @__PURE__ */ jsxRuntime.jsx(
2137
2136
  core.Center,
@@ -2140,17 +2139,17 @@ function AIChatToolbar({ onClose, onHistoryClick, onPlusClick, onHistoryClose, o
2140
2139
  cursor: "pointer",
2141
2140
  borderRadius: 8,
2142
2141
  transition: "background 0.15s",
2143
- background: theme.neutral.transparent10,
2142
+ background: "var(--mantine-color-neutralColor-5)",
2144
2143
  "&:hover": {
2145
- background: theme.neutral.transparent30
2144
+ background: "var(--mantine-color-neutralColor-6)"
2146
2145
  }
2147
2146
  },
2148
2147
  p: 4,
2149
2148
  onClick: onHistoryClose,
2150
- children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.ArrowLeftSolid, { size: 18 })
2149
+ children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.ArrowLeftSolid, { size: 18, color: "secondary" })
2151
2150
  }
2152
2151
  ) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2153
- /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, onClick: onPlusClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.PlusSolid, { size: 18 }) }),
2152
+ /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, onClick: onPlusClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.PlusSolid, { size: 18, color: "secondary" }) }),
2154
2153
  /* @__PURE__ */ jsxRuntime.jsx(
2155
2154
  core.Center,
2156
2155
  {
@@ -2159,10 +2158,10 @@ function AIChatToolbar({ onClose, onHistoryClick, onPlusClick, onHistoryClose, o
2159
2158
  borderRadius: 24
2160
2159
  },
2161
2160
  onClick: onCanvasCycle,
2162
- children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.Canvas, { size: 18, color: canvasActive ? "primary" : void 0 })
2161
+ children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.Canvas, { size: 18, color: canvasActive ? "primary" : "secondary" })
2163
2162
  }
2164
2163
  ),
2165
- /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, onClick: onHistoryClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.HistorySolid, { size: 18 }) }),
2164
+ /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, onClick: onHistoryClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.HistorySolid, { size: 18, color: "secondary" }) }),
2166
2165
  /* @__PURE__ */ jsxRuntime.jsx(
2167
2166
  core.Center,
2168
2167
  {
@@ -2170,14 +2169,14 @@ function AIChatToolbar({ onClose, onHistoryClick, onPlusClick, onHistoryClose, o
2170
2169
  cursor: "pointer",
2171
2170
  borderRadius: 8,
2172
2171
  transition: "background 0.15s",
2173
- background: theme.neutral.transparent10,
2172
+ background: "var(--mantine-color-neutralColor-5)",
2174
2173
  "&:hover": {
2175
- background: theme.neutral.transparent30
2174
+ background: "var(--mantine-color-neutralColor-6)"
2176
2175
  }
2177
2176
  },
2178
2177
  p: 4,
2179
2178
  onClick: onClose,
2180
- children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.Close, { size: 18 })
2179
+ children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.Close, { size: 18, color: "secondary" })
2181
2180
  }
2182
2181
  )
2183
2182
  ] }) })
@@ -2334,7 +2333,6 @@ function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width
2334
2333
  );
2335
2334
  }
2336
2335
  function NavigationItemSkeleton() {
2337
- const theme = useUITheme.useUITheme();
2338
2336
  return /* @__PURE__ */ jsxRuntime.jsxs(
2339
2337
  Flex,
2340
2338
  {
@@ -2345,7 +2343,7 @@ function NavigationItemSkeleton() {
2345
2343
  py: 6,
2346
2344
  style: {
2347
2345
  borderRadius: 8,
2348
- backgroundColor: theme.bg.navIconsBg
2346
+ backgroundColor: "var(--mantine-color-neutralColor-5)"
2349
2347
  },
2350
2348
  children: [
2351
2349
  /* @__PURE__ */ jsxRuntime.jsx(Flex, { align: "center", gap: 4, style: { flex: 1 }, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -2379,7 +2377,6 @@ function NavigationItemSkeleton() {
2379
2377
  }
2380
2378
  function RoomItem({ room }) {
2381
2379
  const { hovered, ref } = hooks.useHover();
2382
- const theme = useUITheme.useUITheme();
2383
2380
  return /* @__PURE__ */ jsxRuntime.jsxs(
2384
2381
  Flex,
2385
2382
  {
@@ -2392,21 +2389,20 @@ function RoomItem({ room }) {
2392
2389
  style: {
2393
2390
  cursor: "pointer",
2394
2391
  borderRadius: 6,
2395
- backgroundColor: room.isActive || hovered ? theme.neutral.transparent10 : "transparent",
2392
+ backgroundColor: room.isActive || hovered ? "var(--mantine-color-neutralColor-5)" : "transparent",
2396
2393
  transform: hovered ? "translateX(2px)" : "translateX(0px)",
2397
2394
  transition: "all 0.15s ease"
2398
2395
  },
2399
2396
  onClick: () => room.onClick(room.id),
2400
2397
  children: [
2401
2398
  /* @__PURE__ */ jsxRuntime.jsx(room.icon, { size: 16, color: "secondary" }),
2402
- /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 13, c: theme.text.secondary, children: room.name })
2399
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 13, c: "neutralColor.8", children: room.name })
2403
2400
  ]
2404
2401
  }
2405
2402
  );
2406
2403
  }
2407
2404
  function RoomCategory({ category }) {
2408
2405
  const { hovered, ref } = hooks.useHover();
2409
- const theme = useUITheme.useUITheme();
2410
2406
  const { value, toggle } = useToggle(false);
2411
2407
  return /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { gap: 2, children: [
2412
2408
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -2420,12 +2416,12 @@ function RoomCategory({ category }) {
2420
2416
  style: {
2421
2417
  cursor: "pointer",
2422
2418
  borderRadius: 6,
2423
- backgroundColor: hovered ? theme.neutral.transparent50 : "transparent",
2419
+ backgroundColor: hovered ? "var(--mantine-color-neutralColor-6)" : "transparent",
2424
2420
  transition: "all 0.15s ease"
2425
2421
  },
2426
2422
  onClick: toggle,
2427
2423
  children: [
2428
- /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, c: theme.neutral.lightGray, children: category.name }),
2424
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, c: "neutralColor.7", children: category.name }),
2429
2425
  /* @__PURE__ */ jsxRuntime.jsx(
2430
2426
  core.Center,
2431
2427
  {
@@ -2448,7 +2444,6 @@ function hasActiveDescendant(children) {
2448
2444
  }
2449
2445
  function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2450
2446
  const { hovered, ref } = hooks.useHover();
2451
- const theme = useUITheme.useUITheme();
2452
2447
  const hasChildren = item.children && item.children.length > 0;
2453
2448
  const hasActiveChild = react$1.useMemo(() => hasActiveDescendant(item.children), [item.children]);
2454
2449
  const initialExpanded = item?.isActive === true || hasActiveChild;
@@ -2492,7 +2487,7 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2492
2487
  transform: isExpanded ? "rotate(-90deg)" : "rotate(0deg)",
2493
2488
  transition: "transform 0.2s ease",
2494
2489
  "&:hover": {
2495
- backgroundColor: theme.neutral.transparent10
2490
+ backgroundColor: "neutralColor.5"
2496
2491
  }
2497
2492
  },
2498
2493
  children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.AngleLeftSolid, { size: 12, color: "secondary" })
@@ -2520,7 +2515,7 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2520
2515
  style: {
2521
2516
  cursor: "pointer",
2522
2517
  borderRadius: 8,
2523
- backgroundColor: shouldShowActiveStyle ? theme.neutral.transparent10 : hovered ? theme.neutral.transparent10 : "transparent",
2518
+ backgroundColor: shouldShowActiveStyle ? "var(--mantine-color-neutralColor-6)" : hovered ? "var(--mantine-color-neutralColor-6)" : "transparent",
2524
2519
  transform: hovered ? "translateX(4px)" : "translateX(0px)",
2525
2520
  transition: "all 0.2s ease"
2526
2521
  },
@@ -2528,7 +2523,7 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2528
2523
  children: [
2529
2524
  /* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: 8, children: [
2530
2525
  renderIcon(),
2531
- /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 14, fw: 500, c: shouldShowActiveStyle ? theme.neutral.lightGray : theme.text.secondary, style: { flex: 1 }, children: item.name }),
2526
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 14, fw: 500, c: item.isActive ? "neutralColor.8" : "neutralColor.7", style: { flex: 1 }, children: item.name }),
2532
2527
  item.badgeCount ? /* @__PURE__ */ jsxRuntime.jsx(core.Badge, { size: "xs", variant: "filled", ml: 4, style: { minWidth: "16px", height: "15px", padding: "0 4px", fontSize: "8px" }, children: item.badgeCount }) : null
2533
2528
  ] }),
2534
2529
  /* @__PURE__ */ jsxRuntime.jsx(Flex, { children: item?.actions && item.actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
@@ -2539,7 +2534,7 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2539
2534
  borderRadius: 4,
2540
2535
  transition: "transform 0.2s ease",
2541
2536
  "&:hover": {
2542
- backgroundColor: theme.neutral.transparent10
2537
+ background: "var(--mantine-color-neutralColor-5)"
2543
2538
  }
2544
2539
  },
2545
2540
  children: /* @__PURE__ */ jsxRuntime.jsx(MoreMenu, { items: item.actions, controlColor: "secondary" })
@@ -2552,7 +2547,6 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2552
2547
  ] });
2553
2548
  }
2554
2549
  function SelectedIndicator() {
2555
- const theme = useUITheme.useUITheme();
2556
2550
  return /* @__PURE__ */ jsxRuntime.jsx(
2557
2551
  "div",
2558
2552
  {
@@ -2561,7 +2555,7 @@ function SelectedIndicator() {
2561
2555
  left: -8,
2562
2556
  width: 4,
2563
2557
  height: 30,
2564
- backgroundColor: theme.neutral.whiteFull,
2558
+ backgroundColor: "var(--mantine-color-neutralColor-8)",
2565
2559
  borderRadius: 4
2566
2560
  }
2567
2561
  }
@@ -2569,7 +2563,6 @@ function SelectedIndicator() {
2569
2563
  }
2570
2564
  function SpaceItem({ icon, id, name, selectedSpace, onClick }) {
2571
2565
  const { hovered, ref } = hooks.useHover();
2572
- const theme = useUITheme.useUITheme();
2573
2566
  const isSelected = selectedSpace === id;
2574
2567
  return /* @__PURE__ */ jsxRuntime.jsxs(
2575
2568
  core.Center,
@@ -2580,7 +2573,7 @@ function SpaceItem({ icon, id, name, selectedSpace, onClick }) {
2580
2573
  borderRadius: 24
2581
2574
  },
2582
2575
  pos: "relative",
2583
- bg: hovered ? theme.neutral.transparent30 : theme.bg.navIconsBg,
2576
+ bg: hovered ? "neutralColor.6" : "neutralColor.5",
2584
2577
  mih: 40,
2585
2578
  w: 40,
2586
2579
  onClick: () => onClick(id),
@@ -2627,8 +2620,6 @@ function AppShellNavigation({
2627
2620
  avatarIcon,
2628
2621
  onMenuItemClick,
2629
2622
  onSettingsIconClick,
2630
- onBackClick,
2631
- isBackButtonVisible,
2632
2623
  footerContent,
2633
2624
  roomCategories,
2634
2625
  right,
@@ -2649,7 +2640,6 @@ function AppShellNavigation({
2649
2640
  }) {
2650
2641
  const [isNavbarNotCollapsed, { toggle: toggleNavbar }] = hooks.useDisclosure(true);
2651
2642
  const [asideWidth, setAsideWidth] = react$1.useState(450);
2652
- const theme = useUITheme.useUITheme();
2653
2643
  const [isSplitResizing, setIsSplitResizing] = react$1.useState(false);
2654
2644
  const isSplitResizingRef = react$1.useRef(false);
2655
2645
  const mainContainerRef = react$1.useRef(null);
@@ -2775,14 +2765,14 @@ function AppShellNavigation({
2775
2765
  withBorder: false,
2776
2766
  styles: {
2777
2767
  navbar: {
2778
- background: theme.bg.navIconsBg,
2768
+ background: "var(--mantine-color-neutralColor-4)",
2779
2769
  transition: isNavbarResizing ? "none" : "width 0.3s ease"
2780
2770
  },
2781
2771
  aside: {
2782
- background: theme.bg.navScaled
2772
+ background: "var(--mantine-color-neutralColor-4)"
2783
2773
  }
2784
2774
  },
2785
- bg: theme.bg.centralCanvasBg,
2775
+ bg: "neutralColor.2",
2786
2776
  navbar: {
2787
2777
  width: isNavbarNotCollapsed ? navbarWidth : 56,
2788
2778
  breakpoint: "sm"
@@ -2801,7 +2791,7 @@ function AppShellNavigation({
2801
2791
  right: 0,
2802
2792
  h: "100%",
2803
2793
  pos: "absolute",
2804
- bg: isNavbarResizing ? theme.colors.focus : "transparent",
2794
+ bg: isNavbarResizing ? "accent.5" : "transparent",
2805
2795
  sx: {
2806
2796
  zIndex: 2,
2807
2797
  cursor: "col-resize",
@@ -2811,17 +2801,17 @@ function AppShellNavigation({
2811
2801
  }
2812
2802
  ),
2813
2803
  /* @__PURE__ */ jsxRuntime.jsxs(Flex, { style: { height: "100%" }, children: [
2814
- /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { p: 8, w: 56, justify: "space-between", h: "100%", bg: theme.bg.navSpaces, children: [
2804
+ /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { p: 8, w: 56, justify: "space-between", h: "100%", bg: "neutralColor.2", children: [
2815
2805
  /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { align: "center", style: { flex: 1 }, gap: 8, children: [
2816
2806
  /* @__PURE__ */ jsxRuntime.jsxs(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, pos: "relative", h: 40, w: 40, onClick: companyIcon.onClick, children: [
2817
2807
  typeof companyIcon.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(core.Image, { radius: 24, src: companyIcon.icon, w: 32, h: 32 }) : companyIcon.icon,
2818
2808
  companyIcon.isSelected && /* @__PURE__ */ jsxRuntime.jsx(SelectedIndicator, {})
2819
2809
  ] }),
2820
- avatarIcon && /* @__PURE__ */ jsxRuntime.jsxs(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, pos: "relative", bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: avatarIcon.onClick, children: [
2810
+ avatarIcon && /* @__PURE__ */ jsxRuntime.jsxs(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, pos: "relative", bg: "neutralColor.5", h: 40, w: 40, onClick: avatarIcon.onClick, children: [
2821
2811
  /* @__PURE__ */ jsxRuntime.jsx(core.Tooltip, { label: "Home", position: "right", withArrow: true, ml: 5, fz: 12, children: typeof avatarIcon.icon === "string" ? /* @__PURE__ */ jsxRuntime.jsx(core.Image, { radius: 24, src: avatarIcon.icon, w: 32, h: 32 }) : avatarIcon.icon }),
2822
2812
  avatarIcon.isSelected && /* @__PURE__ */ jsxRuntime.jsx(SelectedIndicator, {})
2823
2813
  ] }),
2824
- /* @__PURE__ */ jsxRuntime.jsx(core.Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
2814
+ /* @__PURE__ */ jsxRuntime.jsx(core.Divider, { w: 40, mx: 10, color: "neutralColor.5" }),
2825
2815
  temporarySpace && !spaces?.some((space) => space.id === temporarySpace.id) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2826
2816
  /* @__PURE__ */ jsxRuntime.jsx(
2827
2817
  SpaceItem,
@@ -2834,7 +2824,7 @@ function AppShellNavigation({
2834
2824
  },
2835
2825
  temporarySpace.id
2836
2826
  ),
2837
- /* @__PURE__ */ jsxRuntime.jsx(core.Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 })
2827
+ /* @__PURE__ */ jsxRuntime.jsx(core.Divider, { w: 40, mx: 10, color: "neutralColor.5" })
2838
2828
  ] }),
2839
2829
  /* @__PURE__ */ jsxRuntime.jsx(
2840
2830
  core.ScrollArea,
@@ -2854,21 +2844,18 @@ function AppShellNavigation({
2854
2844
  }
2855
2845
  )
2856
2846
  ] }),
2857
- onAddSpaceClick && /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onAddSpaceClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.PlusSolid, { color: "secondary" }) }),
2858
- onMinusSpaceClick && /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onMinusSpaceClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.MinusCircleSolid, { color: "secondary" }) }),
2847
+ onAddSpaceClick && /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: "neutralColor.5", h: 40, w: 40, onClick: onAddSpaceClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.PlusSolid, { color: "secondary" }) }),
2848
+ onMinusSpaceClick && /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: "neutralColor.5", h: 40, w: 40, onClick: onMinusSpaceClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.MinusCircleSolid, { color: "secondary" }) }),
2859
2849
  /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { align: "center", gap: 8, children: [
2860
- /* @__PURE__ */ jsxRuntime.jsx(core.Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
2861
- /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onSettingsIconClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.SettingsBarSolid, { size: 22, color: "secondary" }) })
2850
+ /* @__PURE__ */ jsxRuntime.jsx(core.Divider, { w: 40, mx: 10, color: "neutralColor.5" }),
2851
+ /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: "neutralColor.5", h: 40, w: 40, onClick: onSettingsIconClick, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.SettingsBarSolid, { size: 22, color: "secondary" }) })
2862
2852
  ] })
2863
2853
  ] }),
2864
2854
  isAiOpened && isNavbarNotCollapsed && aiNavbarContent,
2865
2855
  isNavbarNotCollapsed && !isAiOpened && /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { justify: "space-between", w: "100%", pt: 16, pb: 10, px: 12, children: [
2866
2856
  /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { gap: 5, children: [
2867
2857
  /* @__PURE__ */ jsxRuntime.jsxs(Flex, { mb: 24, style: { width: "100%" }, justify: "space-between", align: "center", children: [
2868
- /* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: "10px", children: [
2869
- isBackButtonVisible ? /* @__PURE__ */ jsxRuntime.jsx(core.Center, { onClick: onBackClick, sx: { borderRadius: 4, cursor: "pointer", padding: 2, background: theme.bg.navIconsBg }, children: /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.ArrowLeftSolid, { size: 18 }) }) : /* @__PURE__ */ jsxRuntime.jsx(core.Center, { sx: { borderRadius: 4, padding: 2, background: theme.bg.navIconsBg }, children: pageItem.pageIcon ? /* @__PURE__ */ jsxRuntime.jsx(pageItem.pageIcon, { size: 18 }) : /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.Globe, { size: 18 }) }),
2870
- /* @__PURE__ */ jsxRuntime.jsx(core.Tooltip, { label: pageItem.pageTitle || "Unknown", disabled: !isTitleOverflowing, position: "bottom", withArrow: true, children: /* @__PURE__ */ jsxRuntime.jsx(core.Text, { lh: 1, c: theme.text.overPicture, children: cutText(pageItem.pageTitle, 21) || "Unknown" }) })
2871
- ] }),
2858
+ /* @__PURE__ */ jsxRuntime.jsx(Flex, { align: "center", gap: "10px", children: /* @__PURE__ */ jsxRuntime.jsx(core.Tooltip, { label: pageItem.pageTitle || "Unknown", disabled: !isTitleOverflowing, position: "bottom", withArrow: true, children: /* @__PURE__ */ jsxRuntime.jsx(core.Text, { lh: 1, c: "neutralColor.8", children: cutText(pageItem.pageTitle, 19) || "Unknown" }) }) }),
2872
2859
  isAiBtnVisible && !isAiOpened && /* @__PURE__ */ jsxRuntime.jsx(
2873
2860
  core.Center,
2874
2861
  {
@@ -2876,9 +2863,9 @@ function AppShellNavigation({
2876
2863
  cursor: "pointer",
2877
2864
  borderRadius: 8,
2878
2865
  transition: "background 0.15s",
2879
- background: theme.neutral.transparent10,
2866
+ background: "var(--mantine-color-neutralColor-5)",
2880
2867
  "&:hover": {
2881
- background: theme.neutral.transparent30
2868
+ background: "var(--mantine-color-neutralColor-6)"
2882
2869
  }
2883
2870
  },
2884
2871
  p: 4,
@@ -2925,7 +2912,7 @@ function AppShellNavigation({
2925
2912
  /* @__PURE__ */ jsxRuntime.jsx(
2926
2913
  core.Box,
2927
2914
  {
2928
- bg: theme.bg.navIconsBg,
2915
+ bg: "neutralColor.5",
2929
2916
  style: {
2930
2917
  width: getCanvasWidth(),
2931
2918
  minWidth: shouldShowCanvas && canvasMode === "split" ? CANVAS_MIN_WIDTH : void 0,
@@ -2935,7 +2922,7 @@ function AppShellNavigation({
2935
2922
  height: "100%",
2936
2923
  transition: isSplitResizing ? "none" : "width 0.3s ease, opacity 0.2s ease",
2937
2924
  opacity: shouldShowCanvas ? 1 : 0,
2938
- borderLeft: `1px solid ${theme.neutral.transparent10}`
2925
+ borderLeft: "1px solid var(--mantine-color-neutralColor-6)"
2939
2926
  },
2940
2927
  children: canvasContent
2941
2928
  }
@@ -2945,7 +2932,7 @@ function AppShellNavigation({
2945
2932
  {
2946
2933
  w: 4,
2947
2934
  h: "100%",
2948
- bg: isSplitResizing ? theme.colors.focus : "transparent",
2935
+ bg: isSplitResizing ? "accent.5" : "transparent",
2949
2936
  sx: {
2950
2937
  cursor: "col-resize",
2951
2938
  flexShrink: 0,
@@ -3408,18 +3395,17 @@ function CardHeader({ left, right }) {
3408
3395
  ] }) });
3409
3396
  }
3410
3397
  function OracleMessage({ oracleName, message }) {
3411
- const theme = useUITheme.useUITheme();
3412
3398
  return /* @__PURE__ */ jsxRuntime.jsxs(core.Box, { mb: 32, children: [
3413
3399
  /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
3414
- /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, c: theme.colors.focus, children: oracleName || "Oracle" }),
3415
- /* @__PURE__ */ jsxRuntime.jsx(core.Badge, { tt: "capitalize", c: theme.colors.focus, size: "md", bg: theme.colors.focusTransparent10, children: "Oracle" })
3400
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, c: "accent.5", children: oracleName || "Oracle" }),
3401
+ /* @__PURE__ */ jsxRuntime.jsx(core.Badge, { tt: "capitalize", c: "accent.5", size: "md", bg: "accent.0", children: "Oracle" })
3416
3402
  ] }),
3417
3403
  /* @__PURE__ */ jsxRuntime.jsx(core.Box, { mt: 12, mb: 4, sx: { borderRadius: 16 }, children: /* @__PURE__ */ jsxRuntime.jsx(
3418
3404
  Markdown,
3419
3405
  {
3420
3406
  remarkPlugins: [remarkGfm],
3421
3407
  components: {
3422
- a: ({ children, href }) => /* @__PURE__ */ jsxRuntime.jsx("a", { href, style: { color: theme.colors.focus, textDecoration: "underline" }, children }),
3408
+ a: ({ children, href }) => /* @__PURE__ */ jsxRuntime.jsx("a", { href, style: { color: "var(--mantine-color-accent-5)", textDecoration: "underline" }, children }),
3423
3409
  ul: ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
3424
3410
  "ul",
3425
3411
  {
@@ -3465,7 +3451,7 @@ function OracleMessage({ oracleName, message }) {
3465
3451
  marginBottom: 12,
3466
3452
  fontSize: "1.1em",
3467
3453
  fontWeight: 600,
3468
- color: theme.neutral.transparent50
3454
+ color: "var(--mantine-color-neutralColor-6)"
3469
3455
  },
3470
3456
  children
3471
3457
  }
@@ -3479,7 +3465,7 @@ function OracleMessage({ oracleName, message }) {
3479
3465
  marginBottom: 8,
3480
3466
  fontSize: "1em",
3481
3467
  fontWeight: 500,
3482
- color: theme.neutral.transparent50
3468
+ color: "var(--mantine-color-neutralColor-6)"
3483
3469
  },
3484
3470
  children
3485
3471
  }
@@ -3490,7 +3476,8 @@ function OracleMessage({ oracleName, message }) {
3490
3476
  ...props,
3491
3477
  style: {
3492
3478
  margin: "8px 0",
3493
- lineHeight: 1.6
3479
+ lineHeight: 1.6,
3480
+ color: "var(--mantine-color-neutralColor-8)"
3494
3481
  },
3495
3482
  children
3496
3483
  }
@@ -3515,11 +3502,11 @@ function OracleMessage({ oracleName, message }) {
3515
3502
  {
3516
3503
  ...props,
3517
3504
  style: {
3518
- border: `1px solid ${theme.text.secondary}`,
3505
+ border: "1px solid var(--mantine-color-neutralColor-7)",
3519
3506
  padding: "8px 12px",
3520
3507
  fontWeight: 600,
3521
3508
  textAlign: "left",
3522
- backgroundColor: theme.bg.centralCanvasBg
3509
+ backgroundColor: "var(--mantine-color-neutralColor-5)"
3523
3510
  },
3524
3511
  children
3525
3512
  }
@@ -3529,7 +3516,7 @@ function OracleMessage({ oracleName, message }) {
3529
3516
  {
3530
3517
  ...props,
3531
3518
  style: {
3532
- border: `1px solid ${theme.text.secondary}`,
3519
+ border: "1px solid var(--mantine-color-neutralColor-7)",
3533
3520
  padding: "8px 12px",
3534
3521
  textAlign: "left"
3535
3522
  },
@@ -3543,10 +3530,9 @@ function OracleMessage({ oracleName, message }) {
3543
3530
  ] });
3544
3531
  }
3545
3532
  function UserMessage({ message, sender }) {
3546
- const theme = useUITheme.useUITheme();
3547
- return /* @__PURE__ */ jsxRuntime.jsxs(core.Box, { w: "fit-content", bg: theme.neutral.transparent10, sx: { borderRadius: 16 }, py: 12, px: 16, mb: 32, children: [
3548
- /* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: theme.text.overPicture, fz: 12, children: sender }),
3549
- /* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: theme.text.overPicture, mt: 10, sx: { wordBreak: "break-all" }, children: message }, message)
3533
+ return /* @__PURE__ */ jsxRuntime.jsxs(core.Box, { w: "fit-content", bg: "neutralColor.6", sx: { borderRadius: 16 }, py: 12, px: 16, mb: 32, children: [
3534
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: "neutralColor.8", fz: 12, children: sender }),
3535
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: "neutralColor.8", mt: 10, sx: { wordBreak: "break-all" }, children: message }, message)
3550
3536
  ] });
3551
3537
  }
3552
3538
  function CardHero({ title, description, tag, pictogram: Pictogram, active, onClick, cornerIcon }) {
@@ -4680,11 +4666,11 @@ const CommandItem = ({
4680
4666
  px: 12,
4681
4667
  py: 8,
4682
4668
  align: "center",
4683
- bg: isSelected ? theme.colors.whiteTransparent30 : hovered ? theme.colors.whiteTransparent30 : theme.colors.whiteTransparent10,
4669
+ bg: isSelected || hovered ? "var(--mantine-color-neutralColor-2)" : "var(--mantine-color-neutralColor-5)",
4684
4670
  gap: 14,
4685
4671
  style: {
4686
4672
  cursor: "pointer",
4687
- outline: hovered || isSelected ? `1px solid ${theme.colors.whiteTransparent30}` : "none",
4673
+ outline: "none",
4688
4674
  transition: "all 0.2s ease",
4689
4675
  transform: hovered || isSelected ? "translateY(-1px)" : "translateY(0)",
4690
4676
  boxShadow: hovered || isSelected ? "0 4px 12px rgba(0, 0, 0, 0.15)" : "none"
@@ -4693,10 +4679,10 @@ const CommandItem = ({
4693
4679
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 26, color: "secondary" }),
4694
4680
  /* @__PURE__ */ jsxRuntime.jsxs(core.Stack, { gap: 0, children: [
4695
4681
  /* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: 6, children: [
4696
- /* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: theme.text.overPicture, children: name }),
4697
- /* @__PURE__ */ jsxRuntime.jsx(core.Badge, { size: "sm", fw: 300, c: theme.colors.focus, bg: theme.colors.focusTransparent50, children: points > 0 ? `${points} AMP's` : "Free" })
4682
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { c: "neutralColor.8", children: name }),
4683
+ /* @__PURE__ */ jsxRuntime.jsx(core.Badge, { size: "sm", fw: 300, c: theme.colors.focus, bg: "accent.7", children: points > 0 ? `${points} AMP's` : "Free" })
4698
4684
  ] }),
4699
- /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, c: theme.neutral.transparent50, children: description })
4685
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, c: "neutralColor.7", children: description })
4700
4686
  ] })
4701
4687
  ]
4702
4688
  }
@@ -4962,7 +4948,7 @@ function FloatingInput({
4962
4948
  core.Box,
4963
4949
  {
4964
4950
  p: 16,
4965
- bg: theme.bg.navSpaces,
4951
+ bg: "neutralColor.2",
4966
4952
  w: 340,
4967
4953
  pos: "absolute",
4968
4954
  left: "50%",
@@ -4978,7 +4964,7 @@ function FloatingInput({
4978
4964
  children: [
4979
4965
  filteredCommands.length !== 0 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4980
4966
  /* @__PURE__ */ jsxRuntime.jsxs(Flex, { mb: 20, align: "center", justify: "space-between", children: [
4981
- /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, c: theme.text.secondary, children: "Commands" }),
4967
+ /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, c: "neutralColor.8", children: "Commands" }),
4982
4968
  /* @__PURE__ */ jsxRuntime.jsx(UsersSolid.EllipsisVSolid, { color: "secondary" })
4983
4969
  ] }),
4984
4970
  /* @__PURE__ */ jsxRuntime.jsx(core.Text, { fz: 12, c: theme.colors.focus, children: oracleModel }),
@@ -5996,13 +5982,13 @@ function ActionButton({ onClick, left, right }) {
5996
5982
  }
5997
5983
  );
5998
5984
  }
5999
- const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-BSpy7S9t.cjs")));
6000
- const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-DZdPdzVn.cjs")));
6001
- const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-B-Zre99u.cjs")));
5985
+ const MainAction = react$1.lazy(() => Promise.resolve().then(() => require("./index-BwFcOXoo.cjs")));
5986
+ const Header$1 = react$1.lazy(() => Promise.resolve().then(() => require("./index-8mrl_91C.cjs")));
5987
+ const Content = react$1.lazy(() => Promise.resolve().then(() => require("./index-CWtfpAdi.cjs")));
6002
5988
  const Map = react$1.lazy(() => Promise.resolve().then(() => require("./index-D4PsPquZ.cjs")));
6003
5989
  const CustomContent = react$1.lazy(() => Promise.resolve().then(() => require("./index-ByrCNpS2.cjs")));
6004
- const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-CxrtFKNK.cjs")));
6005
- const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-DnxREYKV.cjs")));
5990
+ const Assets = react$1.lazy(() => Promise.resolve().then(() => require("./index-CnUrZJ6d.cjs")));
5991
+ const Actions = react$1.lazy(() => Promise.resolve().then(() => require("./index-DPdnPYOK.cjs")));
6006
5992
  const HOVER_BORDER_WIDTH = 1;
6007
5993
  function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
6008
5994
  const wrapperRef = react$1.useRef(null);
@@ -11293,4 +11279,4 @@ exports.UserMessage = UserMessage;
11293
11279
  exports.WorkspaceModal = WorkspaceModal;
11294
11280
  exports.cutText = cutText;
11295
11281
  exports.isValidClick = isValidClick;
11296
- //# sourceMappingURL=components-Dh6ajpNG.cjs.map
11282
+ //# sourceMappingURL=components-DH1wUH8v.cjs.map