+
)}
diff --git a/src/app/components/button/index.tsx b/src/app/components/button/index.tsx
index 7fd34161..de87acd9 100644
--- a/src/app/components/button/index.tsx
+++ b/src/app/components/button/index.tsx
@@ -6,11 +6,11 @@ import { cn } from "@lib/cn"
import { Spinner } from "@components/spinner"
const buttonVariants = cva(
- "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-75 disabled:pointer-events-none ring-offset-background",
+ "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-65 disabled:pointer-events-none ring-offset-background",
{
variants: {
variant: {
- default: "bg-primary/80 text-primary-foreground/80 hover:bg-primary/70",
+ default: "bg-primary text-primary-foreground hover:bg-primary/90",
destructive:
"bg-destructive text-destructive-foreground hover:bg-destructive/90",
outline:
diff --git a/src/app/components/fade-in/index.tsx b/src/app/components/fade-in/index.tsx
index eee230a5..d6a1fb5a 100644
--- a/src/app/components/fade-in/index.tsx
+++ b/src/app/components/fade-in/index.tsx
@@ -1,12 +1,14 @@
// https://www.joshwcomeau.com/snippets/react-components/fade-in/
import React from "react"
import styles from "./fade.module.css"
+import { cn } from "@lib/cn"
function FadeIn({
duration = 300,
delay = 0,
children,
as,
+ className,
...delegated
}: {
duration?: number
@@ -16,7 +18,7 @@ function FadeIn({
} & React.HTMLAttributes
) {
if (as !== null && typeof as === "object") {
return React.cloneElement(as, {
- className: styles.fadeIn,
+ className: cn(as.props.className, styles.fadeIn, className),
style: {
...(as.props.style || {}),
animationDuration: duration + "ms",
@@ -28,7 +30,7 @@ function FadeIn({
return (