@woobee/ui 0.2.4 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -49,15 +49,15 @@ function Button({
49
49
  "border bg-brown-500 border-transparent text-white": variant === "primary" && !darkMode,
50
50
  "dark:bg-primary-500 dark:hover:bg-primary-600 dark:text-black": variant === "primary" && !darkMode,
51
51
  "border bg-primary-500 hover:bg-primary-600 border-transparent text-black": variant === "primary" && !!darkMode,
52
- "text-gray-700 bg-white border border-gray-300 hover:text-gray-500": variant === "secondary" && !darkMode,
52
+ "text-content-primary bg-white border border-gray-300 hover:text-content-secondary": variant === "secondary" && !darkMode,
53
53
  "text-charcoal-100 bg-charcoal-800 hover:bg-charcoal-700 border border-charcoal-700": variant === "secondary" && !!darkMode,
54
- "!rounded-md text-left w-full text-gray-700 bg-white border border-gray-200 hover:bg-gray-50 hover:text-gray-500": variant === "form-input" && !darkMode,
54
+ "!rounded-md text-left w-full text-content-primary bg-white border border-gray-200 hover:bg-gray-50 hover:text-content-secondary": variant === "form-input" && !darkMode,
55
55
  "!rounded-md text-left w-full text-charcoal-100 bg-charcoal-800 hover:bg-charcoal-700 border border-charcoal-700": variant === "form-input" && !!darkMode,
56
- "dark:bg-charcoal-800 dark:hover:bg-charcoal-700 dark:text-charcoal-100 dark:border-charcoal-700": (variant === "secondary" || variant === "form-input") && !darkMode,
56
+ "dark:bg-charcoal-800 dark:hover:bg-charcoal-700 dark:text-content-primary dark:border-charcoal-700": (variant === "secondary" || variant === "form-input") && !darkMode,
57
57
  "hover:text-brown-500 !shadow-none": variant === "flat" && !darkMode,
58
- "dark:text-charcoal-100 dark:hover:text-primary-500": variant === "flat" && !darkMode,
58
+ "dark:text-content-primary dark:hover:text-primary-500": variant === "flat" && !darkMode,
59
59
  "text-charcoal-100 hover:text-primary-500 !shadow-none": variant === "flat" && !!darkMode,
60
- "!text-gray-300 hover:!text-gray-400": !children && !darkMode,
60
+ "!text-content-disabled hover:!text-content-placeholder": !children && !darkMode,
61
61
  "dark:!text-charcoal-400": !children && !darkMode,
62
62
  "!text-charcoal-400": !children && !!darkMode,
63
63
  ...classNameObject(className)
@@ -89,7 +89,7 @@ function Tag({
89
89
  {
90
90
  className: classNames({
91
91
  "inline-flex items-center rounded font-medium whitespace-nowrap": true,
92
- "bg-cream-200 dark:bg-charcoal-700 text-gray-800 dark:text-gray-200": !color,
92
+ "bg-cream-200 dark:bg-charcoal-700 text-content-title": !color,
93
93
  "text-white": !!color,
94
94
  // medium size
95
95
  "text-sm": size === "medium",
@@ -140,7 +140,7 @@ function TagGroup({
140
140
  children: tag.name
141
141
  },
142
142
  tag.id || tag.name
143
- )) : placeholder && /* @__PURE__ */ jsx("span", { className: "text-gray-300 dark:text-charcoal-400 text-sm flex items-center", children: placeholder })
143
+ )) : placeholder && /* @__PURE__ */ jsx("span", { className: "text-content-placeholder text-sm flex items-center", children: placeholder })
144
144
  }
145
145
  );
146
146
  }
@@ -165,8 +165,8 @@ function Tabs({
165
165
  {
166
166
  className: classNames({
167
167
  "px-3 py-2 transition-colors rounded-lg": true,
168
- "bg-white text-brown-500 dark:text-primary-500 dark:bg-charcoal-600": value === option.id,
169
- "hover:text-brown-500 dark:text-charcoal-300 dark:hover:text-primary-500": value !== option.id
168
+ "bg-white text-content-link dark:bg-charcoal-600": value === option.id,
169
+ "text-content-secondary": value !== option.id
170
170
  }),
171
171
  onClick: () => onChange(option.id),
172
172
  children: option.label
@@ -275,7 +275,7 @@ function CheckboxList({
275
275
  };
276
276
  const renderPlaceholder = () => {
277
277
  if (typeof placeholder === "string") {
278
- return /* @__PURE__ */ jsx("div", { className: "p-4 text-center text-sm text-gray-500 dark:text-charcoal-400", children: placeholder });
278
+ return /* @__PURE__ */ jsx("div", { className: "p-4 text-center text-sm text-content-placeholder", children: placeholder });
279
279
  }
280
280
  return placeholder;
281
281
  };
@@ -301,7 +301,7 @@ function CheckboxList({
301
301
  className: classNames({
302
302
  "w-5 h-5 rounded border flex items-center justify-center transition-colors cursor-pointer": true,
303
303
  "border-gray-300 bg-white dark:border-charcoal-700 dark:bg-charcoal-700": !checked,
304
- "border-brown-500 bg-brown-500 dark:bg-primary-500 dark:border-primary-500 dark:text-black text-white": checked
304
+ "border-brown-500 bg-brown-500 dark:bg-primary-500 dark:border-primary-500 text-content-primary-button": checked
305
305
  }),
306
306
  children: checked && /* @__PURE__ */ jsx("svg", { className: "w-4 h-4", viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z" }) })
307
307
  }
@@ -311,8 +311,8 @@ function CheckboxList({
311
311
  {
312
312
  className: classNames({
313
313
  "text-sm": true,
314
- "text-gray-900 dark:text-gray-100": !checked,
315
- "dark:text-primary-400": checked
314
+ "text-content-secondary": !checked,
315
+ "text-content-title": checked
316
316
  }),
317
317
  children: label
318
318
  }
@@ -693,7 +693,7 @@ function Modal({
693
693
  }),
694
694
  children: [
695
695
  /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
696
- /* @__PURE__ */ jsx("h3", { className: "my-0 text-base font-semibold leading-tight text-gray-900 dark:text-white", children: title }),
696
+ /* @__PURE__ */ jsx("h3", { className: "my-0 text-base font-semibold leading-tight text-content-title ", children: title }),
697
697
  !!description && description.length > 0 && /* @__PURE__ */ jsx("p", { className: "text-sm text-primary-700", children: description })
698
698
  ] }),
699
699
  /* @__PURE__ */ jsx(Button, { variant: "flat", compact: true, onClick: handleClose, children: /* @__PURE__ */ jsx("svg", { className: "w-6 h-6", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" }) }) })
@@ -810,7 +810,7 @@ function ConfirmationBox({
810
810
  disabled,
811
811
  children: /* @__PURE__ */ jsxs("div", { className: "flex items-start space-x-4", children: [
812
812
  iconSvg && /* @__PURE__ */ jsx("div", { className: `flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full ${iconContainerClass}`, children: iconSvg }),
813
- /* @__PURE__ */ jsx("div", { className: "flex-1 pt-1.5", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400 font-medium", children: description }) })
813
+ /* @__PURE__ */ jsx("div", { className: "flex-1 pt-1.5", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-content-secondary font-medium", children: description }) })
814
814
  ] })
815
815
  }
816
816
  );
@@ -910,7 +910,7 @@ function Drawer({
910
910
  "div",
911
911
  {
912
912
  "aria-label": "Close",
913
- className: "-mr-3 text-primary-700 dark:text-white hover:text-primary-500 p-1.5 rounded-lg hover:bg-primary-100 transition ease-in-out duration-150",
913
+ className: "-mr-3 text-content-title hover:text-primary-500 p-1.5 rounded-lg hover:bg-primary-100 transition ease-in-out duration-150",
914
914
  onClick: handleClose,
915
915
  children: /* @__PURE__ */ jsx("svg", { className: "h-6 w-6", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" }) })
916
916
  }
@@ -991,7 +991,7 @@ function InlinePrompt({
991
991
  className: classNames({
992
992
  "inline-flex justify-center w-full rounded-md bg-transparent font-medium focus:outline-none focus:border-blue-300 focus:shadow-outline-blue active:bg-gray-50 transition ease-in-out duration-150 cursor-pointer": true,
993
993
  "leading-5 px-4 py-2": !condensed,
994
- "text-gray-700 hover:text-gray-500 active:text-gray-800 text-md": !className.includes("text-"),
994
+ "text-content-primary hover:text-content-secondary active:text-content-title text-md": !className.includes("text-"),
995
995
  ...classNameObject(className)
996
996
  }),
997
997
  "aria-haspopup": "true",
@@ -1070,9 +1070,9 @@ function Breadcrumb({
1070
1070
  "a",
1071
1071
  {
1072
1072
  onClick: clickBack,
1073
- className: "flex items-center text-sm leading-5 font-medium text-gray-500 hover:text-gray-700 transition duration-150 ease-in-out cursor-pointer",
1073
+ className: "flex items-center text-sm leading-5 font-medium text-content-secondary hover:text-content-primary transition duration-150 ease-in-out cursor-pointer",
1074
1074
  children: [
1075
- /* @__PURE__ */ jsx("svg", { className: "flex-shrink-0 -ml-1 mr-1 h-5 w-5 text-gray-400", viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx(
1075
+ /* @__PURE__ */ jsx("svg", { className: "flex-shrink-0 -ml-1 mr-1 h-5 w-5 text-content-placeholder", viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx(
1076
1076
  "path",
1077
1077
  {
1078
1078
  fillRule: "evenodd",
@@ -1085,8 +1085,8 @@ function Breadcrumb({
1085
1085
  }
1086
1086
  ) }),
1087
1087
  /* @__PURE__ */ jsx("nav", { className: "hidden sm:flex items-center text-sm leading-5 font-medium", children: links && links.length > 0 && links.map((link, index) => /* @__PURE__ */ jsxs("span", { className: "inline-flex", children: [
1088
- /* @__PURE__ */ jsx(LinkComponent, { href: link.href, className: "text-gray-500 hover:text-gray-700 transition duration-150 ease-in-out", children: link.name }),
1089
- index !== links.length - 1 && /* @__PURE__ */ jsx("svg", { className: "flex-shrink-0 mx-2 h-5 w-5 text-gray-400", viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx(
1088
+ /* @__PURE__ */ jsx(LinkComponent, { href: link.href, className: "text-content-secondary hover:text-content-primary transition duration-150 ease-in-out", children: link.name }),
1089
+ index !== links.length - 1 && /* @__PURE__ */ jsx("svg", { className: "flex-shrink-0 mx-2 h-5 w-5 text-content-placeholder", viewBox: "0 0 20 20", fill: "currentColor", children: /* @__PURE__ */ jsx(
1090
1090
  "path",
1091
1091
  {
1092
1092
  fillRule: "evenodd",
@@ -1192,10 +1192,10 @@ function ButtonItem({
1192
1192
  "div",
1193
1193
  {
1194
1194
  className: classNames({
1195
- "p-3 rounded-xl mx-auto text-charcoal-700/70 dark:text-charcoal-50/50 flex justify-center cursor-pointer": true,
1195
+ "p-3 rounded-xl mx-auto flex justify-center cursor-pointer": true,
1196
1196
  "w-full": direction === "vertical",
1197
1197
  "w-full overflow-hidden": direction === "horizontal",
1198
- "!text-charcoal-700 dark:!text-primary-500 bg-white/50 dark:bg-charcoal-800/90 dark:backdrop-filter dark:backdrop-blur-sm border border-white lg:border-transparent dark:border-charcoal-700 shadow-xs dark:shadow-none": active,
1198
+ "text-content-link bg-white/50 dark:bg-charcoal-800/90 dark:backdrop-filter dark:backdrop-blur-sm border border-white lg:border-transparent dark:border-charcoal-700 shadow-xs dark:shadow-none": active,
1199
1199
  ...classNameObject(className)
1200
1200
  }),
1201
1201
  children: /* @__PURE__ */ jsxs(
@@ -1318,7 +1318,7 @@ function H1({ className, children }) {
1318
1318
  "h1",
1319
1319
  {
1320
1320
  className: classNames({
1321
- "text-lg sm:text-xl font-title text-primary-500 font-semibold": true,
1321
+ "text-lg sm:text-3xl font-title font-semibold": true,
1322
1322
  ...classNameObject(className)
1323
1323
  }),
1324
1324
  children
@@ -1420,7 +1420,7 @@ function Th({ condensed, className, children, sticky, ...opts }) {
1420
1420
  className: classNames({
1421
1421
  ...classNameObject(className),
1422
1422
  "sticky z-10 top-0": !!sticky,
1423
- "border-b border-gray-200 bg-gray-50 text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider": true,
1423
+ "border-b border-gray-200 bg-gray-50 text-left text-xs leading-4 font-medium text-content-secondary uppercase tracking-wider": true,
1424
1424
  "px-6": !condensed,
1425
1425
  "py-4": !condensed && (!className || !className.includes("py-")),
1426
1426
  "px-2.5": !!condensed,
@@ -1549,7 +1549,7 @@ var Input = forwardRef((props, ref) => {
1549
1549
  id,
1550
1550
  className: classNames({
1551
1551
  ...classNameObject(className),
1552
- "px-3 group form-input placeholder-gray-300 dark:placeholder-charcoal-400 focus:outline-none block transition ease-in-out duration-150 text-black dark:text-charcoal-100 dark:bg-charcoal-800 shadow-sm focus:dark:text-primary-500 focus:dark:border-primary-500 focus:dark:ring-primary-500": true,
1552
+ "text-content-primary px-3 group form-input placeholder-gray-300 dark:placeholder-charcoal-400 focus:outline-none block transition ease-in-out duration-150 dark:bg-charcoal-800 shadow-sm focus:dark:text-content-link focus:dark:border-primary-500 focus:dark:ring-primary-500": true,
1553
1553
  "!text-white !border-charcoal-400 !placeholder-charcoal-400 focus:!text-primary-500 focus:!border-primary-500 focus:!ring-primary-500": !!darkMode,
1554
1554
  "h-11": !className || !className.includes("h-"),
1555
1555
  "text-sm": type !== "tel",
@@ -1565,7 +1565,7 @@ var Input = forwardRef((props, ref) => {
1565
1565
  "w-full": type !== "radio" && (!className || className.includes("w-full") || !className.includes("w-")),
1566
1566
  "sm:leading-normal": !className || !className.includes("leading-"),
1567
1567
  "cursor-pointer": type === "checkbox" || type === "button",
1568
- "text-black h-4 w-4": type === "radio",
1568
+ "h-4 w-4": type === "radio",
1569
1569
  "pr-10": type === "search"
1570
1570
  }),
1571
1571
  ...type === "button" ? { value: label } : {},
@@ -1614,7 +1614,7 @@ var Input = forwardRef((props, ref) => {
1614
1614
  className: classNames({
1615
1615
  "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none focus:outline-none active:outline-none": true,
1616
1616
  "!text-white": !!darkMode,
1617
- "text-gray-600": !focused,
1617
+ "text-content-secondary": !focused,
1618
1618
  "!text-primary-500": focused
1619
1619
  }),
1620
1620
  children: /* @__PURE__ */ jsx("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx(
@@ -1629,13 +1629,14 @@ var Input = forwardRef((props, ref) => {
1629
1629
  )
1630
1630
  ] }),
1631
1631
  error && errorMessage && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-red-600", children: errorMessage }),
1632
- info != null && !error && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-gray-500", children: info })
1632
+ info != null && !error && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-content-secondary", children: info })
1633
1633
  ] });
1634
1634
  });
1635
1635
  Input.displayName = "Input";
1636
1636
  var Input_default = Input;
1637
1637
  function Label({
1638
1638
  className,
1639
+ active = false,
1639
1640
  error = false,
1640
1641
  htmlFor,
1641
1642
  info,
@@ -1649,8 +1650,8 @@ function Label({
1649
1650
  {
1650
1651
  htmlFor,
1651
1652
  className: classNames({
1652
- "block text-sm font-medium mb-1.5 text-black dark:text-white": true,
1653
- "text-black dark:text-white/80": !error,
1653
+ "block text-sm font-medium mb-1.5": true,
1654
+ "text-content-link": active,
1654
1655
  "text-red-600": error,
1655
1656
  ...classNameObject(className)
1656
1657
  }),
@@ -1664,7 +1665,7 @@ function Label({
1664
1665
  "span",
1665
1666
  {
1666
1667
  className: classNames({
1667
- "text-sm leading-5 text-black mb-1.5": true,
1668
+ "text-sm leading-5 mb-1.5": true,
1668
1669
  "text-red-600": error
1669
1670
  }),
1670
1671
  children: info
@@ -1707,7 +1708,7 @@ var Select = forwardRef((props, ref) => {
1707
1708
  ) }),
1708
1709
  loading && /* @__PURE__ */ jsx("span", { className: "inline-flex relative w-6 loading" }),
1709
1710
  error && errorMessage && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-red-600", children: errorMessage }),
1710
- info != null && !error && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-gray-500", children: info })
1711
+ info != null && !error && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-content-secondary", children: info })
1711
1712
  ] });
1712
1713
  });
1713
1714
  Select.displayName = "Select";
@@ -1779,7 +1780,7 @@ var Textarea = forwardRef((props, ref) => {
1779
1780
  placeholder,
1780
1781
  className: classNames({
1781
1782
  ...classNameObject(className),
1782
- "form-input border block w-full placeholder-gray-300 dark:placeholder-white/50 dark:focus:placeholder-charcoal-400 text-sm transition ease-in-out duration-150 px-3 py-2 border-gray-200 dark:border-charcoal-700 text-black dark:text-charcoal-100 dark:bg-charcoal-800 rounded-lg": true,
1783
+ "form-input border block w-full placeholder-gray-300 dark:placeholder-white/50 dark:focus:placeholder-charcoal-400 text-sm transition ease-in-out duration-150 px-3 py-2 border-gray-200 dark:border-charcoal-700 dark:bg-charcoal-800 rounded-lg": true,
1783
1784
  "focus:ring-white dark:focus:ring-1 dark:focus:border-primary-600 dark:focus:ring-primary-500": !error,
1784
1785
  "focus:outline-none focus:ring-0 focus:ring-offset-0 dark:focus:border-primary-500": true,
1785
1786
  "border-red-300 text-red-900 placeholder-red-300 dark:placeholder-red-600 focus:border-red-300 focus:shadow-outline-red": error
@@ -1803,7 +1804,7 @@ var Textarea = forwardRef((props, ref) => {
1803
1804
  ) }) })
1804
1805
  ] }),
1805
1806
  error && errorMessage && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-red-600", children: errorMessage }),
1806
- info != null && !error && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-gray-500", children: info })
1807
+ info != null && !error && /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm text-content-secondary", children: info })
1807
1808
  ] });
1808
1809
  });
1809
1810
  Textarea.displayName = "Textarea";
@@ -1915,8 +1916,8 @@ function NoData({ className }) {
1915
1916
  }
1916
1917
  ),
1917
1918
  /* @__PURE__ */ jsxs("div", { className: "max-w-[90%] flex flex-col text-center", children: [
1918
- /* @__PURE__ */ jsx("h4", { className: "text-6 font-medium text-gray-900 mt-3 dark:text-white/50", children: "It's empty." }),
1919
- /* @__PURE__ */ jsx("p", { className: "text-4 text-gray-700 dark:text-white/60", children: "Nothing to do for now." })
1919
+ /* @__PURE__ */ jsx("h4", { className: "text-6 font-medium text-content-title mt-3 /50", children: "It's empty." }),
1920
+ /* @__PURE__ */ jsx("p", { className: "text-4", children: "Nothing to do for now." })
1920
1921
  ] })
1921
1922
  ] });
1922
1923
  }
@@ -2059,7 +2060,7 @@ function useThemeContext() {
2059
2060
  }
2060
2061
  function ThemeToggle() {
2061
2062
  const { theme, handleToggleTheme } = useThemeContext();
2062
- return /* @__PURE__ */ jsxs("div", { className: "text-charcoal-700 dark:text-white z-30 flex space-x-1.5 items-center", children: [
2063
+ return /* @__PURE__ */ jsxs("div", { className: "text-content-primary z-30 flex space-x-1.5 items-center", children: [
2063
2064
  /* @__PURE__ */ jsx(
2064
2065
  "div",
2065
2066
  {
@@ -2174,7 +2175,7 @@ function PopoverCard({
2174
2175
  !!description && /* @__PURE__ */ jsx("p", { className: "px-3 pb-1 opacity-70", children: description }),
2175
2176
  actions && actions.length > 0 && /* @__PURE__ */ jsx("div", { className: "space-y-1.5 w-full", children: actions.filter((action) => (action.items || []).length > 0).map((action, actionIndex) => /* @__PURE__ */ jsxs("div", { children: [
2176
2177
  actionIndex > 0 && /* @__PURE__ */ jsx("div", { className: "w-full h-px bg-gray-100 dark:bg-charcoal-800 mb-3" }),
2177
- action.section && /* @__PURE__ */ jsx("p", { className: "px-3 text-xxs sm:text-xs uppercase text-gray-500 dark:text-white dark:hover", children: action.section }),
2178
+ action.section && /* @__PURE__ */ jsx("p", { className: "px-3 text-xxs sm:text-xs uppercase text-content-secondary dark:hover", children: action.section }),
2178
2179
  /* @__PURE__ */ jsx(
2179
2180
  "div",
2180
2181
  {
@@ -2184,7 +2185,7 @@ function PopoverCard({
2184
2185
  children: (action.items || []).map((item) => /* @__PURE__ */ jsx(
2185
2186
  "div",
2186
2187
  {
2187
- className: "text-sm sm:text-base px-3 py-1.5 text-charcoal-700 dark:text-charcoal-300 hover:text-gray-900 hover:bg-gray-200 hover:dark:text-charcoal-200 hover:dark:bg-charcoal-700 cursor-pointer whitespace-normal",
2188
+ className: "text-sm sm:text-base px-3 py-1.5 text-content-primary hover:text-content-title hover:bg-gray-200 hover:dark:bg-charcoal-700 cursor-pointer whitespace-normal",
2188
2189
  onClick: () => handleMenuClick(item.action || item.onClick),
2189
2190
  children: item.label
2190
2191
  },
@@ -2233,24 +2234,24 @@ function PopoverCard({
2233
2234
  }),
2234
2235
  children: [
2235
2236
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-4 py-3", children: [
2236
- /* @__PURE__ */ jsx("h3", { className: "font-semibold text-gray-900 dark:text-white", children: "Menu" }),
2237
+ /* @__PURE__ */ jsx("h3", { className: "font-semibold text-content-title ", children: "Menu" }),
2237
2238
  /* @__PURE__ */ jsx(
2238
2239
  "div",
2239
2240
  {
2240
2241
  onClick: handleCloseMenu,
2241
- className: "p-1 -mr-1 text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-charcoal-700 rounded-full",
2242
+ className: "p-1 -mr-1 text-content-secondary hover:bg-gray-100 dark:hover:bg-charcoal-700 rounded-full",
2242
2243
  children: /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "h-6 w-6", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) })
2243
2244
  }
2244
2245
  )
2245
2246
  ] }),
2246
2247
  /* @__PURE__ */ jsxs("div", { className: "px-4 pb-6 max-h-[70vh] overflow-y-auto", children: [
2247
- !!description && /* @__PURE__ */ jsx("p", { className: "mb-4 text-sm text-gray-500 dark:text-gray-400", children: description }),
2248
+ !!description && /* @__PURE__ */ jsx("p", { className: "mb-4 text-sm text-content-secondary ", children: description }),
2248
2249
  /* @__PURE__ */ jsx("div", { className: "space-y-4", children: actions && actions.filter((action) => (action.items || []).length > 0).map((action, actionIndex) => /* @__PURE__ */ jsxs("div", { children: [
2249
- action.section && /* @__PURE__ */ jsx("p", { className: "text-xs font-medium uppercase text-gray-500 dark:text-gray-400 mb-2", children: action.section }),
2250
+ action.section && /* @__PURE__ */ jsx("p", { className: "text-xs font-medium uppercase text-content-secondary mb-2", children: action.section }),
2250
2251
  /* @__PURE__ */ jsx("div", { className: "space-y-1", children: (action.items || []).map((item) => /* @__PURE__ */ jsx(
2251
2252
  "div",
2252
2253
  {
2253
- className: "py-1.5 px-2 -mx-2 flex items-center text-base text-gray-900 dark:text-gray-200 active:bg-gray-50 dark:active:bg-charcoal-700 rounded-lg cursor-pointer",
2254
+ className: "py-1.5 px-2 -mx-2 flex items-center text-base text-content-title active:bg-gray-50 dark:active:bg-charcoal-700 rounded-lg cursor-pointer",
2254
2255
  onClick: () => handleMenuClick(item.action || item.onClick),
2255
2256
  children: item.label
2256
2257
  },
@@ -2980,7 +2981,7 @@ function ExcelTable({
2980
2981
  "th",
2981
2982
  {
2982
2983
  className: classNames({
2983
- "border-b border-r border-gray-200 dark:border-charcoal-600 bg-gray-50 dark:bg-charcoal-800 px-3 py-2 text-xs font-semibold text-gray-500": true,
2984
+ "border-b border-r border-gray-200 dark:border-charcoal-600 bg-gray-50 dark:bg-charcoal-800 px-3 py-2 text-xs font-semibold text-content-secondary": true,
2984
2985
  "w-auto": !col.width,
2985
2986
  [col.width || ""]: !!col.width,
2986
2987
  "text-left": !col.align,
@@ -3015,7 +3016,7 @@ function ExcelTable({
3015
3016
  "data-row": rowIdx,
3016
3017
  "data-col": colIdx,
3017
3018
  placeholder: typeof placeholder === "function" ? placeholder(rowIdx) : placeholder,
3018
- className: "excel-table-textarea w-full min-h-[38px] px-3 py-2 border-none focus:ring-2 focus:ring-primary-500 focus:ring-inset bg-transparent outline-none text-sm text-gray-900 dark:text-white placeholder-gray-400 resize-none overflow-hidden leading-normal block",
3019
+ className: "excel-table-textarea w-full min-h-[38px] px-3 py-2 border-none focus:ring-2 focus:ring-primary-500 focus:ring-inset bg-transparent outline-none text-sm text-content-title placeholder-gray-400 resize-none overflow-hidden leading-normal block",
3019
3020
  style: { height: "auto" }
3020
3021
  }
3021
3022
  ) : col.type === "checkbox" ? /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center h-[38px]", children: /* @__PURE__ */ jsx(
@@ -3041,7 +3042,7 @@ function ExcelTable({
3041
3042
  "data-row": rowIdx,
3042
3043
  "data-col": colIdx,
3043
3044
  className: classNames({
3044
- "w-full h-full min-h-[38px] px-3 py-1 border-none focus:ring-2 focus:ring-primary-500 focus:ring-inset bg-transparent outline-none text-sm text-gray-900 dark:text-white": true,
3045
+ "w-full h-full min-h-[38px] px-3 py-1 border-none focus:ring-2 focus:ring-primary-500 focus:ring-inset bg-transparent outline-none text-sm text-content-title ": true,
3045
3046
  "text-left": col.align !== "center" && col.align !== "right",
3046
3047
  "text-center": col.align === "center",
3047
3048
  "text-right": col.align === "right"
@@ -3061,7 +3062,7 @@ function ExcelTable({
3061
3062
  "data-row": rowIdx,
3062
3063
  "data-col": columns.length,
3063
3064
  tabIndex: 0,
3064
- className: "cursor-pointer text-gray-300 hover:text-red-500 w-full h-[38px] flex items-center justify-center transition-colors focus:ring-2 focus:ring-inset focus:ring-primary-500 outline-none",
3065
+ className: "cursor-pointer text-content-disabled hover:text-red-500 w-full h-[38px] flex items-center justify-center transition-colors focus:ring-2 focus:ring-inset focus:ring-primary-500 outline-none",
3065
3066
  children: "\xD7"
3066
3067
  }
3067
3068
  ) })
@@ -3073,7 +3074,7 @@ function ExcelTable({
3073
3074
  onClick: onRowAdd,
3074
3075
  onKeyDown: (e) => handleCellNavigation(e, data.length, 0),
3075
3076
  tabIndex: 0,
3076
- className: "w-full cursor-pointer text-left px-3 py-2 text-gray-400 text-xs font-medium hover:text-primary-500 hover:bg-gray-50 dark:hover:bg-charcoal-800 transition-colors focus:ring-2 focus:ring-inset focus:ring-primary-500 outline-none",
3077
+ className: "w-full cursor-pointer text-left px-3 py-2 text-content-placeholder text-xs font-medium hover:text-primary-500 hover:bg-gray-50 dark:hover:bg-charcoal-800 transition-colors focus:ring-2 focus:ring-inset focus:ring-primary-500 outline-none",
3077
3078
  children: addRowLabel
3078
3079
  }
3079
3080
  ) }) })
@@ -3270,7 +3271,7 @@ function Coverflow({ images = [], onClose }) {
3270
3271
  ),
3271
3272
  (img.imageTitle || img.imageDescription) && /* @__PURE__ */ jsxs("div", { className: "absolute bottom-0 left-0 right-0 p-3 bg-gradient-to-t from-black/90 via-black/50 to-transparent text-white text-center pointer-events-none", children: [
3272
3273
  img.imageTitle && /* @__PURE__ */ jsx(H3, { className: "!text-base mb-1", children: img.imageTitle }),
3273
- img.imageDescription && /* @__PURE__ */ jsx("p", { className: "text-xs text-charcoal-200 max-w-2xl mx-auto", children: img.imageDescription })
3274
+ img.imageDescription && /* @__PURE__ */ jsx("p", { className: "text-xs text-content-disabled max-w-2xl mx-auto", children: img.imageDescription })
3274
3275
  ] })
3275
3276
  ] })
3276
3277
  },
@@ -3426,9 +3427,9 @@ function DataTable({
3426
3427
  "table",
3427
3428
  {
3428
3429
  className: classNames({
3429
- "w-full text-sm dark:text-charcoal-100 rounded-xl border-separate border-spacing-0": true,
3430
+ "w-full text-sm rounded-xl border-separate border-spacing-0": true,
3430
3431
  "text-charcoal-100": !!darkMode,
3431
- "text-charcoal-500": !darkMode
3432
+ "text-content-secondary": !darkMode
3432
3433
  }),
3433
3434
  children: [
3434
3435
  /* @__PURE__ */ jsxs("thead", { children: [
@@ -3685,7 +3686,7 @@ function DataGridHeader({ sort, onClick, opts, children }) {
3685
3686
  "!text-right": align === "right",
3686
3687
  "whitespace-nowrap": !!noWrap,
3687
3688
  "sticky top-0 z-10 dark:bg-charcoal-800": !!stickyHeader,
3688
- "bg-cream-50": !darkMode,
3689
+ "bg-white dark:bg-charcoal-800": !darkMode,
3689
3690
  "bg-charcoal-800": !!darkMode
3690
3691
  }),
3691
3692
  onClick,
@@ -3708,7 +3709,7 @@ function DataGridHeader({ sort, onClick, opts, children }) {
3708
3709
  "!text-left": align === "left",
3709
3710
  "whitespace-nowrap": !!noWrap,
3710
3711
  "sticky top-0 z-10 dark:bg-charcoal-800": !!stickyHeader,
3711
- "bg-cream-50": !darkMode,
3712
+ "bg-white dark:bg-charcoal-800": !darkMode,
3712
3713
  "bg-charcoal-800": !!darkMode
3713
3714
  }),
3714
3715
  children