@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
@@ -1,16 +1,16 @@
1
1
  import { jsx, Fragment, jsxs } from "@emotion/react/jsx-runtime";
2
2
  import { isString, toggle, get, isFunction, assign } from "radash";
3
3
  import { useTheme, jsx as jsx$1, keyframes, ThemeProvider } from "@emotion/react";
4
- import { g as getElementColor, A as AngleDownSolid, a as CheckSolid, C as Close, L as Loading, P as PlusSolid, S as SearchSolid, b as Assistant, c as ArrowUpSolid, E as EllipsisVSolid, d as ArrowLeftSolid, e as Canvas, H as HistorySolid, U as User, f as AngleLeftSolid, M as MinusCircleSolid, h as SettingsBarSolid, G as Globe, D as Dashboard, i as Groups, j as UserCircleSolid, k as Assets$1, l as Claims, m as Accounts, n as LinkedResources, o as Proposals, I as ImpactCredits, p as GoTo, q as Share, r as PiePiece, s as ImpactCertificates, t as CommentDotsSolid, u as CommentAltSolid, v as MicrophoneSolid, w as Command, x as ArrowCircleRightSolid, y as Protocols, z as Investments, O as Oracles, B as Projects, F as Daos, J as Star, K as AngleRightSolid, N as Expand, Q as LeafSolid, R as ArrowDownSolid, T as ArrowRightSolid, V as Play, W as CheckCircle, X as Events, Y as ThumbsUpSolid, Z as CommentsSolid, _ as CopySolid, $ as Hourglass, a0 as Act, a1 as Info$1, a2 as ClaimsW, a3 as TachometerAltSolid, a4 as UserCogSolid, a5 as UsersSolid, a6 as EllipsisHSolid } from "./UsersSolid-C6NkfomI.js";
4
+ import { g as getElementColor, A as AngleDownSolid, a as CheckSolid, C as Close, L as Loading, P as PlusSolid, S as SearchSolid, b as Assistant, c as ArrowUpSolid, E as EllipsisVSolid, d as ArrowLeftSolid, e as Canvas, H as HistorySolid, U as User, f as AngleLeftSolid, M as MinusCircleSolid, h as SettingsBarSolid, G as Globe, D as Dashboard, i as Groups, j as UserCircleSolid, k as Assets$1, l as Claims, m as Accounts, n as LinkedResources, o as Proposals, I as ImpactCredits, p as GoTo, q as Share, r as PiePiece, s as ImpactCertificates, t as CommentDotsSolid, u as CommentAltSolid, v as MicrophoneSolid, w as Command, x as ArrowCircleRightSolid, y as Protocols, z as Investments, O as Oracles, B as Projects, F as Daos, J as Star, K as AngleRightSolid, N as Expand, Q as LeafSolid, R as ArrowDownSolid, T as ArrowRightSolid, V as Play, W as CheckCircle, X as Events, Y as ThumbsUpSolid, Z as CommentsSolid, _ as CopySolid, $ as Hourglass, a0 as Act, a1 as Info$1, a2 as ClaimsW, a3 as TachometerAltSolid, a4 as UserCogSolid, a5 as UsersSolid, a6 as EllipsisHSolid } from "./UsersSolid-CU7U_J3x.js";
5
5
  import { useState, useCallback, useRef, useEffect, Suspense, lazy, forwardRef, useMemo, useId, Fragment as Fragment$1, useLayoutEffect, useImperativeHandle, memo } from "react";
6
6
  import { T as TAG_SMALL_HEIGHT, D as DEFAULT_ICON_SIZE } from "./constants-B7xlU8b8.js";
7
7
  import { Accordion as Accordion$1, Box, Image, Popover, Text as Text$1, Badge as Badge$1, Center, AppShell, Skeleton, Stack as Stack$1, Tooltip as Tooltip$4, Divider, ScrollArea, Space } from "@mantine/core";
8
8
  import { cx, css } from "@emotion/css";
9
9
  import { createPortal } from "react-dom";
10
10
  import DOMPurify from "dompurify";
11
- import { u as useUITheme } from "./useUITheme-7i8NJ2FG.js";
12
11
  import { useResizeObserver, useHover, useDisclosure } from "@mantine/hooks";
13
12
  import { a as useLocalStorage, E as EventEmitter, u as useEventSubscribe } from "./useEventSubscribe-BuXZL79s.js";
13
+ import { u as useUITheme } from "./useUITheme-7i8NJ2FG.js";
14
14
  import Markdown from "react-markdown";
15
15
  import remarkGfm from "remark-gfm";
16
16
  import { useCombobox, useSelect } from "downshift";
@@ -403,11 +403,11 @@ function Td({ children, value, description, icon: Icon, iconNoColor, image, tag,
403
403
  Icon ? /* @__PURE__ */ jsx(
404
404
  "div",
405
405
  {
406
- css: ({ radius, glass }) => ({
406
+ css: ({ radius }) => ({
407
407
  width: radius.roundButtons,
408
408
  height: radius.roundButtons,
409
409
  borderRadius: radius.small / 2,
410
- backgroundColor: glass.lighter,
410
+ backgroundColor: "var(--mantine-color-neutralColor-5)",
411
411
  display: "flex",
412
412
  justifyContent: "center",
413
413
  alignItems: "center"
@@ -445,8 +445,8 @@ function Td({ children, value, description, icon: Icon, iconNoColor, image, tag,
445
445
  /* @__PURE__ */ jsx(
446
446
  "span",
447
447
  {
448
- css: ({ text, fontSize }) => ({
449
- color: text.overPicture,
448
+ css: ({ fontSize }) => ({
449
+ color: "var(--mantine-color-neutralColor-8)",
450
450
  fontSize: fontSize.regular
451
451
  }),
452
452
  children: value
@@ -455,8 +455,8 @@ function Td({ children, value, description, icon: Icon, iconNoColor, image, tag,
455
455
  /* @__PURE__ */ jsx(
456
456
  "span",
457
457
  {
458
- css: ({ text, fontSize }) => ({
459
- color: text.overPicture,
458
+ css: ({ fontSize }) => ({
459
+ color: "var(--mantine-color-neutralColor-8)",
460
460
  fontSize: fontSize.xs,
461
461
  opacity: 0.7
462
462
  }),
@@ -479,7 +479,7 @@ function Th({ children, align = "center", shrink, expand }) {
479
479
  "th",
480
480
  {
481
481
  css: (theme) => ({
482
- color: theme.text.overPicture,
482
+ color: "var(--mantine-color-neutralColor-8)",
483
483
  fontFamily: theme.font.main,
484
484
  fontSize: theme.fontSize.s,
485
485
  textAlign: align,
@@ -523,17 +523,18 @@ function Tr({ children, selected, onClick }) {
523
523
  ref: wrapperRef,
524
524
  onClick: handleClick,
525
525
  role: onClick ? "button" : void 0,
526
- css: ({ glass }) => {
526
+ css: () => {
527
527
  return {
528
528
  cursor: onClick ? "pointer" : void 0,
529
529
  "& > td": {
530
530
  borderStyle: "solid",
531
531
  borderWidth: 1,
532
532
  borderColor: "transparent",
533
- backgroundColor: selected ? glass.lighter : glass.base
533
+ backgroundColor: selected ? "var(--mantine-color-neutralColor-5)" : "var(--mantine-color-neutralColor-3)",
534
+ color: "var(--mantine-color-neutralColor-8)"
534
535
  },
535
536
  "&:hover > td": {
536
- backgroundColor: onClick ? glass.lighter : void 0
537
+ backgroundColor: onClick ? "var(--mantine-color-neutralColor-8)" : void 0
537
538
  }
538
539
  };
539
540
  },
@@ -556,7 +557,7 @@ function Table({ children }) {
556
557
  width: "100%",
557
558
  borderCollapse: "separate",
558
559
  borderSpacing: `0 ${theme.spacing * 2}px`,
559
- background: "transparent"
560
+ background: "neutral.1"
560
561
  }),
561
562
  children
562
563
  }
@@ -774,8 +775,8 @@ function AccordionTable({
774
775
  }
775
776
  );
776
777
  }
777
- const Header$3 = lazy(() => import("./index-CHd1dAzt.js"));
778
- const Footer = lazy(() => import("./index-9UUyZZ-F.js"));
778
+ const Header$3 = lazy(() => import("./index-CHxc81t7.js"));
779
+ const Footer = lazy(() => import("./index-BQ756FwG.js"));
779
780
  function ActionCard({ header, content, footer, useHoverMode = false }) {
780
781
  const hasContent = !!content || !!footer;
781
782
  const initialVisibility = footer?.startHidden !== true;
@@ -859,7 +860,7 @@ function Loader({ size, color = "primary" }) {
859
860
  }
860
861
  const CARD_WIDTH$1 = 350;
861
862
  const CARD_HEADER_HEIGHT = 158;
862
- const Header$2 = lazy(() => import("./index-DBFKFDFv.js"));
863
+ const Header$2 = lazy(() => import("./index-JPCFjEIL.js"));
863
864
  function Card({ children, className, contentClassName, roundedBottom, noPadding = false, fullWidth = false, header, wrapperSx, onClick }) {
864
865
  const wrapperRef = useRef(null);
865
866
  const handleOnClick = useCallback(
@@ -1294,7 +1295,7 @@ function ModalSheet({ isOpen, children, hideHandler, zIndex, onRequestHide, onRe
1294
1295
  document.body
1295
1296
  );
1296
1297
  }
1297
- const Badge = lazy(() => import("./index--70UT2n_.js"));
1298
+ const Badge = lazy(() => import("./index-znGVxTmK.js"));
1298
1299
  function ActionSheet({ children, isOpen, header, navMenu = void 0, onRequestHide, onRequestShow }) {
1299
1300
  const shadowScrollRef = useRef(null);
1300
1301
  const wrapperContentAreaRef = useRef(null);
@@ -1935,28 +1936,28 @@ function Item({ icon, label, disabled, active, onClick }) {
1935
1936
  return /* @__PURE__ */ jsx(
1936
1937
  "button",
1937
1938
  {
1938
- css: ({ bg, colors }) => ({
1939
+ css: () => ({
1939
1940
  width: "100%",
1940
1941
  borderRadius: 4,
1941
1942
  padding: "4px 12px",
1942
- background: bg.navIconsBg,
1943
+ background: "var(--mantine-color-neutralColor-5)",
1943
1944
  border: "none",
1944
1945
  cursor: disabled ? "not-allowed" : "pointer",
1945
1946
  textAlign: "left",
1946
1947
  "&:hover": {
1947
- backgroundColor: disabled ? void 0 : colors.whiteTransparent10
1948
+ backgroundColor: disabled ? void 0 : "var(--mantine-color-neutralColor-6)"
1948
1949
  }
1949
1950
  }),
1950
1951
  disabled,
1951
1952
  onClick,
1952
1953
  children: /* @__PURE__ */ jsxs(Flex, { align: "center", gap: 8, children: [
1953
- IconComponent && /* @__PURE__ */ jsx(IconComponent, { size: 16 }),
1954
+ IconComponent && /* @__PURE__ */ jsx(IconComponent, { size: 16, color: "overPicture" }),
1954
1955
  /* @__PURE__ */ jsx(
1955
1956
  Typography.Text,
1956
1957
  {
1957
- css: ({ fontSize, text, colors }) => ({
1958
+ css: ({ fontSize }) => ({
1958
1959
  fontSize: fontSize.xs,
1959
- color: disabled ? text.secondary : active ? colors.focus : text.overPicture
1960
+ color: disabled ? "var(--mantine-color-neutralColor-8)" : active ? "var(--mantine-color-neutralColor-8)" : "var(--mantine-color-neutralColor-8)"
1960
1961
  }),
1961
1962
  children: label
1962
1963
  }
@@ -1966,7 +1967,6 @@ function Item({ icon, label, disabled, active, onClick }) {
1966
1967
  );
1967
1968
  }
1968
1969
  function MoreMenu({ items, controlColor = "primary" }) {
1969
- const theme = useUITheme();
1970
1970
  const [opened, setOpened] = useState(false);
1971
1971
  return /* @__PURE__ */ jsxs(
1972
1972
  Popover,
@@ -1976,7 +1976,7 @@ function MoreMenu({ items, controlColor = "primary" }) {
1976
1976
  closeOnClickOutside: true,
1977
1977
  styles: {
1978
1978
  dropdown: {
1979
- background: theme.bg.navIconsBg,
1979
+ background: "var(--mantine-color-neutralColor-4)",
1980
1980
  border: "none",
1981
1981
  padding: "12px 4px",
1982
1982
  marginLeft: 10
@@ -2005,7 +2005,7 @@ function MoreMenu({ items, controlColor = "primary" }) {
2005
2005
  }
2006
2006
  ) }),
2007
2007
  /* @__PURE__ */ jsxs(Popover.Dropdown, { children: [
2008
- /* @__PURE__ */ jsx(Text$1, { ml: 12, mb: 10, fz: 12, c: theme.text.secondary, children: "Page" }),
2008
+ /* @__PURE__ */ jsx(Text$1, { ml: 12, mb: 10, fz: 12, c: "neutralColor.8", children: "Page" }),
2009
2009
  items.map((item) => /* @__PURE__ */ jsx(
2010
2010
  Item,
2011
2011
  {
@@ -2103,12 +2103,11 @@ function AIInputBar({ placeholder, icon, disabledInput, disabledButton, valueInp
2103
2103
  );
2104
2104
  }
2105
2105
  function AIChatToolbar({ onClose, onHistoryClick, onPlusClick, onHistoryClose, onCanvasCycle, isHistoryOpened, canvasMode = "hidden", oracleModel, sessionTitle }) {
2106
- const theme = useUITheme();
2107
2106
  const canvasActive = canvasMode !== "hidden";
2108
- return /* @__PURE__ */ jsxs(Flex, { bg: theme.bg.navIconsBg, py: 16, justify: "space-between", align: "center", children: [
2107
+ return /* @__PURE__ */ jsxs(Flex, { bg: "neutralColor.4", py: 16, justify: "space-between", align: "center", children: [
2109
2108
  /* @__PURE__ */ jsxs(Flex, { gap: 6, align: "center", children: [
2110
- sessionTitle && /* @__PURE__ */ jsx(Typography.Text, { color: "overPicture", size: "s", children: sessionTitle }),
2111
- oracleModel && /* @__PURE__ */ jsx(Badge$1, { fw: 300, size: "sm", fz: 12, bg: theme.neutral.transparent10, tt: "initial", children: oracleModel })
2109
+ sessionTitle && /* @__PURE__ */ jsx(Text$1, { c: "neutralColor.8", fz: 14, children: sessionTitle }),
2110
+ oracleModel && /* @__PURE__ */ jsx(Badge$1, { fw: 300, size: "sm", fz: 12, c: "neutralColor.8", bg: "neutralColor.3", tt: "initial", children: oracleModel })
2112
2111
  ] }),
2113
2112
  /* @__PURE__ */ jsx(Flex, { gap: 6, align: "center", justify: "flex-end", children: isHistoryOpened ? /* @__PURE__ */ jsx(
2114
2113
  Center,
@@ -2117,17 +2116,17 @@ function AIChatToolbar({ onClose, onHistoryClick, onPlusClick, onHistoryClose, o
2117
2116
  cursor: "pointer",
2118
2117
  borderRadius: 8,
2119
2118
  transition: "background 0.15s",
2120
- background: theme.neutral.transparent10,
2119
+ background: "var(--mantine-color-neutralColor-5)",
2121
2120
  "&:hover": {
2122
- background: theme.neutral.transparent30
2121
+ background: "var(--mantine-color-neutralColor-6)"
2123
2122
  }
2124
2123
  },
2125
2124
  p: 4,
2126
2125
  onClick: onHistoryClose,
2127
- children: /* @__PURE__ */ jsx(ArrowLeftSolid, { size: 18 })
2126
+ children: /* @__PURE__ */ jsx(ArrowLeftSolid, { size: 18, color: "secondary" })
2128
2127
  }
2129
2128
  ) : /* @__PURE__ */ jsxs(Fragment, { children: [
2130
- /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, onClick: onPlusClick, children: /* @__PURE__ */ jsx(PlusSolid, { size: 18 }) }),
2129
+ /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, onClick: onPlusClick, children: /* @__PURE__ */ jsx(PlusSolid, { size: 18, color: "secondary" }) }),
2131
2130
  /* @__PURE__ */ jsx(
2132
2131
  Center,
2133
2132
  {
@@ -2136,10 +2135,10 @@ function AIChatToolbar({ onClose, onHistoryClick, onPlusClick, onHistoryClose, o
2136
2135
  borderRadius: 24
2137
2136
  },
2138
2137
  onClick: onCanvasCycle,
2139
- children: /* @__PURE__ */ jsx(Canvas, { size: 18, color: canvasActive ? "primary" : void 0 })
2138
+ children: /* @__PURE__ */ jsx(Canvas, { size: 18, color: canvasActive ? "primary" : "secondary" })
2140
2139
  }
2141
2140
  ),
2142
- /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, onClick: onHistoryClick, children: /* @__PURE__ */ jsx(HistorySolid, { size: 18 }) }),
2141
+ /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, onClick: onHistoryClick, children: /* @__PURE__ */ jsx(HistorySolid, { size: 18, color: "secondary" }) }),
2143
2142
  /* @__PURE__ */ jsx(
2144
2143
  Center,
2145
2144
  {
@@ -2147,14 +2146,14 @@ function AIChatToolbar({ onClose, onHistoryClick, onPlusClick, onHistoryClose, o
2147
2146
  cursor: "pointer",
2148
2147
  borderRadius: 8,
2149
2148
  transition: "background 0.15s",
2150
- background: theme.neutral.transparent10,
2149
+ background: "var(--mantine-color-neutralColor-5)",
2151
2150
  "&:hover": {
2152
- background: theme.neutral.transparent30
2151
+ background: "var(--mantine-color-neutralColor-6)"
2153
2152
  }
2154
2153
  },
2155
2154
  p: 4,
2156
2155
  onClick: onClose,
2157
- children: /* @__PURE__ */ jsx(Close, { size: 18 })
2156
+ children: /* @__PURE__ */ jsx(Close, { size: 18, color: "secondary" })
2158
2157
  }
2159
2158
  )
2160
2159
  ] }) })
@@ -2311,7 +2310,6 @@ function AsideResizable({ children, asideCollapsed = false, onAsideToggle, width
2311
2310
  );
2312
2311
  }
2313
2312
  function NavigationItemSkeleton() {
2314
- const theme = useUITheme();
2315
2313
  return /* @__PURE__ */ jsxs(
2316
2314
  Flex,
2317
2315
  {
@@ -2322,7 +2320,7 @@ function NavigationItemSkeleton() {
2322
2320
  py: 6,
2323
2321
  style: {
2324
2322
  borderRadius: 8,
2325
- backgroundColor: theme.bg.navIconsBg
2323
+ backgroundColor: "var(--mantine-color-neutralColor-5)"
2326
2324
  },
2327
2325
  children: [
2328
2326
  /* @__PURE__ */ jsx(Flex, { align: "center", gap: 4, style: { flex: 1 }, children: /* @__PURE__ */ jsx(
@@ -2356,7 +2354,6 @@ function NavigationItemSkeleton() {
2356
2354
  }
2357
2355
  function RoomItem({ room }) {
2358
2356
  const { hovered, ref } = useHover();
2359
- const theme = useUITheme();
2360
2357
  return /* @__PURE__ */ jsxs(
2361
2358
  Flex,
2362
2359
  {
@@ -2369,21 +2366,20 @@ function RoomItem({ room }) {
2369
2366
  style: {
2370
2367
  cursor: "pointer",
2371
2368
  borderRadius: 6,
2372
- backgroundColor: room.isActive || hovered ? theme.neutral.transparent10 : "transparent",
2369
+ backgroundColor: room.isActive || hovered ? "var(--mantine-color-neutralColor-5)" : "transparent",
2373
2370
  transform: hovered ? "translateX(2px)" : "translateX(0px)",
2374
2371
  transition: "all 0.15s ease"
2375
2372
  },
2376
2373
  onClick: () => room.onClick(room.id),
2377
2374
  children: [
2378
2375
  /* @__PURE__ */ jsx(room.icon, { size: 16, color: "secondary" }),
2379
- /* @__PURE__ */ jsx(Text$1, { fz: 13, c: theme.text.secondary, children: room.name })
2376
+ /* @__PURE__ */ jsx(Text$1, { fz: 13, c: "neutralColor.8", children: room.name })
2380
2377
  ]
2381
2378
  }
2382
2379
  );
2383
2380
  }
2384
2381
  function RoomCategory({ category }) {
2385
2382
  const { hovered, ref } = useHover();
2386
- const theme = useUITheme();
2387
2383
  const { value, toggle: toggle2 } = useToggle(false);
2388
2384
  return /* @__PURE__ */ jsxs(Stack$1, { gap: 2, children: [
2389
2385
  /* @__PURE__ */ jsxs(
@@ -2397,12 +2393,12 @@ function RoomCategory({ category }) {
2397
2393
  style: {
2398
2394
  cursor: "pointer",
2399
2395
  borderRadius: 6,
2400
- backgroundColor: hovered ? theme.neutral.transparent50 : "transparent",
2396
+ backgroundColor: hovered ? "var(--mantine-color-neutralColor-6)" : "transparent",
2401
2397
  transition: "all 0.15s ease"
2402
2398
  },
2403
2399
  onClick: toggle2,
2404
2400
  children: [
2405
- /* @__PURE__ */ jsx(Text$1, { fz: 12, c: theme.neutral.lightGray, children: category.name }),
2401
+ /* @__PURE__ */ jsx(Text$1, { fz: 12, c: "neutralColor.7", children: category.name }),
2406
2402
  /* @__PURE__ */ jsx(
2407
2403
  Center,
2408
2404
  {
@@ -2425,7 +2421,6 @@ function hasActiveDescendant(children) {
2425
2421
  }
2426
2422
  function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2427
2423
  const { hovered, ref } = useHover();
2428
- const theme = useUITheme();
2429
2424
  const hasChildren = item.children && item.children.length > 0;
2430
2425
  const hasActiveChild = useMemo(() => hasActiveDescendant(item.children), [item.children]);
2431
2426
  const initialExpanded = item?.isActive === true || hasActiveChild;
@@ -2469,7 +2464,7 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2469
2464
  transform: isExpanded ? "rotate(-90deg)" : "rotate(0deg)",
2470
2465
  transition: "transform 0.2s ease",
2471
2466
  "&:hover": {
2472
- backgroundColor: theme.neutral.transparent10
2467
+ backgroundColor: "neutralColor.5"
2473
2468
  }
2474
2469
  },
2475
2470
  children: /* @__PURE__ */ jsx(AngleLeftSolid, { size: 12, color: "secondary" })
@@ -2497,7 +2492,7 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2497
2492
  style: {
2498
2493
  cursor: "pointer",
2499
2494
  borderRadius: 8,
2500
- backgroundColor: shouldShowActiveStyle ? theme.neutral.transparent10 : hovered ? theme.neutral.transparent10 : "transparent",
2495
+ backgroundColor: shouldShowActiveStyle ? "var(--mantine-color-neutralColor-6)" : hovered ? "var(--mantine-color-neutralColor-6)" : "transparent",
2501
2496
  transform: hovered ? "translateX(4px)" : "translateX(0px)",
2502
2497
  transition: "all 0.2s ease"
2503
2498
  },
@@ -2505,7 +2500,7 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2505
2500
  children: [
2506
2501
  /* @__PURE__ */ jsxs(Flex, { align: "center", gap: 8, children: [
2507
2502
  renderIcon(),
2508
- /* @__PURE__ */ jsx(Text$1, { fz: 14, fw: 500, c: shouldShowActiveStyle ? theme.neutral.lightGray : theme.text.secondary, style: { flex: 1 }, children: item.name }),
2503
+ /* @__PURE__ */ jsx(Text$1, { fz: 14, fw: 500, c: item.isActive ? "neutralColor.8" : "neutralColor.7", style: { flex: 1 }, children: item.name }),
2509
2504
  item.badgeCount ? /* @__PURE__ */ jsx(Badge$1, { size: "xs", variant: "filled", ml: 4, style: { minWidth: "16px", height: "15px", padding: "0 4px", fontSize: "8px" }, children: item.badgeCount }) : null
2510
2505
  ] }),
2511
2506
  /* @__PURE__ */ jsx(Flex, { children: item?.actions && item.actions.length > 0 && /* @__PURE__ */ jsx(
@@ -2516,7 +2511,7 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2516
2511
  borderRadius: 4,
2517
2512
  transition: "transform 0.2s ease",
2518
2513
  "&:hover": {
2519
- backgroundColor: theme.neutral.transparent10
2514
+ background: "var(--mantine-color-neutralColor-5)"
2520
2515
  }
2521
2516
  },
2522
2517
  children: /* @__PURE__ */ jsx(MoreMenu, { items: item.actions, controlColor: "secondary" })
@@ -2529,7 +2524,6 @@ function MenuItem({ item, onMenuItemClick, depth = 0 }) {
2529
2524
  ] });
2530
2525
  }
2531
2526
  function SelectedIndicator() {
2532
- const theme = useUITheme();
2533
2527
  return /* @__PURE__ */ jsx(
2534
2528
  "div",
2535
2529
  {
@@ -2538,7 +2532,7 @@ function SelectedIndicator() {
2538
2532
  left: -8,
2539
2533
  width: 4,
2540
2534
  height: 30,
2541
- backgroundColor: theme.neutral.whiteFull,
2535
+ backgroundColor: "var(--mantine-color-neutralColor-8)",
2542
2536
  borderRadius: 4
2543
2537
  }
2544
2538
  }
@@ -2546,7 +2540,6 @@ function SelectedIndicator() {
2546
2540
  }
2547
2541
  function SpaceItem({ icon, id, name, selectedSpace, onClick }) {
2548
2542
  const { hovered, ref } = useHover();
2549
- const theme = useUITheme();
2550
2543
  const isSelected = selectedSpace === id;
2551
2544
  return /* @__PURE__ */ jsxs(
2552
2545
  Center,
@@ -2557,7 +2550,7 @@ function SpaceItem({ icon, id, name, selectedSpace, onClick }) {
2557
2550
  borderRadius: 24
2558
2551
  },
2559
2552
  pos: "relative",
2560
- bg: hovered ? theme.neutral.transparent30 : theme.bg.navIconsBg,
2553
+ bg: hovered ? "neutralColor.6" : "neutralColor.5",
2561
2554
  mih: 40,
2562
2555
  w: 40,
2563
2556
  onClick: () => onClick(id),
@@ -2604,8 +2597,6 @@ function AppShellNavigation({
2604
2597
  avatarIcon,
2605
2598
  onMenuItemClick,
2606
2599
  onSettingsIconClick,
2607
- onBackClick,
2608
- isBackButtonVisible,
2609
2600
  footerContent,
2610
2601
  roomCategories,
2611
2602
  right,
@@ -2626,7 +2617,6 @@ function AppShellNavigation({
2626
2617
  }) {
2627
2618
  const [isNavbarNotCollapsed, { toggle: toggleNavbar }] = useDisclosure(true);
2628
2619
  const [asideWidth, setAsideWidth] = useState(450);
2629
- const theme = useUITheme();
2630
2620
  const [isSplitResizing, setIsSplitResizing] = useState(false);
2631
2621
  const isSplitResizingRef = useRef(false);
2632
2622
  const mainContainerRef = useRef(null);
@@ -2752,14 +2742,14 @@ function AppShellNavigation({
2752
2742
  withBorder: false,
2753
2743
  styles: {
2754
2744
  navbar: {
2755
- background: theme.bg.navIconsBg,
2745
+ background: "var(--mantine-color-neutralColor-4)",
2756
2746
  transition: isNavbarResizing ? "none" : "width 0.3s ease"
2757
2747
  },
2758
2748
  aside: {
2759
- background: theme.bg.navScaled
2749
+ background: "var(--mantine-color-neutralColor-4)"
2760
2750
  }
2761
2751
  },
2762
- bg: theme.bg.centralCanvasBg,
2752
+ bg: "neutralColor.2",
2763
2753
  navbar: {
2764
2754
  width: isNavbarNotCollapsed ? navbarWidth : 56,
2765
2755
  breakpoint: "sm"
@@ -2778,7 +2768,7 @@ function AppShellNavigation({
2778
2768
  right: 0,
2779
2769
  h: "100%",
2780
2770
  pos: "absolute",
2781
- bg: isNavbarResizing ? theme.colors.focus : "transparent",
2771
+ bg: isNavbarResizing ? "accent.5" : "transparent",
2782
2772
  sx: {
2783
2773
  zIndex: 2,
2784
2774
  cursor: "col-resize",
@@ -2788,17 +2778,17 @@ function AppShellNavigation({
2788
2778
  }
2789
2779
  ),
2790
2780
  /* @__PURE__ */ jsxs(Flex, { style: { height: "100%" }, children: [
2791
- /* @__PURE__ */ jsxs(Stack$1, { p: 8, w: 56, justify: "space-between", h: "100%", bg: theme.bg.navSpaces, children: [
2781
+ /* @__PURE__ */ jsxs(Stack$1, { p: 8, w: 56, justify: "space-between", h: "100%", bg: "neutralColor.2", children: [
2792
2782
  /* @__PURE__ */ jsxs(Stack$1, { align: "center", style: { flex: 1 }, gap: 8, children: [
2793
2783
  /* @__PURE__ */ jsxs(Center, { sx: { cursor: "pointer", borderRadius: 24 }, pos: "relative", h: 40, w: 40, onClick: companyIcon.onClick, children: [
2794
2784
  typeof companyIcon.icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 24, src: companyIcon.icon, w: 32, h: 32 }) : companyIcon.icon,
2795
2785
  companyIcon.isSelected && /* @__PURE__ */ jsx(SelectedIndicator, {})
2796
2786
  ] }),
2797
- avatarIcon && /* @__PURE__ */ jsxs(Center, { sx: { cursor: "pointer", borderRadius: 24 }, pos: "relative", bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: avatarIcon.onClick, children: [
2787
+ avatarIcon && /* @__PURE__ */ jsxs(Center, { sx: { cursor: "pointer", borderRadius: 24 }, pos: "relative", bg: "neutralColor.5", h: 40, w: 40, onClick: avatarIcon.onClick, children: [
2798
2788
  /* @__PURE__ */ jsx(Tooltip$4, { label: "Home", position: "right", withArrow: true, ml: 5, fz: 12, children: typeof avatarIcon.icon === "string" ? /* @__PURE__ */ jsx(Image, { radius: 24, src: avatarIcon.icon, w: 32, h: 32 }) : avatarIcon.icon }),
2799
2789
  avatarIcon.isSelected && /* @__PURE__ */ jsx(SelectedIndicator, {})
2800
2790
  ] }),
2801
- /* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
2791
+ /* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: "neutralColor.5" }),
2802
2792
  temporarySpace && !spaces?.some((space) => space.id === temporarySpace.id) && /* @__PURE__ */ jsxs(Fragment, { children: [
2803
2793
  /* @__PURE__ */ jsx(
2804
2794
  SpaceItem,
@@ -2811,7 +2801,7 @@ function AppShellNavigation({
2811
2801
  },
2812
2802
  temporarySpace.id
2813
2803
  ),
2814
- /* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 })
2804
+ /* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: "neutralColor.5" })
2815
2805
  ] }),
2816
2806
  /* @__PURE__ */ jsx(
2817
2807
  ScrollArea,
@@ -2831,21 +2821,18 @@ function AppShellNavigation({
2831
2821
  }
2832
2822
  )
2833
2823
  ] }),
2834
- onAddSpaceClick && /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onAddSpaceClick, children: /* @__PURE__ */ jsx(PlusSolid, { color: "secondary" }) }),
2835
- onMinusSpaceClick && /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onMinusSpaceClick, children: /* @__PURE__ */ jsx(MinusCircleSolid, { color: "secondary" }) }),
2824
+ onAddSpaceClick && /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: "neutralColor.5", h: 40, w: 40, onClick: onAddSpaceClick, children: /* @__PURE__ */ jsx(PlusSolid, { color: "secondary" }) }),
2825
+ onMinusSpaceClick && /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: "neutralColor.5", h: 40, w: 40, onClick: onMinusSpaceClick, children: /* @__PURE__ */ jsx(MinusCircleSolid, { color: "secondary" }) }),
2836
2826
  /* @__PURE__ */ jsxs(Stack$1, { align: "center", gap: 8, children: [
2837
- /* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: theme.neutral.transparent10 }),
2838
- /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: theme.bg.navIconsBg, h: 40, w: 40, onClick: onSettingsIconClick, children: /* @__PURE__ */ jsx(SettingsBarSolid, { size: 22, color: "secondary" }) })
2827
+ /* @__PURE__ */ jsx(Divider, { w: 40, mx: 10, color: "neutralColor.5" }),
2828
+ /* @__PURE__ */ jsx(Center, { sx: { cursor: "pointer", borderRadius: 24 }, bg: "neutralColor.5", h: 40, w: 40, onClick: onSettingsIconClick, children: /* @__PURE__ */ jsx(SettingsBarSolid, { size: 22, color: "secondary" }) })
2839
2829
  ] })
2840
2830
  ] }),
2841
2831
  isAiOpened && isNavbarNotCollapsed && aiNavbarContent,
2842
2832
  isNavbarNotCollapsed && !isAiOpened && /* @__PURE__ */ jsxs(Stack$1, { justify: "space-between", w: "100%", pt: 16, pb: 10, px: 12, children: [
2843
2833
  /* @__PURE__ */ jsxs(Stack$1, { gap: 5, children: [
2844
2834
  /* @__PURE__ */ jsxs(Flex, { mb: 24, style: { width: "100%" }, justify: "space-between", align: "center", children: [
2845
- /* @__PURE__ */ jsxs(Flex, { align: "center", gap: "10px", children: [
2846
- isBackButtonVisible ? /* @__PURE__ */ jsx(Center, { onClick: onBackClick, sx: { borderRadius: 4, cursor: "pointer", padding: 2, background: theme.bg.navIconsBg }, children: /* @__PURE__ */ jsx(ArrowLeftSolid, { size: 18 }) }) : /* @__PURE__ */ jsx(Center, { sx: { borderRadius: 4, padding: 2, background: theme.bg.navIconsBg }, children: pageItem.pageIcon ? /* @__PURE__ */ jsx(pageItem.pageIcon, { size: 18 }) : /* @__PURE__ */ jsx(Globe, { size: 18 }) }),
2847
- /* @__PURE__ */ jsx(Tooltip$4, { label: pageItem.pageTitle || "Unknown", disabled: !isTitleOverflowing, position: "bottom", withArrow: true, children: /* @__PURE__ */ jsx(Text$1, { lh: 1, c: theme.text.overPicture, children: cutText(pageItem.pageTitle, 21) || "Unknown" }) })
2848
- ] }),
2835
+ /* @__PURE__ */ jsx(Flex, { align: "center", gap: "10px", children: /* @__PURE__ */ jsx(Tooltip$4, { label: pageItem.pageTitle || "Unknown", disabled: !isTitleOverflowing, position: "bottom", withArrow: true, children: /* @__PURE__ */ jsx(Text$1, { lh: 1, c: "neutralColor.8", children: cutText(pageItem.pageTitle, 19) || "Unknown" }) }) }),
2849
2836
  isAiBtnVisible && !isAiOpened && /* @__PURE__ */ jsx(
2850
2837
  Center,
2851
2838
  {
@@ -2853,9 +2840,9 @@ function AppShellNavigation({
2853
2840
  cursor: "pointer",
2854
2841
  borderRadius: 8,
2855
2842
  transition: "background 0.15s",
2856
- background: theme.neutral.transparent10,
2843
+ background: "var(--mantine-color-neutralColor-5)",
2857
2844
  "&:hover": {
2858
- background: theme.neutral.transparent30
2845
+ background: "var(--mantine-color-neutralColor-6)"
2859
2846
  }
2860
2847
  },
2861
2848
  p: 4,
@@ -2902,7 +2889,7 @@ function AppShellNavigation({
2902
2889
  /* @__PURE__ */ jsx(
2903
2890
  Box,
2904
2891
  {
2905
- bg: theme.bg.navIconsBg,
2892
+ bg: "neutralColor.5",
2906
2893
  style: {
2907
2894
  width: getCanvasWidth(),
2908
2895
  minWidth: shouldShowCanvas && canvasMode === "split" ? CANVAS_MIN_WIDTH : void 0,
@@ -2912,7 +2899,7 @@ function AppShellNavigation({
2912
2899
  height: "100%",
2913
2900
  transition: isSplitResizing ? "none" : "width 0.3s ease, opacity 0.2s ease",
2914
2901
  opacity: shouldShowCanvas ? 1 : 0,
2915
- borderLeft: `1px solid ${theme.neutral.transparent10}`
2902
+ borderLeft: "1px solid var(--mantine-color-neutralColor-6)"
2916
2903
  },
2917
2904
  children: canvasContent
2918
2905
  }
@@ -2922,7 +2909,7 @@ function AppShellNavigation({
2922
2909
  {
2923
2910
  w: 4,
2924
2911
  h: "100%",
2925
- bg: isSplitResizing ? theme.colors.focus : "transparent",
2912
+ bg: isSplitResizing ? "accent.5" : "transparent",
2926
2913
  sx: {
2927
2914
  cursor: "col-resize",
2928
2915
  flexShrink: 0,
@@ -3385,18 +3372,17 @@ function CardHeader({ left, right }) {
3385
3372
  ] }) });
3386
3373
  }
3387
3374
  function OracleMessage({ oracleName, message }) {
3388
- const theme = useUITheme();
3389
3375
  return /* @__PURE__ */ jsxs(Box, { mb: 32, children: [
3390
3376
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
3391
- /* @__PURE__ */ jsx(Text$1, { fz: 12, c: theme.colors.focus, children: oracleName || "Oracle" }),
3392
- /* @__PURE__ */ jsx(Badge$1, { tt: "capitalize", c: theme.colors.focus, size: "md", bg: theme.colors.focusTransparent10, children: "Oracle" })
3377
+ /* @__PURE__ */ jsx(Text$1, { fz: 12, c: "accent.5", children: oracleName || "Oracle" }),
3378
+ /* @__PURE__ */ jsx(Badge$1, { tt: "capitalize", c: "accent.5", size: "md", bg: "accent.0", children: "Oracle" })
3393
3379
  ] }),
3394
3380
  /* @__PURE__ */ jsx(Box, { mt: 12, mb: 4, sx: { borderRadius: 16 }, children: /* @__PURE__ */ jsx(
3395
3381
  Markdown,
3396
3382
  {
3397
3383
  remarkPlugins: [remarkGfm],
3398
3384
  components: {
3399
- a: ({ children, href }) => /* @__PURE__ */ jsx("a", { href, style: { color: theme.colors.focus, textDecoration: "underline" }, children }),
3385
+ a: ({ children, href }) => /* @__PURE__ */ jsx("a", { href, style: { color: "var(--mantine-color-accent-5)", textDecoration: "underline" }, children }),
3400
3386
  ul: ({ children, ...props }) => /* @__PURE__ */ jsx(
3401
3387
  "ul",
3402
3388
  {
@@ -3442,7 +3428,7 @@ function OracleMessage({ oracleName, message }) {
3442
3428
  marginBottom: 12,
3443
3429
  fontSize: "1.1em",
3444
3430
  fontWeight: 600,
3445
- color: theme.neutral.transparent50
3431
+ color: "var(--mantine-color-neutralColor-6)"
3446
3432
  },
3447
3433
  children
3448
3434
  }
@@ -3456,7 +3442,7 @@ function OracleMessage({ oracleName, message }) {
3456
3442
  marginBottom: 8,
3457
3443
  fontSize: "1em",
3458
3444
  fontWeight: 500,
3459
- color: theme.neutral.transparent50
3445
+ color: "var(--mantine-color-neutralColor-6)"
3460
3446
  },
3461
3447
  children
3462
3448
  }
@@ -3467,7 +3453,8 @@ function OracleMessage({ oracleName, message }) {
3467
3453
  ...props,
3468
3454
  style: {
3469
3455
  margin: "8px 0",
3470
- lineHeight: 1.6
3456
+ lineHeight: 1.6,
3457
+ color: "var(--mantine-color-neutralColor-8)"
3471
3458
  },
3472
3459
  children
3473
3460
  }
@@ -3492,11 +3479,11 @@ function OracleMessage({ oracleName, message }) {
3492
3479
  {
3493
3480
  ...props,
3494
3481
  style: {
3495
- border: `1px solid ${theme.text.secondary}`,
3482
+ border: "1px solid var(--mantine-color-neutralColor-7)",
3496
3483
  padding: "8px 12px",
3497
3484
  fontWeight: 600,
3498
3485
  textAlign: "left",
3499
- backgroundColor: theme.bg.centralCanvasBg
3486
+ backgroundColor: "var(--mantine-color-neutralColor-5)"
3500
3487
  },
3501
3488
  children
3502
3489
  }
@@ -3506,7 +3493,7 @@ function OracleMessage({ oracleName, message }) {
3506
3493
  {
3507
3494
  ...props,
3508
3495
  style: {
3509
- border: `1px solid ${theme.text.secondary}`,
3496
+ border: "1px solid var(--mantine-color-neutralColor-7)",
3510
3497
  padding: "8px 12px",
3511
3498
  textAlign: "left"
3512
3499
  },
@@ -3520,10 +3507,9 @@ function OracleMessage({ oracleName, message }) {
3520
3507
  ] });
3521
3508
  }
3522
3509
  function UserMessage({ message, sender }) {
3523
- const theme = useUITheme();
3524
- return /* @__PURE__ */ jsxs(Box, { w: "fit-content", bg: theme.neutral.transparent10, sx: { borderRadius: 16 }, py: 12, px: 16, mb: 32, children: [
3525
- /* @__PURE__ */ jsx(Text$1, { c: theme.text.overPicture, fz: 12, children: sender }),
3526
- /* @__PURE__ */ jsx(Text$1, { c: theme.text.overPicture, mt: 10, sx: { wordBreak: "break-all" }, children: message }, message)
3510
+ return /* @__PURE__ */ jsxs(Box, { w: "fit-content", bg: "neutralColor.6", sx: { borderRadius: 16 }, py: 12, px: 16, mb: 32, children: [
3511
+ /* @__PURE__ */ jsx(Text$1, { c: "neutralColor.8", fz: 12, children: sender }),
3512
+ /* @__PURE__ */ jsx(Text$1, { c: "neutralColor.8", mt: 10, sx: { wordBreak: "break-all" }, children: message }, message)
3527
3513
  ] });
3528
3514
  }
3529
3515
  function CardHero({ title, description, tag, pictogram: Pictogram, active, onClick, cornerIcon }) {
@@ -4657,11 +4643,11 @@ const CommandItem = ({
4657
4643
  px: 12,
4658
4644
  py: 8,
4659
4645
  align: "center",
4660
- bg: isSelected ? theme.colors.whiteTransparent30 : hovered ? theme.colors.whiteTransparent30 : theme.colors.whiteTransparent10,
4646
+ bg: isSelected || hovered ? "var(--mantine-color-neutralColor-2)" : "var(--mantine-color-neutralColor-5)",
4661
4647
  gap: 14,
4662
4648
  style: {
4663
4649
  cursor: "pointer",
4664
- outline: hovered || isSelected ? `1px solid ${theme.colors.whiteTransparent30}` : "none",
4650
+ outline: "none",
4665
4651
  transition: "all 0.2s ease",
4666
4652
  transform: hovered || isSelected ? "translateY(-1px)" : "translateY(0)",
4667
4653
  boxShadow: hovered || isSelected ? "0 4px 12px rgba(0, 0, 0, 0.15)" : "none"
@@ -4670,10 +4656,10 @@ const CommandItem = ({
4670
4656
  /* @__PURE__ */ jsx(Icon, { size: 26, color: "secondary" }),
4671
4657
  /* @__PURE__ */ jsxs(Stack$1, { gap: 0, children: [
4672
4658
  /* @__PURE__ */ jsxs(Flex, { align: "center", gap: 6, children: [
4673
- /* @__PURE__ */ jsx(Text$1, { c: theme.text.overPicture, children: name }),
4674
- /* @__PURE__ */ jsx(Badge$1, { size: "sm", fw: 300, c: theme.colors.focus, bg: theme.colors.focusTransparent50, children: points > 0 ? `${points} AMP's` : "Free" })
4659
+ /* @__PURE__ */ jsx(Text$1, { c: "neutralColor.8", children: name }),
4660
+ /* @__PURE__ */ jsx(Badge$1, { size: "sm", fw: 300, c: theme.colors.focus, bg: "accent.7", children: points > 0 ? `${points} AMP's` : "Free" })
4675
4661
  ] }),
4676
- /* @__PURE__ */ jsx(Text$1, { fz: 12, c: theme.neutral.transparent50, children: description })
4662
+ /* @__PURE__ */ jsx(Text$1, { fz: 12, c: "neutralColor.7", children: description })
4677
4663
  ] })
4678
4664
  ]
4679
4665
  }
@@ -4939,7 +4925,7 @@ function FloatingInput({
4939
4925
  Box,
4940
4926
  {
4941
4927
  p: 16,
4942
- bg: theme.bg.navSpaces,
4928
+ bg: "neutralColor.2",
4943
4929
  w: 340,
4944
4930
  pos: "absolute",
4945
4931
  left: "50%",
@@ -4955,7 +4941,7 @@ function FloatingInput({
4955
4941
  children: [
4956
4942
  filteredCommands.length !== 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
4957
4943
  /* @__PURE__ */ jsxs(Flex, { mb: 20, align: "center", justify: "space-between", children: [
4958
- /* @__PURE__ */ jsx(Text$1, { fz: 12, c: theme.text.secondary, children: "Commands" }),
4944
+ /* @__PURE__ */ jsx(Text$1, { fz: 12, c: "neutralColor.8", children: "Commands" }),
4959
4945
  /* @__PURE__ */ jsx(EllipsisVSolid, { color: "secondary" })
4960
4946
  ] }),
4961
4947
  /* @__PURE__ */ jsx(Text$1, { fz: 12, c: theme.colors.focus, children: oracleModel }),
@@ -5973,13 +5959,13 @@ function ActionButton({ onClick, left, right }) {
5973
5959
  }
5974
5960
  );
5975
5961
  }
5976
- const MainAction = lazy(() => import("./index-Cdq0xepm.js"));
5977
- const Header$1 = lazy(() => import("./index-DhGqlduA.js"));
5978
- const Content = lazy(() => import("./index-E541J7_X.js"));
5962
+ const MainAction = lazy(() => import("./index-DCeJ-EjR.js"));
5963
+ const Header$1 = lazy(() => import("./index-CNVan44C.js"));
5964
+ const Content = lazy(() => import("./index-CJf3kiYw.js"));
5979
5965
  const Map = lazy(() => import("./index-D5Ufmf-s.js"));
5980
5966
  const CustomContent = lazy(() => import("./index-DsYjW_4y.js"));
5981
- const Assets = lazy(() => import("./index-BmURKcEG.js"));
5982
- const Actions = lazy(() => import("./index-BJlA64RQ.js"));
5967
+ const Assets = lazy(() => import("./index-DcOglj4H.js"));
5968
+ const Actions = lazy(() => import("./index-LMTN501y.js"));
5983
5969
  const HOVER_BORDER_WIDTH = 1;
5984
5970
  function SodaCardCmp({ numSelected = 0, expanded = true, mainAction, header, content, map, customContent, customFooter, actions, assets, onClick }, ref) {
5985
5971
  const wrapperRef = useRef(null);
@@ -11272,4 +11258,4 @@ export {
11272
11258
  CardHero as y,
11273
11259
  CardSelector as z
11274
11260
  };
11275
- //# sourceMappingURL=components-HlNIe7CZ.js.map
11261
+ //# sourceMappingURL=components-Dd5AcCq0.js.map