{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "ThemeToggle: Button + Lucide icons (data-ui8kit=\"theme-toggle\" behaviour).",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{* Code generated by packages/kit-compose/src/build.ts from src/map.ts + variants/. DO NOT EDIT. *}\n{* ThemeToggle: Button + Lucide icons. Includes inherit variables: every primitive param this template shadows is passed explicitly. *}\n{parameters\n  $variant = null,\n  $size = null,\n  string $controls = '',\n  string $ariaLabel = '',\n  string $class = '',\n  array $attrs = [],\n}\n{var $a = ['data-ui8kit' => 'theme-toggle', 'aria-pressed' => 'false', 'aria-label' => $ariaLabel !== '' ? $ariaLabel : 'Dark mode', ...(false && $controls !== '' ? ['aria-controls' => $controls] : []), ...$attrs]}\n{capture $icons}{include '../ui/icon/Icon.latte', size: '', label: '', class: 'hidden size-5 dark:block', attrs: [], children: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"4\"></circle><path d=\"M12 2v2\"></path><path d=\"M12 20v2\"></path><path d=\"m4.93 4.93 1.41 1.41\"></path><path d=\"m17.66 17.66 1.41 1.41\"></path><path d=\"M2 12h2\"></path><path d=\"M20 12h2\"></path><path d=\"m6.34 17.66-1.41 1.41\"></path><path d=\"m19.07 4.93-1.41 1.41\"></path></svg>'}{include '../ui/icon/Icon.latte', size: '', label: '', class: 'block size-5 dark:hidden', attrs: [], children: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z\"></path></svg>'}{/capture}\n{include '../ui/button/Button.latte', type: 'button', ariaLabel: null, ariaControls: null, class: \\CodegenX\\Compose\\Latte\\Compose::join([\\CodegenX\\Compose\\Latte\\Compose::rc('themetoggle', ['variant' => $variant, 'size' => $size]), $class]), attrs: $a, children: (string) $icons}",
      "path": "compose/ThemeToggle.latte",
      "target": "compose/ThemeToggle.latte"
    }
  ],
  "meta": {
    "category": "primitives",
    "kind": "primitive",
    "tags": [
      "latte",
      "primitive"
    ]
  },
  "name": "theme-toggle",
  "registryDependencies": [
    "kit-button",
    "kit-icon",
    "recipes",
    "utils"
  ],
  "runtime": "latte",
  "title": "Theme Toggle",
  "type": "registry:ui"
}
