@arcfusionz/arc-primitive-ui 0.2.17 → 0.2.18
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.
|
@@ -6,7 +6,7 @@ import { Button } from "@base-ui/react/button";
|
|
|
6
6
|
const baseClasses = "relative inline-flex items-center justify-center whitespace-nowrap select-none rounded-md font-sans font-semibold transition-colors duration-150 cursor-pointer focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50";
|
|
7
7
|
const variantClasses = {
|
|
8
8
|
primary: "bg-primary text-primary-foreground hover:bg-primary-700 active:bg-primary-800",
|
|
9
|
-
secondary: "bg-secondary text-secondary-foreground hover:bg-primary-
|
|
9
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-primary-50 active:bg-primary-200",
|
|
10
10
|
outline: "border border-border bg-transparent text-foreground hover:bg-muted active:bg-slate-200",
|
|
11
11
|
ghost: "bg-transparent text-primary hover:bg-primary-50 active:bg-primary-100",
|
|
12
12
|
destructive: "bg-destructive text-destructive-foreground hover:bg-error-700 active:bg-error-800",
|
package/package.json
CHANGED
package/src/styles/theme.css
CHANGED
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
--color-primary: var(--color-primary-600);
|
|
343
343
|
--color-primary-foreground: #ffffff;
|
|
344
344
|
|
|
345
|
-
--color-secondary: var(--color-primary-
|
|
345
|
+
--color-secondary: var(--color-primary-100);
|
|
346
346
|
--color-secondary-foreground: var(--color-navy-950);
|
|
347
347
|
|
|
348
348
|
--color-hero: var(--color-navy-950);
|