@fileverse/ui 5.0.1-sepia-2 → 5.0.1-sepia-3

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.css CHANGED
@@ -645,7 +645,7 @@ video {
645
645
  --color-utility-overlay: 0, 0%, 0%, 0.72; /* Black 72% */
646
646
  }
647
647
 
648
- .sepia {
648
+ .theme-sepia {
649
649
  /* Button */
650
650
  --color-button-default: 28, 16%, 21%, 1; /* #3E352D */
651
651
  --color-button-default-hover: 29, 16%, 26%, 1; /* #4D4238 */
@@ -2665,10 +2665,6 @@ video {
2665
2665
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
2666
2666
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2667
2667
  }
2668
- .sepia {
2669
- --tw-sepia: sepia(100%);
2670
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2671
- }
2672
2668
  .filter {
2673
2669
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2674
2670
  }
@@ -907,7 +907,7 @@ export declare interface TextFieldProps extends React_2.InputHTMLAttributes<HTML
907
907
  icon?: LucideIconProps["name"];
908
908
  }
909
909
 
910
- declare type Theme = "light" | "dark" | "sepia";
910
+ declare type Theme = "light" | "dark" | "theme-sepia";
911
911
 
912
912
  export declare const ThemeProvider: ({ children, defaultTheme, }: ThemeProviderProps) => JSX_2.Element;
913
913
 
package/dist/index.es.js CHANGED
@@ -66226,10 +66226,10 @@ const wNe = ({
66226
66226
  const [n, a] = fe(() => localStorage.getItem("theme") || t);
66227
66227
  Le(() => {
66228
66228
  const s = window.document.documentElement;
66229
- s.classList.remove("light", "dark", "sepia"), s.classList.add(n), localStorage.setItem("theme", n);
66229
+ s.classList.remove("light", "dark", "theme-sepia"), s.classList.add(n), localStorage.setItem("theme", n);
66230
66230
  }, [n]);
66231
66231
  const o = Ve(() => {
66232
- a((s) => s === "light" ? "dark" : s === "dark" ? "sepia" : "light");
66232
+ a((s) => s === "light" ? "dark" : s === "dark" ? "theme-sepia" : "light");
66233
66233
  }, []), r = Xe(
66234
66234
  () => ({ theme: n, setTheme: a, toggleTheme: o }),
66235
66235
  [n, o]
@@ -66242,7 +66242,7 @@ const wNe = ({
66242
66242
  }, Pi = [
66243
66243
  { value: "light", label: "Light", icon: "Sun" },
66244
66244
  { value: "dark", label: "Dark", icon: "Moon" },
66245
- { value: "sepia", label: "Sepia", icon: "BookOpen" }
66245
+ { value: "theme-sepia", label: "Sepia", icon: "BookOpen" }
66246
66246
  ], xNe = () => {
66247
66247
  const { theme: e, setTheme: t } = Hxe(), n = Pi.find((a) => a.value === e) || Pi[0];
66248
66248
  return /* @__PURE__ */ f.jsx(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse/ui",
3
- "version": "5.0.1-sepia-2",
3
+ "version": "5.0.1-sepia-3",
4
4
  "files": [
5
5
  "/dist"
6
6
  ],