{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A Skywrite theme: the colors of the app's menu, toolbar, links and buttons, as light mode shows them (dark mode darkens them). The same four colors as site.standard.theme.basic. Skywrite's built-in themes are records in skywritecms.bsky.social's repo; anyone's own themes are records in their repo. The theme in use is named by its AT URI in us.polhem.skywrite.preferences.app.",
      "key": "any",
      "record": {
        "properties": {
          "accent": {
            "description": "The current menu item, links and buttons.",
            "refs": [
              "site.standard.theme.color#rgb"
            ],
            "type": "union"
          },
          "accentForeground": {
            "description": "Text on the accent.",
            "refs": [
              "site.standard.theme.color#rgb"
            ],
            "type": "union"
          },
          "background": {
            "description": "The menu and toolbar.",
            "refs": [
              "site.standard.theme.color#rgb"
            ],
            "type": "union"
          },
          "description": {
            "description": "A few words on how it looks, such as 'A charcoal menu with blue'.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "foreground": {
            "description": "Text in the menu and toolbar.",
            "refs": [
              "site.standard.theme.color#rgb"
            ],
            "type": "union"
          },
          "name": {
            "description": "The theme's name, such as 'Classic'.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "name",
          "background",
          "foreground",
          "accent",
          "accentForeground"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "us.polhem.skywrite.preferences.theme",
  "lexicon": 1
}
