@camox/ui 0.12.1 → 0.13.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.
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@ function AlertDialogOverlay({ className, ...props }: AlertDialogPrimitive.Backdr
|
|
|
21
21
|
<AlertDialogPrimitive.Backdrop
|
|
22
22
|
data-slot="alert-dialog-overlay"
|
|
23
23
|
className={cn(
|
|
24
|
-
"fixed inset-0 isolate z-50 bg-black/
|
|
24
|
+
"fixed inset-0 isolate z-50 bg-black/66 duration-100 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
|
|
25
25
|
className,
|
|
26
26
|
)}
|
|
27
27
|
{...props}
|
|
@@ -26,7 +26,7 @@ function DialogOverlay({ className, ...props }: DialogPrimitive.Backdrop.Props)
|
|
|
26
26
|
<DialogPrimitive.Backdrop
|
|
27
27
|
data-slot="dialog-overlay"
|
|
28
28
|
className={cn(
|
|
29
|
-
"fixed inset-0 isolate z-50 bg-black/
|
|
29
|
+
"fixed inset-0 isolate z-50 bg-black/66 duration-100 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
|
|
30
30
|
className,
|
|
31
31
|
)}
|
|
32
32
|
{...props}
|
package/src/components/sheet.tsx
CHANGED
|
@@ -26,7 +26,7 @@ function SheetOverlay({ className, ...props }: SheetPrimitive.Backdrop.Props) {
|
|
|
26
26
|
<SheetPrimitive.Backdrop
|
|
27
27
|
data-slot="sheet-overlay"
|
|
28
28
|
className={cn(
|
|
29
|
-
"fixed inset-0 z-50 bg-black/
|
|
29
|
+
"fixed inset-0 z-50 bg-black/66 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0",
|
|
30
30
|
className,
|
|
31
31
|
)}
|
|
32
32
|
{...props}
|
package/src/styles/globals.css
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
--secondary-foreground: theme(--color-zinc-900);
|
|
15
15
|
--muted: theme(--color-zinc-100);
|
|
16
16
|
--muted-foreground: theme(--color-zinc-500);
|
|
17
|
-
--accent: oklch(0.95 0.
|
|
18
|
-
--accent-foreground:
|
|
17
|
+
--accent: oklch(0.95 0.005 190);
|
|
18
|
+
--accent-foreground: oklch(0.2 0.01 190);
|
|
19
19
|
--destructive: theme(--color-red-600);
|
|
20
20
|
--destructive-foreground: theme(--color-red-600);
|
|
21
21
|
--border: theme(--color-zinc-200);
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
--secondary-foreground: theme(--color-zinc-50);
|
|
51
51
|
--muted: theme(--color-zinc-800);
|
|
52
52
|
--muted-foreground: theme(--color-zinc-400);
|
|
53
|
-
--accent: oklch(0.27 0.
|
|
54
|
-
--accent-foreground:
|
|
53
|
+
--accent: oklch(0.27 0.01 182);
|
|
54
|
+
--accent-foreground: oklch(0.97 0.01 182);
|
|
55
55
|
--destructive: theme(--color-red-400);
|
|
56
56
|
--destructive-foreground: theme(--color-red-500);
|
|
57
57
|
--border: oklch(1 0 0 / 10%);
|