{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "tabor/dark-mode-toggle",
  "title": "Dark Mode Toggle",
  "category": "design",
  "description": "Allow visitors to switch between light and dark appearances.",
  "supports": {
    "color": {
      "link": false,
      "text": true,
      "__experimentalSkipSerialization": true,
      "__experimentalDefaultControls": {
        "background": true,
        "text": false
      }
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalSkipSerialization": true,
      "__experimentalDefaultControls": {
        "color": false,
        "radius": false,
        "style": false,
        "width": false
      }
    },
    "html": false,
    "__experimentalSelector": ".wp-block-tabor-dark-mode-toggle__track"
  },
  "attributes": {
    "icon": {
      "type": "string"
    },
    "size": {
      "type": "string",
      "default": "small"
    }
  },
  "styles": [
    {
      "name": "filled",
      "label": "Filled",
      "isDefault": true
    },
    {
      "name": "stroke",
      "label": "Stroke"
    },
    {
      "name": "circle",
      "label": "Circle"
    },
    {
      "name": "eye",
      "label": "Eye"
    }
  ],
  "textdomain": "appearance-toggle",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "dependencies": [
    "wp-i18n"
  ]
}