// Button: pink (primary) is the app's own branded action, blue (accent) is reserved for download/get-the-app actions — matches osu!'s own site split between "Support" (pink) and "Download" (blue) rather than one hue for everything. import { motion } from "framer-motion"; import type { ButtonHTMLAttributes, ReactNode } from "react"; export interface ButtonProps extends ButtonHTMLAttributes { variant?: "primary" | "accent" | "secondary" | "ghost"; children: ReactNode; } const variantStyles: Record, React.CSSProperties> = { primary: { background: "var(--df-pink)", color: "var(--df-on-fill)", border: "none", boxShadow: "var(--df-shadow-sm)", }, accent: { background: "var(--df-blue)", color: "var(--df-on-fill)", border: "none", boxShadow: "var(--df-shadow-sm)", }, secondary: { background: "var(--df-surface-2)", color: "var(--df-text)", border: "1px solid var(--df-border)", }, ghost: { background: "transparent", color: "var(--df-text-muted)", border: "1px solid transparent", }, }; const hoverGlow: Partial, string>> = { primary: "var(--df-glow-pink)", accent: "var(--df-glow-blue)", }; export function Button({ variant = "primary", style, disabled, children, ...rest }: ButtonProps) { return ( {children} ); }