@camox/ui 0.12.1 → 0.14.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camox/ui",
3
- "version": "0.12.1",
3
+ "version": "0.14.0",
4
4
  "files": [
5
5
  "src"
6
6
  ],
@@ -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/50 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
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/50 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
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}
@@ -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/50 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",
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}
@@ -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.01 190);
18
- --accent-foreground: theme(--color-slate-900);
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.02 182);
54
- --accent-foreground: theme(--color-slate-50);
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%);
@@ -119,7 +119,7 @@
119
119
  body {
120
120
  @apply bg-background text-foreground m-0;
121
121
  font-family:
122
- "Lato",
122
+ "Inter",
123
123
  -apple-system,
124
124
  BlinkMacSystemFont,
125
125
  "Segoe UI",