@codapet/design-system 0.2.7 → 0.2.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/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +32 -6
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -147,14 +147,14 @@ var buttonVariants = cva2(
|
|
|
147
147
|
variants: {
|
|
148
148
|
variant: {
|
|
149
149
|
primary: "bg-primary text-primary-foreground hover:bg-brand-dark active:bg-slate-800 ",
|
|
150
|
-
secondary: "bg-brand-subtle text-brand-vibrant hover:bg-
|
|
151
|
-
tertiary: "bg-
|
|
152
|
-
outline: "text-zinc-800 border bg-background hover:bg-
|
|
153
|
-
ghost: "text-zinc-800 hover:bg-
|
|
154
|
-
link: "text-primary underline-offset-4 hover:underline active:bg-surface-light",
|
|
155
|
-
destructive: "bg-
|
|
156
|
-
"destructive-secondary": "bg-
|
|
157
|
-
"destructive-tertiary": "bg-transparent border border-
|
|
150
|
+
secondary: "bg-brand-subtle text-brand-vibrant hover:bg-primary-surface-light border border-brand-light active:bg-icon-disabled hover:border-transparent active:border-transparent",
|
|
151
|
+
tertiary: "bg-gray-surface-light text-zinc-700 hover:bg-gray-surface-default border border-gray-stroke-light active:bg-zinc-400",
|
|
152
|
+
outline: "text-zinc-800 border border-gray-surface-default bg-background hover:bg-gray-surface-light hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 active:bg-gray-surface-default",
|
|
153
|
+
ghost: "text-zinc-800 hover:bg-gray-surface-light hover:text-accent-foreground dark:hover:bg-accent/50 active:bg-gray-surface-default",
|
|
154
|
+
link: "text-primary underline-offset-4 hover:underline hover:bg-primary-surface-subtle active:bg-primary-surface-light",
|
|
155
|
+
destructive: "bg-error-surface-default text-white hover:bg-red-800 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 active:bg-error-surface-dark",
|
|
156
|
+
"destructive-secondary": "bg-error-surface-light border border-error-stroke-light text-red-400 hover:border-error-surface-default focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 active:bg-red-100",
|
|
157
|
+
"destructive-tertiary": "bg-transparent border border-error-stroke-light text-red-400 hover:bg-red-50 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 active:bg-red-100"
|
|
158
158
|
},
|
|
159
159
|
size: {
|
|
160
160
|
md: "h-10 px-4 py-2 has-[>svg]:px-3 text-lg",
|