// Every button style and state, in one theme scope. Used by the dev story page // (src/app/dev/buttons) and the button tests. import type { CSSProperties, ReactNode } from "react"; import type { Theme } from "@/lib/theme"; import { DepthButton, FlipButton, GrowButton, IconButton, SendIcon, SparkleButton, SweepButton } from "./Buttons"; const scope: CSSProperties = { background: "var(--bg)", color: "var(--ink)", padding: "32px 28px", display: "flex", flexDirection: "column", gap: 28, }; const row: CSSProperties = { display: "flex", flexWrap: "wrap", alignItems: "center", gap: 14 }; const heading: CSSProperties = { margin: "0 0 10px", fontSize: 12, fontWeight: 700, letterSpacing: ".12em", textTransform: "uppercase", color: "var(--ink-3)" }; function Section({ title, children }: { title: string; children: ReactNode }) { return (

{title}

{children}
); } const FlameIcon = ( ); const TrashIcon = ( ); const PlayIcon = ( ); export function ButtonGallery({ theme }: { theme: Theme }) { return (

{theme === "dark" ? "Dark" : "Light"} theme

} /> } disabled />
); }