@pichetch08/trip-ui 0.2.6 → 0.2.7
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.
|
@@ -8,7 +8,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
import { forwardRef } from "react";
|
|
9
9
|
import { Spinner } from "./spinner";
|
|
10
10
|
const VARIANT = {
|
|
11
|
-
primary: "bg-primary text-on-primary hover:[filter:brightness(0.88)] shadow-sm hover:shadow-md active:scale-[0.98]",
|
|
11
|
+
primary: "bg-primary text-(--on-primary) hover:[filter:brightness(0.88)] shadow-sm hover:shadow-md active:scale-[0.98]",
|
|
12
12
|
secondary: "bg-surface-container text-on-surface hover:bg-surface-container-high active:scale-[0.98]",
|
|
13
13
|
outline: "bg-transparent border border-outline-variant text-on-surface hover:bg-surface-container-low hover:border-outline active:scale-[0.98]",
|
|
14
14
|
ghost: "bg-transparent text-on-surface-variant hover:bg-surface-container hover:text-on-surface active:scale-[0.98]",
|