@oneplatformdev/ui 0.1.10-6 → 0.1.10-8
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/Button/Button.js +4 -5
- package/Button/buttonVariants.d.ts.map +1 -1
- package/Button/buttonVariants.js +4 -3
- package/ButtonIcon/ButtonIcon.js +3 -4
- package/CHANGELOG.md +16 -0
- package/Sheet/Sheet.d.ts +1 -1
- package/Sidebar/Sidebar.js +10 -11
- package/Tooltip/TooltipRoot.d.ts +4 -4
- package/Tooltip/TooltipRoot.d.ts.map +1 -1
- package/Tooltip/TooltipRoot.js +52 -20
- package/package.json +5 -4
- package/src/styles.css +0 -136
package/Button/Button.js
CHANGED
@@ -3,22 +3,21 @@ import * as i from "react";
|
|
3
3
|
import { Slot as u } from "@radix-ui/react-slot";
|
4
4
|
import { cn as c } from "@oneplatformdev/utils";
|
5
5
|
import { buttonVariants as l } from "./buttonVariants.js";
|
6
|
-
import "../Tooltip/TooltipRoot.js";
|
7
|
-
import { Tooltip as d } from "../Tooltip/Tooltip.js";
|
6
|
+
import { TooltipRoot as d } from "../Tooltip/TooltipRoot.js";
|
8
7
|
const y = i.forwardRef(
|
9
|
-
({ disabled: o, className: a, variant: e, size:
|
8
|
+
({ disabled: o, className: a, variant: e, size: n, asChild: p = !1, title: t = "", tooltip: r, ...s }, f) => /* @__PURE__ */ m(
|
10
9
|
d,
|
11
10
|
{
|
12
11
|
open: o || !t && !r ? !1 : void 0,
|
13
12
|
message: r || t,
|
14
13
|
delay: 300,
|
15
14
|
children: /* @__PURE__ */ m(
|
16
|
-
|
15
|
+
p ? u : "button",
|
17
16
|
{
|
18
17
|
type: "button",
|
19
18
|
ref: f,
|
20
19
|
disabled: o,
|
21
|
-
className: c(l({ variant: e, size:
|
20
|
+
className: c(l({ variant: e, size: n, className: a })),
|
22
21
|
...s
|
23
22
|
}
|
24
23
|
)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"buttonVariants.d.ts","sourceRoot":"","sources":["../../src/Button/buttonVariants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;;;
|
1
|
+
{"version":3,"file":"buttonVariants.d.ts","sourceRoot":"","sources":["../../src/Button/buttonVariants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;;;8EAmC1B,CAAA"}
|
package/Button/buttonVariants.js
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
import { cva as e } from "class-variance-authority";
|
2
|
-
const
|
2
|
+
const t = e(
|
3
3
|
[
|
4
4
|
"inline-flex items-center justify-center gap-2",
|
5
5
|
"whitespace-nowrap rounded-lg text-sm font-medium",
|
6
6
|
"transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring",
|
7
7
|
"disabled:pointer-events-none disabled:opacity-50",
|
8
|
-
"[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"
|
8
|
+
"[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
9
|
+
"cursor-pointer"
|
9
10
|
],
|
10
11
|
{
|
11
12
|
variants: {
|
@@ -31,5 +32,5 @@ const r = e(
|
|
31
32
|
}
|
32
33
|
);
|
33
34
|
export {
|
34
|
-
|
35
|
+
t as buttonVariants
|
35
36
|
};
|
package/ButtonIcon/ButtonIcon.js
CHANGED
@@ -2,10 +2,9 @@ import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import * as f from "react";
|
3
3
|
import { cn as l } from "@oneplatformdev/utils";
|
4
4
|
import { buttonIconVariants as u } from "./buttonIconVariants.js";
|
5
|
-
import "../Tooltip/TooltipRoot.js";
|
6
|
-
import { Tooltip as d } from "../Tooltip/Tooltip.js";
|
5
|
+
import { TooltipRoot as d } from "../Tooltip/TooltipRoot.js";
|
7
6
|
const h = f.forwardRef(
|
8
|
-
({ disabled: o, className:
|
7
|
+
({ disabled: o, className: e, variant: m, color: a, size: p, rounded: s, title: t = "", tooltip: r, ...i }, c) => /* @__PURE__ */ n(
|
9
8
|
d,
|
10
9
|
{
|
11
10
|
open: o || !t && !r ? !1 : void 0,
|
@@ -14,7 +13,7 @@ const h = f.forwardRef(
|
|
14
13
|
children: /* @__PURE__ */ n(
|
15
14
|
"button",
|
16
15
|
{
|
17
|
-
className: l(u({ variant:
|
16
|
+
className: l(u({ variant: m, size: p, color: a, disabled: o, rounded: s, className: e })),
|
18
17
|
ref: c,
|
19
18
|
disabled: !!o,
|
20
19
|
...i
|
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
## 0.1.10-8 (2025-09-15)
|
2
|
+
|
3
|
+
### 🧱 Updated Dependencies
|
4
|
+
|
5
|
+
- Updated @oneplatformdev/utils to 0.1.1-58
|
6
|
+
- Updated @oneplatformdev/hooks to 0.1.0-44
|
7
|
+
- Updated @oneplatformdev/tokens to 0.0.1-31
|
8
|
+
|
9
|
+
## 0.1.10-7 (2025-09-15)
|
10
|
+
|
11
|
+
### 🧱 Updated Dependencies
|
12
|
+
|
13
|
+
- Updated @oneplatformdev/utils to 0.1.1-57
|
14
|
+
- Updated @oneplatformdev/hooks to 0.1.0-43
|
15
|
+
- Updated @oneplatformdev/tokens to 0.0.1-30
|
16
|
+
|
1
17
|
## 0.1.10-6 (2025-09-15)
|
2
18
|
|
3
19
|
### 🧱 Updated Dependencies
|
package/Sheet/Sheet.d.ts
CHANGED
@@ -7,7 +7,7 @@ declare const SheetClose: React.ForwardRefExoticComponent<SheetPrimitive.DialogC
|
|
7
7
|
declare const SheetPortal: React.FC<SheetPrimitive.DialogPortalProps>;
|
8
8
|
declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
9
9
|
declare const sheetVariants: (props?: ({
|
10
|
-
side?: "top" | "
|
10
|
+
side?: "top" | "bottom" | "right" | "left" | null | undefined;
|
11
11
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
12
12
|
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
13
13
|
slotProps?: {
|
package/Sidebar/Sidebar.js
CHANGED
@@ -10,12 +10,11 @@ import "../Button/buttonVariants.js";
|
|
10
10
|
import { Input as E } from "../Input/Input.js";
|
11
11
|
import { Separator as T } from "../Separator/Separator.js";
|
12
12
|
import { Sheet as A, SheetContent as D } from "../Sheet/Sheet.js";
|
13
|
-
import { Skeleton as
|
14
|
-
import { TooltipProvider as O,
|
15
|
-
|
16
|
-
const L = "sidebar:state", j = 3600 * 24 * 7, P = "16rem", $ = "18rem", V = "3rem", W = "b", R = i.createContext(null);
|
13
|
+
import { Skeleton as R } from "../Skeleton/Skeleton.js";
|
14
|
+
import { TooltipProvider as O, TooltipRoot as G, TooltipTrigger as H, TooltipContent as K } from "../Tooltip/TooltipRoot.js";
|
15
|
+
const L = "sidebar:state", j = 3600 * 24 * 7, P = "16rem", $ = "18rem", V = "3rem", W = "b", M = i.createContext(null);
|
17
16
|
function N() {
|
18
|
-
const a = i.useContext(
|
17
|
+
const a = i.useContext(M);
|
19
18
|
if (!a)
|
20
19
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
21
20
|
return a;
|
@@ -55,7 +54,7 @@ const q = i.forwardRef(
|
|
55
54
|
}),
|
56
55
|
[y, g, x, c, p, u, w]
|
57
56
|
);
|
58
|
-
return /* @__PURE__ */ r(
|
57
|
+
return /* @__PURE__ */ r(M.Provider, { value: k, children: /* @__PURE__ */ r(O, { delayDuration: 0, children: /* @__PURE__ */ r(
|
59
58
|
"div",
|
60
59
|
{
|
61
60
|
style: {
|
@@ -384,10 +383,10 @@ const se = _(
|
|
384
383
|
);
|
385
384
|
return n ? (typeof n == "string" && (n = {
|
386
385
|
children: n
|
387
|
-
}), /* @__PURE__ */ S(
|
388
|
-
/* @__PURE__ */ r(
|
386
|
+
}), /* @__PURE__ */ S(G, { children: [
|
387
|
+
/* @__PURE__ */ r(H, { asChild: !0, children: v }),
|
389
388
|
/* @__PURE__ */ r(
|
390
|
-
|
389
|
+
K,
|
391
390
|
{
|
392
391
|
side: "right",
|
393
392
|
align: "center",
|
@@ -448,14 +447,14 @@ const be = i.forwardRef(({ className: a, showIcon: e = !1, ...t }, o) => {
|
|
448
447
|
...t,
|
449
448
|
children: [
|
450
449
|
e && /* @__PURE__ */ r(
|
451
|
-
|
450
|
+
R,
|
452
451
|
{
|
453
452
|
className: "size-4 rounded-md",
|
454
453
|
"data-sidebar": "menu-skeleton-icon"
|
455
454
|
}
|
456
455
|
),
|
457
456
|
/* @__PURE__ */ r(
|
458
|
-
|
457
|
+
R,
|
459
458
|
{
|
460
459
|
className: "h-4 flex-1 max-w-(--skeleton-width)",
|
461
460
|
"data-sidebar": "menu-skeleton-text",
|
package/Tooltip/TooltipRoot.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
3
|
-
declare
|
4
|
-
declare
|
5
|
-
declare
|
6
|
-
declare
|
3
|
+
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
|
4
|
+
declare function TooltipRoot({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
5
|
+
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
6
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
7
7
|
export { TooltipRoot, TooltipTrigger, TooltipContent, TooltipProvider };
|
8
8
|
//# sourceMappingURL=TooltipRoot.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TooltipRoot.d.ts","sourceRoot":"","sources":["../../src/Tooltip/TooltipRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,
|
1
|
+
{"version":3,"file":"TooltipRoot.d.ts","sourceRoot":"","sources":["../../src/Tooltip/TooltipRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,iBAAS,eAAe,CAAC,EACE,aAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,2CAQjF;AAED,iBAAS,WAAW,CAAC,EACF,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAMrE;AAED,iBAAS,cAAc,CAAC,EACE,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAE/E;AAED,iBAAS,cAAc,CAAC,EACE,SAAS,EACT,UAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAiB/E;AAED,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
|
package/Tooltip/TooltipRoot.js
CHANGED
@@ -1,23 +1,55 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import * as d from "react";
|
1
|
+
import { jsx as i, jsxs as n } from "react/jsx-runtime";
|
3
2
|
import * as o from "@radix-ui/react-tooltip";
|
4
|
-
import { cn as
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
)
|
17
|
-
|
3
|
+
import { cn as d } from "@oneplatformdev/utils";
|
4
|
+
function l({
|
5
|
+
delayDuration: t = 0,
|
6
|
+
...r
|
7
|
+
}) {
|
8
|
+
return /* @__PURE__ */ i(
|
9
|
+
o.Provider,
|
10
|
+
{
|
11
|
+
"data-slot": "tooltip-provider",
|
12
|
+
delayDuration: t,
|
13
|
+
...r
|
14
|
+
}
|
15
|
+
);
|
16
|
+
}
|
17
|
+
function p({
|
18
|
+
...t
|
19
|
+
}) {
|
20
|
+
return /* @__PURE__ */ i(l, { children: /* @__PURE__ */ i(o.Root, { "data-slot": "tooltip", ...t }) });
|
21
|
+
}
|
22
|
+
function f({
|
23
|
+
...t
|
24
|
+
}) {
|
25
|
+
return /* @__PURE__ */ i(o.Trigger, { "data-slot": "tooltip-trigger", ...t });
|
26
|
+
}
|
27
|
+
function c({
|
28
|
+
className: t,
|
29
|
+
sideOffset: r = 0,
|
30
|
+
children: e,
|
31
|
+
...a
|
32
|
+
}) {
|
33
|
+
return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ n(
|
34
|
+
o.Content,
|
35
|
+
{
|
36
|
+
"data-slot": "tooltip-content",
|
37
|
+
sideOffset: r,
|
38
|
+
className: d(
|
39
|
+
"bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
|
40
|
+
t
|
41
|
+
),
|
42
|
+
...a,
|
43
|
+
children: [
|
44
|
+
e,
|
45
|
+
/* @__PURE__ */ i(o.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
|
46
|
+
]
|
47
|
+
}
|
48
|
+
) });
|
49
|
+
}
|
18
50
|
export {
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
51
|
+
c as TooltipContent,
|
52
|
+
l as TooltipProvider,
|
53
|
+
p as TooltipRoot,
|
54
|
+
f as TooltipTrigger
|
23
55
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@oneplatformdev/ui",
|
3
|
-
"version": "0.1.10-
|
3
|
+
"version": "0.1.10-8",
|
4
4
|
"description": "React hook library",
|
5
5
|
"author": "One Platform Development Team",
|
6
6
|
"keywords": [
|
@@ -68,6 +68,7 @@
|
|
68
68
|
"@tailwindcss/vite": "^4.1.13"
|
69
69
|
},
|
70
70
|
"dependencies": {
|
71
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
71
72
|
"@radix-ui/react-accordion": "^1.2.12",
|
72
73
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
73
74
|
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
@@ -106,8 +107,8 @@
|
|
106
107
|
"sonner": "^2.0.7",
|
107
108
|
"vaul": "^1.1.2",
|
108
109
|
"zod": "^4.1.8",
|
109
|
-
"@oneplatformdev/
|
110
|
-
"@oneplatformdev/
|
111
|
-
"@oneplatformdev/
|
110
|
+
"@oneplatformdev/tokens": "^0.0.1-31",
|
111
|
+
"@oneplatformdev/utils": "^0.1.1-58",
|
112
|
+
"@oneplatformdev/hooks": "^0.1.0-44"
|
112
113
|
}
|
113
114
|
}
|
package/src/styles.css
DELETED
@@ -1,136 +0,0 @@
|
|
1
|
-
@import '@oneplatformdev/tokens/tokens.css';
|
2
|
-
|
3
|
-
@import "tailwindcss";
|
4
|
-
@import "tw-animate-css";
|
5
|
-
|
6
|
-
@custom-variant dark (&:is(.dark *));
|
7
|
-
|
8
|
-
@utility container {
|
9
|
-
margin-inline: auto;
|
10
|
-
padding-inline: 2rem;
|
11
|
-
@media (width >= --theme(--breakpoint-sm)) {
|
12
|
-
max-width: none;
|
13
|
-
}
|
14
|
-
@media (width >= 1536px) {
|
15
|
-
max-width: 1536px;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
|
19
|
-
:root {
|
20
|
-
--background: oklch(1 0 0);
|
21
|
-
--foreground: oklch(0.145 0 0);
|
22
|
-
--card: oklch(1 0 0);
|
23
|
-
--card-foreground: oklch(0.145 0 0);
|
24
|
-
--popover: oklch(1 0 0);
|
25
|
-
--popover-foreground: oklch(0.145 0 0);
|
26
|
-
--primary: oklch(0.205 0 0);
|
27
|
-
--primary-foreground: oklch(0.985 0 0);
|
28
|
-
--secondary: oklch(0.97 0 0);
|
29
|
-
--secondary-foreground: oklch(0.205 0 0);
|
30
|
-
--muted: oklch(0.97 0 0);
|
31
|
-
--muted-foreground: oklch(0.556 0 0);
|
32
|
-
--accent: oklch(0.97 0 0);
|
33
|
-
--accent-foreground: oklch(0.205 0 0);
|
34
|
-
--destructive: oklch(0.577 0.245 27.325);
|
35
|
-
--destructive-foreground: oklch(0.577 0.245 27.325);
|
36
|
-
--border: oklch(0.922 0 0);
|
37
|
-
--input: oklch(0.922 0 0);
|
38
|
-
--ring: oklch(0.708 0 0);
|
39
|
-
--chart-1: oklch(0.646 0.222 41.116);
|
40
|
-
--chart-2: oklch(0.6 0.118 184.704);
|
41
|
-
--chart-3: oklch(0.398 0.07 227.392);
|
42
|
-
--chart-4: oklch(0.828 0.189 84.429);
|
43
|
-
--chart-5: oklch(0.769 0.188 70.08);
|
44
|
-
--radius: 0.625rem;
|
45
|
-
--sidebar: oklch(0.985 0 0);
|
46
|
-
--sidebar-foreground: oklch(0.145 0 0);
|
47
|
-
--sidebar-primary: oklch(0.205 0 0);
|
48
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
49
|
-
--sidebar-accent: oklch(0.97 0 0);
|
50
|
-
--sidebar-accent-foreground: oklch(0.205 0 0);
|
51
|
-
--sidebar-border: oklch(0.922 0 0);
|
52
|
-
--sidebar-ring: oklch(0.708 0 0);
|
53
|
-
}
|
54
|
-
|
55
|
-
.dark {
|
56
|
-
--background: oklch(0.145 0 0);
|
57
|
-
--foreground: oklch(0.985 0 0);
|
58
|
-
--card: oklch(0.145 0 0);
|
59
|
-
--card-foreground: oklch(0.985 0 0);
|
60
|
-
--popover: oklch(0.145 0 0);
|
61
|
-
--popover-foreground: oklch(0.985 0 0);
|
62
|
-
--primary: oklch(0.985 0 0);
|
63
|
-
--primary-foreground: oklch(0.205 0 0);
|
64
|
-
--secondary: oklch(0.269 0 0);
|
65
|
-
--secondary-foreground: oklch(0.985 0 0);
|
66
|
-
--muted: oklch(0.269 0 0);
|
67
|
-
--muted-foreground: oklch(0.708 0 0);
|
68
|
-
--accent: oklch(0.269 0 0);
|
69
|
-
--accent-foreground: oklch(0.985 0 0);
|
70
|
-
--destructive: oklch(0.396 0.141 25.723);
|
71
|
-
--destructive-foreground: oklch(0.637 0.237 25.331);
|
72
|
-
--border: oklch(0.269 0 0);
|
73
|
-
--input: oklch(0.269 0 0);
|
74
|
-
--ring: oklch(0.439 0 0);
|
75
|
-
--chart-1: oklch(0.488 0.243 264.376);
|
76
|
-
--chart-2: oklch(0.696 0.17 162.48);
|
77
|
-
--chart-3: oklch(0.769 0.188 70.08);
|
78
|
-
--chart-4: oklch(0.627 0.265 303.9);
|
79
|
-
--chart-5: oklch(0.645 0.246 16.439);
|
80
|
-
--sidebar: oklch(0.205 0 0);
|
81
|
-
--sidebar-foreground: oklch(0.985 0 0);
|
82
|
-
--sidebar-primary: oklch(0.488 0.243 264.376);
|
83
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
84
|
-
--sidebar-accent: oklch(0.269 0 0);
|
85
|
-
--sidebar-accent-foreground: oklch(0.985 0 0);
|
86
|
-
--sidebar-border: oklch(0.269 0 0);
|
87
|
-
--sidebar-ring: oklch(0.439 0 0);
|
88
|
-
}
|
89
|
-
|
90
|
-
@theme inline {
|
91
|
-
--color-background: var(--background);
|
92
|
-
--color-foreground: var(--foreground);
|
93
|
-
--color-card: var(--card);
|
94
|
-
--color-card-foreground: var(--card-foreground);
|
95
|
-
--color-popover: var(--popover);
|
96
|
-
--color-popover-foreground: var(--popover-foreground);
|
97
|
-
--color-primary: var(--primary);
|
98
|
-
--color-primary-foreground: var(--primary-foreground);
|
99
|
-
--color-secondary: var(--secondary);
|
100
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
101
|
-
--color-muted: var(--muted);
|
102
|
-
--color-muted-foreground: var(--muted-foreground);
|
103
|
-
--color-accent: var(--accent);
|
104
|
-
--color-accent-foreground: var(--accent-foreground);
|
105
|
-
--color-destructive: var(--destructive);
|
106
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
107
|
-
--color-border: var(--border);
|
108
|
-
--color-input: var(--input);
|
109
|
-
--color-ring: var(--ring);
|
110
|
-
--color-chart-1: var(--chart-1);
|
111
|
-
--color-chart-2: var(--chart-2);
|
112
|
-
--color-chart-3: var(--chart-3);
|
113
|
-
--color-chart-4: var(--chart-4);
|
114
|
-
--color-chart-5: var(--chart-5);
|
115
|
-
--radius-sm: calc(var(--radius) - 4px);
|
116
|
-
--radius-md: calc(var(--radius) - 2px);
|
117
|
-
--radius-lg: var(--radius);
|
118
|
-
--radius-xl: calc(var(--radius) + 4px);
|
119
|
-
--color-sidebar: var(--sidebar);
|
120
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
121
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
122
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
123
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
124
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
125
|
-
--color-sidebar-border: var(--sidebar-border);
|
126
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
127
|
-
}
|
128
|
-
|
129
|
-
@layer base {
|
130
|
-
* {
|
131
|
-
@apply border-border outline-ring/50;
|
132
|
-
}
|
133
|
-
body {
|
134
|
-
@apply bg-background text-foreground;
|
135
|
-
}
|
136
|
-
}
|