{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "auth-steps",
  "title": "Auth: One Question",
  "description": "One question per screen, with keyboard hints and Escape to step back.",
  "dependencies": [
    "lucide-react",
    "motion"
  ],
  "registryDependencies": [
    "utils",
    "@animate-ui/icons-arrow-left",
    "@animate-ui/icons-fingerprint",
    "@animate-ui/icons-loader-circle"
  ],
  "files": [
    {
      "path": "components/blocks/auth-steps.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { CornerDownLeft, KeyRound, Mail } from \"lucide-react\"\nimport { AnimateIcon } from \"@/components/animate-ui/icons/icon\"\nimport { ArrowLeft } from \"@/components/animate-ui/icons/arrow-left\"\nimport { Fingerprint } from \"@/components/animate-ui/icons/fingerprint\"\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\"\n\nimport { AfterglowMark, GoogleMark, SubmitLabel, checkEmail, useSubmit, type Provider } from \"@/components/ui/auth-parts\"\nimport { cn } from \"@/lib/utils\"\n\ntype Step = \"choose\" | \"email\" | \"sent\"\n\ntype AuthStepsProps = {\n  onSubmit?: (values: { email: string }) => Promise<void> | void\n  onProvider?: (provider: Provider) => void\n  className?: string\n}\n\nconst pill =\n  \"inline-flex h-10 w-full cursor-pointer items-center justify-center gap-2.5 rounded-full text-[13px] font-medium outline-none transition-[background-color,border-color,scale] duration-150 ease-out motion-reduce:transition-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-foreground/40 motion-safe:enabled:active:scale-[0.98] [&_svg]:size-4\"\n\n// the quiet choices: a hairline pill that fills in on hover\nconst outline = \"border bg-transparent hover:border-foreground/20 hover:bg-muted/60\"\n\nfunction Kbd({ children }: { children: React.ReactNode }) {\n  return (\n    <kbd className=\"inline-flex h-5 min-w-5 items-center justify-center rounded border bg-muted px-1 font-sans text-[11px] text-muted-foreground\">\n      {children}\n    </kbd>\n  )\n}\n\n// one question per screen: how do you sign in, what's your email, check your inbox\nexport function AuthSteps({ onSubmit, onProvider, className }: AuthStepsProps) {\n  const reduceMotion = useReducedMotion()\n  const id = React.useId()\n  const [step, setStep] = React.useState<Step>(\"choose\")\n  const [direction, setDirection] = React.useState(1)\n  const [email, setEmail] = React.useState(\"\")\n  const [emailError, setEmailError] = React.useState<string>()\n  const { status, error, run } = useSubmit(async (values: { email: string }) => {\n    await onSubmit?.(values)\n    go(\"sent\")\n  })\n\n  function go(next: Step) {\n    const order: Step[] = [\"choose\", \"email\", \"sent\"]\n    setDirection(order.indexOf(next) >= order.indexOf(step) ? 1 : -1)\n    setStep(next)\n  }\n\n  // Escape steps back, like closing a sheet\n  React.useEffect(() => {\n    if (step === \"choose\") return\n    const onKey = (event: KeyboardEvent) => {\n      if (event.key === \"Escape\") go(step === \"sent\" ? \"email\" : \"choose\")\n    }\n    window.addEventListener(\"keydown\", onKey)\n    return () => window.removeEventListener(\"keydown\", onKey)\n  })\n\n  function handleSubmit(event: React.FormEvent<HTMLFormElement>) {\n    event.preventDefault()\n    const problem = checkEmail(email)\n    setEmailError(problem)\n    if (!problem) run({ email })\n  }\n\n  // the resting state is identical either way, so server and client agree\n  const slide = reduceMotion\n    ? { initial: { opacity: 0 }, animate: { opacity: 1, x: 0, filter: \"blur(0px)\" }, exit: { opacity: 0 } }\n    : {\n        initial: { opacity: 0, x: 24 * direction, filter: \"blur(4px)\" },\n        animate: { opacity: 1, x: 0, filter: \"blur(0px)\" },\n        exit: { opacity: 0, x: -16 * direction, filter: \"blur(4px)\", transition: { duration: 0.12 } },\n      }\n\n  const problem = emailError ?? error\n\n  return (\n    <div\n      className={cn(\n        \"relative flex min-h-[44rem] w-full flex-col items-center justify-center bg-background px-4 py-16 text-foreground\",\n        className\n      )}\n    >\n      <div className=\"w-full max-w-[20rem]\">\n        <AnimatePresence mode=\"wait\" initial={false} custom={direction}>\n          {step === \"choose\" && (\n            <motion.div key=\"choose\" className=\"flex flex-col items-center gap-8\" transition={{ duration: 0.2, ease: \"easeOut\" }} {...slide}>\n              <div className=\"flex flex-col items-center gap-5 text-center\">\n                <span className=\"grid size-11 place-items-center rounded-[13px] bg-foreground text-background shadow-[inset_0_1px_0_oklch(1_0_0/15%),0_6px_16px_-6px_oklch(0_0_0/40%)] [&_svg]:size-6\">\n                  <AfterglowMark />\n                </span>\n                <h1 className=\"text-[22px] font-medium tracking-[-0.02em]\">Log in to Afterglow</h1>\n              </div>\n              <div className=\"flex w-full flex-col gap-2.5\">\n                <button type=\"button\" className={cn(pill, \"bg-foreground text-background hover:bg-foreground/90\")} onClick={() => onProvider?.(\"google\")}>\n                  <GoogleMark mono />\n                  Continue with Google\n                  <span className=\"ml-0.5 rounded-full bg-background/15 px-1.5 py-px text-[10px] font-normal\">Last used</span>\n                </button>\n                <button type=\"button\" className={cn(pill, outline)} onClick={() => go(\"email\")}>\n                  <Mail />\n                  Continue with email\n                </button>\n                <button type=\"button\" className={cn(pill, outline)} onClick={() => onProvider?.(\"sso\")}>\n                  <KeyRound />\n                  Continue with SAML SSO\n                </button>\n                <AnimateIcon animateOnHover asChild>\n                  <button type=\"button\" className={cn(pill, outline)} onClick={() => onProvider?.(\"passkey\")}>\n                    <Fingerprint aria-hidden />\n                    Log in with a passkey\n                  </button>\n                </AnimateIcon>\n              </div>\n              <p className=\"text-[13px] text-muted-foreground\">\n                Don&rsquo;t have an account?{\" \"}\n                <a href=\"#\" className=\"text-foreground hover:underline\">\n                  Sign up\n                </a>\n              </p>\n            </motion.div>\n          )}\n\n          {step === \"email\" && (\n            <motion.div key=\"email\" className=\"flex flex-col gap-6\" transition={{ duration: 0.2, ease: \"easeOut\" }} {...slide}>\n              <h1 className=\"text-center text-[22px] font-medium tracking-[-0.02em]\">What&rsquo;s your email address?</h1>\n              <form noValidate onSubmit={handleSubmit} className=\"flex flex-col gap-3\">\n                <label htmlFor={`${id}-email`} className=\"sr-only\">\n                  Email\n                </label>\n                <div\n                  className={cn(\n                    \"flex h-10 items-center rounded-full border bg-background px-4 transition-[border-color,box-shadow] duration-150 focus-within:border-foreground/30 focus-within:ring-4 focus-within:ring-foreground/[0.06]\",\n                    problem && \"border-[oklch(0.65_0.18_25/60%)]\"\n                  )}\n                >\n                  <input\n                    // the step mounts after the last one leaves, so focus on mount\n                    autoFocus\n                    id={`${id}-email`}\n                    type=\"email\"\n                    autoComplete=\"email\"\n                    placeholder=\"Enter your email address…\"\n                    value={email}\n                    onChange={(event) => setEmail(event.target.value)}\n                    aria-invalid={problem ? true : undefined}\n                    aria-describedby={problem ? `${id}-error` : undefined}\n                    className=\"h-full min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground/70\"\n                  />\n                  <Kbd>\n                    <CornerDownLeft className=\"size-3\" />\n                  </Kbd>\n                </div>\n                {problem && (\n                  <p id={`${id}-error`} className=\"px-4 text-xs text-[oklch(0.65_0.18_25)]\">\n                    {problem}\n                  </p>\n                )}\n                <button type=\"submit\" disabled={status === \"loading\"} className={cn(pill, \"bg-foreground text-background\")}>\n                  <SubmitLabel loading={status === \"loading\"}>Continue with email</SubmitLabel>\n                </button>\n              </form>\n              <AnimateIcon animateOnHover asChild>\n                <button type=\"button\" onClick={() => go(\"choose\")} className=\"inline-flex cursor-pointer items-center justify-center gap-2 rounded text-[13px] text-muted-foreground transition-colors duration-150 outline-none hover:text-foreground focus-visible:outline-2 focus-visible:outline-foreground/40\">\n                  <ArrowLeft aria-hidden className=\"size-3.5\" />\n                  Back to login\n                  <Kbd>Esc</Kbd>\n                </button>\n              </AnimateIcon>\n            </motion.div>\n          )}\n\n          {step === \"sent\" && (\n            <motion.div key=\"sent\" className=\"flex flex-col items-center gap-5 text-center\" transition={{ duration: 0.2, ease: \"easeOut\" }} {...slide}>\n              <h1 className=\"text-[22px] font-medium tracking-[-0.02em]\">Check your inbox</h1>\n              <p className=\"text-[13px] leading-relaxed text-muted-foreground\">\n                We sent a link to <span className=\"text-foreground\">{email}</span>. Open it on this device to finish signing in.\n              </p>\n              <button type=\"button\" onClick={() => go(\"email\")} className={cn(pill, outline)}>\n                Use a different email\n              </button>\n            </motion.div>\n          )}\n        </AnimatePresence>\n      </div>\n    </div>\n  )\n}\n",
      "type": "registry:block",
      "target": "components/blocks/auth-steps.tsx"
    },
    {
      "path": "components/ui/auth-parts.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Eye, EyeOff, KeyRound } from \"lucide-react\"\nimport { AnimateIcon } from \"@/components/animate-ui/icons/icon\"\nimport { Fingerprint } from \"@/components/animate-ui/icons/fingerprint\"\nimport { LoaderCircle as Loader2 } from \"@/components/animate-ui/icons/loader-circle\"\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\"\n\nimport { cn } from \"@/lib/utils\"\n\n/* Shared pieces for the auth blocks: brand marks, provider buttons, fields,\n   a divider and a small hook that runs a submit with loading and error states. */\n\nfunction GoogleMark({ mono = false, ...props }: React.ComponentProps<\"svg\"> & { mono?: boolean }) {\n  // mono draws the G in the current text color, for quiet monochrome buttons\n  const fill = (color: string) => (mono ? \"currentColor\" : color)\n  return (\n    <svg viewBox=\"0 0 24 24\" aria-hidden {...props}>\n      <path fill={fill(\"#4285F4\")} d=\"M23.5 12.27c0-.85-.08-1.67-.22-2.45H12v4.64h6.45a5.52 5.52 0 0 1-2.4 3.62v3h3.88c2.27-2.09 3.57-5.17 3.57-8.81Z\" />\n      <path fill={fill(\"#34A853\")} d=\"M12 24c3.24 0 5.96-1.07 7.94-2.92l-3.88-3c-1.07.72-2.45 1.15-4.06 1.15-3.12 0-5.77-2.11-6.71-4.95H1.28v3.1A12 12 0 0 0 12 24Z\" />\n      <path fill={fill(\"#FBBC05\")} d=\"M5.29 14.28a7.2 7.2 0 0 1 0-4.56v-3.1H1.28a12 12 0 0 0 0 10.76l4.01-3.1Z\" />\n      <path fill={fill(\"#EA4335\")} d=\"M12 4.77c1.76 0 3.34.61 4.59 1.8l3.44-3.44A11.97 11.97 0 0 0 12 0 12 12 0 0 0 1.28 6.62l4.01 3.1C6.23 6.88 8.88 4.77 12 4.77Z\" />\n    </svg>\n  )\n}\n\n// the afterglow mark: a sun setting on the horizon, centered in its 24px box\nfunction AfterglowMark(props: React.ComponentProps<\"svg\">) {\n  return (\n    <svg viewBox=\"0 0 24 24\" aria-hidden {...props}>\n      <path d=\"M5.5 11a6.5 6.5 0 0 1 13 0Z\" fill=\"currentColor\" />\n      <path d=\"M3 14h18M7 18h10\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" />\n    </svg>\n  )\n}\n\nfunction GitHubMark(props: React.ComponentProps<\"svg\">) {\n  return (\n    <svg viewBox=\"0 0 16 16\" aria-hidden fill=\"currentColor\" {...props}>\n      <path d=\"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8Z\" />\n    </svg>\n  )\n}\n\nconst providers = {\n  google: { label: \"Google\", icon: <GoogleMark /> },\n  github: { label: \"GitHub\", icon: <GitHubMark /> },\n  sso: { label: \"SSO\", icon: <KeyRound /> },\n  passkey: { label: \"passkey\", icon: <Fingerprint aria-hidden /> },\n}\n\ntype Provider = keyof typeof providers\n\ntype ProviderButtonProps = Omit<React.ComponentProps<\"button\">, \"children\"> & {\n  provider: Provider\n  /** \"Continue with\", \"Log in with\"… */\n  verb?: string\n  /** a small \"Last used\" badge in the corner */\n  lastUsed?: boolean\n}\n\nfunction ProviderButton({\n  provider,\n  verb = \"Continue with\",\n  lastUsed,\n  className,\n  type = \"button\",\n  ...props\n}: ProviderButtonProps) {\n  const { label, icon } = providers[provider]\n  return (\n    <AnimateIcon animateOnHover asChild>\n      <button\n        type={type}\n        className={cn(\n          \"relative inline-flex h-10 w-full cursor-pointer items-center justify-center gap-2.5 rounded-lg border bg-background/60 px-4 text-sm font-medium transition-[background-color,scale] duration-150 ease-out motion-reduce:transition-none outline-none hover:bg-muted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring motion-safe:enabled:active:scale-[0.98] disabled:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0\",\n          className\n        )}\n        {...props}\n      >\n        {icon}\n        <span>{verb ? `${verb} ${label}` : label}</span>\n        {lastUsed && (\n          <span className=\"absolute -top-2 right-2 rounded-full border bg-card px-1.5 py-px text-[10px] font-medium text-muted-foreground\">\n            Last used\n          </span>\n        )}\n      </button>\n    </AnimateIcon>\n  )\n}\n\nfunction Divider({ children = \"or\", className }: { children?: React.ReactNode; className?: string }) {\n  return (\n    <div className={cn(\"flex items-center gap-3 text-xs text-muted-foreground\", className)}>\n      <span className=\"h-px flex-1 bg-border\" />\n      {children}\n      <span className=\"h-px flex-1 bg-border\" />\n    </div>\n  )\n}\n\ntype FieldProps = Omit<React.ComponentProps<\"input\">, \"size\"> & {\n  label: string\n  /** shown under the field and announced by screen readers */\n  error?: string\n  /** a link or action placed at the end of the label row, e.g. \"Forgot?\" */\n  aside?: React.ReactNode\n  /** classes for the input's box, so each theme can style it */\n  boxClassName?: string\n  labelClassName?: string\n}\n\nfunction Field({\n  label,\n  error,\n  aside,\n  type = \"text\",\n  className,\n  boxClassName,\n  labelClassName,\n  id,\n  ...props\n}: FieldProps) {\n  const autoId = React.useId()\n  const inputId = id ?? autoId\n  const errorId = `${inputId}-error`\n  const [reveal, setReveal] = React.useState(false)\n  const password = type === \"password\"\n\n  return (\n    <div className={cn(\"flex flex-col gap-1.5\", className)}>\n      <div className=\"flex items-center justify-between\">\n        <label htmlFor={inputId} className={cn(\"text-sm font-medium\", labelClassName)}>\n          {label}\n        </label>\n        {aside}\n      </div>\n      <div\n        className={cn(\n          \"flex h-10 items-center rounded-lg border bg-background/60 px-3 transition-[border-color,box-shadow] duration-150 focus-within:border-foreground/40 focus-within:ring-3 focus-within:ring-foreground/10\",\n          error && \"border-glow-2/70 focus-within:border-glow-2 focus-within:ring-glow-2/15\",\n          boxClassName\n        )}\n      >\n        <input\n          id={inputId}\n          type={password && reveal ? \"text\" : type}\n          aria-invalid={error ? true : undefined}\n          aria-describedby={error ? errorId : undefined}\n          className=\"h-full min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground/70\"\n          {...props}\n        />\n        {password && (\n          <button\n            type=\"button\"\n            aria-label={reveal ? \"Hide password\" : \"Show password\"}\n            aria-pressed={reveal}\n            onClick={() => setReveal((v) => !v)}\n            className=\"-mr-1 grid size-7 cursor-pointer place-items-center rounded-md text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring/60 [&_svg]:size-4\"\n          >\n            {reveal ? <EyeOff /> : <Eye />}\n          </button>\n        )}\n      </div>\n      <AnimatePresence initial={false}>\n        {error && (\n          <motion.p\n            id={errorId}\n            className=\"text-xs text-glow-2\"\n            initial={{ opacity: 0, height: 0 }}\n            animate={{ opacity: 1, height: \"auto\" }}\n            exit={{ opacity: 0, height: 0 }}\n            transition={{ duration: 0.15 }}\n          >\n            {error}\n          </motion.p>\n        )}\n      </AnimatePresence>\n    </div>\n  )\n}\n\ntype Status = \"idle\" | \"loading\" | \"done\"\n\n/**\n * Runs an async submit with loading and error states. The block calls\n * `run(values)`; your `onSubmit` does the real work and throws to show an error.\n */\nfunction useSubmit<T>(onSubmit?: (values: T) => Promise<void> | void) {\n  const [status, setStatus] = React.useState<Status>(\"idle\")\n  const [error, setError] = React.useState<string>()\n\n  async function run(values: T) {\n    setError(undefined)\n    setStatus(\"loading\")\n    try {\n      await onSubmit?.(values)\n      setStatus(\"done\")\n    } catch (reason) {\n      setError(reason instanceof Error ? reason.message : \"Something went wrong. Try again.\")\n      setStatus(\"idle\")\n    }\n  }\n\n  return { status, error, setError, run, reset: () => setStatus(\"idle\") }\n}\n\n// a label that swaps to a spinner while the form is busy\nfunction SubmitLabel({ loading, children }: { loading: boolean; children: React.ReactNode }) {\n  const reduceMotion = useReducedMotion()\n  return (\n    <span className=\"grid place-items-center\">\n      <AnimatePresence initial={false} mode=\"popLayout\">\n        <motion.span\n          key={loading ? \"loading\" : \"label\"}\n          className=\"col-start-1 row-start-1 inline-flex items-center gap-2\"\n          initial={reduceMotion ? { opacity: 0 } : { opacity: 0, scale: 0.25, filter: \"blur(4px)\" }}\n          animate={{ opacity: 1, scale: 1, filter: \"blur(0px)\" }}\n          exit={reduceMotion ? { opacity: 0 } : { opacity: 0, scale: 0.25, filter: \"blur(4px)\" }}\n          transition={{ type: \"spring\", duration: 0.3, bounce: 0 }}\n        >\n          {loading ? <Loader2 className=\"size-4 animate-spin\" aria-label=\"Loading\" /> : children}\n        </motion.span>\n      </AnimatePresence>\n    </span>\n  )\n}\n\nconst EMAIL = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/\n\nfunction checkEmail(value: string) {\n  if (!value.trim()) return \"Enter your email address.\"\n  if (!EMAIL.test(value.trim())) return \"That doesn't look like an email address.\"\n  return undefined\n}\n\nexport {\n  AfterglowMark,\n  Divider,\n  Field,\n  GitHubMark,\n  GoogleMark,\n  ProviderButton,\n  SubmitLabel,\n  checkEmail,\n  useSubmit,\n  type FieldProps,\n  type Provider,\n  type ProviderButtonProps,\n}\n",
      "type": "registry:ui"
    },
    {
      "path": "lib/afterglow.ts",
      "content": "import type { CSSProperties } from \"react\"\nimport type { TargetAndTransition, Transition } from \"motion/react\"\n\n// shared spring presets, every component picks from these\nexport const springs = {\n  snappy: { stiffness: 520, damping: 34, mass: 0.6 },\n  soft: { stiffness: 260, damping: 26, mass: 0.8 },\n  glide: { stiffness: 120, damping: 20, mass: 1 },\n} as const\n\nexport type SpringName = keyof typeof springs\n\nexport function spring(name: SpringName): Transition {\n  return { type: \"spring\", ...springs[name] }\n}\n\n// how a glow fades once its source moves away: slow, with a long tail\nexport const afterglow = {\n  linger: 0.9,\n  ease: [0.22, 1, 0.36, 1],\n} as const satisfies { linger: number; ease: Transition[\"ease\"] }\n\n// paints only the padding ring of an element, used for glowing borders\nexport const ringMask: CSSProperties = {\n  WebkitMask:\n    \"linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)\",\n  WebkitMaskComposite: \"xor\",\n  mask: \"linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)\",\n  maskComposite: \"exclude\",\n}\n\n// small icon gestures, played when a control is pressed or selected\nexport const iconGestures = {\n  pop: { scale: [1, 1.2, 1] },\n  ring: { rotate: [0, -18, 14, -9, 4, 0], scale: [1, 1.12, 1] },\n  // a gear looks the same after half a turn, so it can rest there and snap back unseen\n  turn: { rotate: [0, 180], scale: [1, 1.12, 1] },\n  hop: { y: [0, -3, 0], scale: [1, 1.1, 1] },\n  nudge: { x: [0, 2.5, 0], scale: [1, 1.1, 1] },\n} satisfies Record<string, TargetAndTransition>\n\nexport type IconGesture = keyof typeof iconGestures\n\n// leaving a gesture is instant: every gesture already ends at, or looks like, its resting pose\nexport const iconRest: TargetAndTransition = { scale: 1, rotate: 0, x: 0, y: 0, transition: { duration: 0 } }\n",
      "type": "registry:lib"
    }
  ],
  "cssVars": {
    "theme": {
      "color-glow": "var(--glow)",
      "color-glow-foreground": "var(--glow-foreground)",
      "color-glow-2": "var(--glow-2)",
      "color-glow-3": "var(--glow-3)",
      "color-glass": "var(--glass)",
      "color-gloss-highlight": "var(--gloss-highlight)",
      "shadow-gloss": "inset 0 1px 0 0 var(--gloss-highlight), inset 0 -1px 0 0 var(--gloss-shade), 0 0 0 1px var(--gloss-edge), 0 1px 2px 0 var(--gloss-depth), 0 4px 12px -4px var(--gloss-depth)",
      "shadow-glass": "inset 0 1px 0 0 var(--gloss-highlight), inset 0 -10px 24px -18px var(--gloss-shade), inset 0 0 0 1px var(--gloss-edge), 0 2px 6px -1px var(--gloss-depth), 0 18px 40px -12px var(--gloss-depth)",
      "shadow-well": "inset 0 1px 3px 0 var(--gloss-depth), inset 0 0 0 1px var(--gloss-edge), 0 1px 0 0 var(--gloss-highlight)"
    },
    "light": {
      "glow": "oklch(0.7 0.19 45)",
      "glow-foreground": "oklch(0.22 0.05 40)",
      "glow-2": "oklch(0.64 0.22 12)",
      "glow-3": "oklch(0.56 0.21 300)",
      "glass": "oklch(1 0 0 / 55%)",
      "gloss-highlight": "oklch(1 0 0 / 95%)",
      "gloss-shade": "oklch(0.3 0.03 285 / 10%)",
      "gloss-depth": "oklch(0.32 0.03 285 / 20%)",
      "gloss-edge": "oklch(0.22 0.02 285 / 10%)",
      "liquid-tint": "oklch(1 0 0 / 18%)",
      "liquid-fallback": "oklch(1 0 0 / 55%)",
      "liquid-rim": "oklch(1 0 0 / 95%)",
      "liquid-edge": "oklch(0.2 0.02 285 / 10%)",
      "liquid-shadow": "oklch(0.22 0.02 285 / 26%)",
      "liquid-glow": "oklch(1 0 0 / 55%)",
      "liquid-shade": "oklch(0.25 0.03 285 / 14%)"
    },
    "dark": {
      "glow": "oklch(0.8 0.16 55)",
      "glow-foreground": "oklch(0.22 0.05 40)",
      "glow-2": "oklch(0.7 0.2 15)",
      "glow-3": "oklch(0.65 0.2 300)",
      "glass": "oklch(0.19 0 0 / 55%)",
      "gloss-highlight": "oklch(1 0 0 / 16%)",
      "gloss-shade": "oklch(0 0 0 / 30%)",
      "gloss-depth": "oklch(0.04 0 0 / 60%)",
      "gloss-edge": "oklch(1 0 0 / 9%)",
      "liquid-tint": "oklch(0.2 0 0 / 22%)",
      "liquid-fallback": "oklch(0.2 0 0 / 45%)",
      "liquid-rim": "oklch(1 0 0 / 60%)",
      "liquid-edge": "oklch(1 0 0 / 10%)",
      "liquid-shadow": "oklch(0 0 0 / 50%)",
      "liquid-glow": "oklch(1 0 0 / 24%)",
      "liquid-shade": "oklch(0 0 0 / 28%)"
    }
  },
  "type": "registry:block"
}