import { cva, type VariantProps } from "class-variance-authority"; import { Slot } from "radix-ui"; import type * as React from "react"; import { cn } from "~/lib/utils.ts"; const buttonVariants = cva( // 全站只有这一套按钮(与动漫站同一思路):形状一律胶囊 / 正圆,颜色与材质只由 variant 决定, // 调用处只给布局(宽度、高度、间距),不改圆角、底色、边框、投影和字色。 // 不是