app.witchsky.theme.colors

witchsky.app

Documentation

main record

No description available.

Record Key tid Timestamp-based ID

Properties

base ref #colorSet Required

No description available.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

description string Optional

No description available.

maxLength: 300 bytesmaxGraphemes: 300 graphemes
mode string Required

No description available.

Known values: light, dark
name string Required

No description available.

maxLength: 64 bytesmaxGraphemes: 48 graphemes
recommendedPair string at-uri Optional

Theme recommended for the opposite appearance mode.

updatedAt string datetime Optional

An RFC 3339 formatted timestamp.

variants array of ref #variant Optional

No description available.

maxLength: 11 items
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "name",
      "mode",
      "base",
      "createdAt"
    ],
    "properties": {
      "base": {
        "ref": "#colorSet",
        "type": "ref"
      },
      "mode": {
        "type": "string",
        "knownValues": [
          "light",
          "dark"
        ]
      },
      "name": {
        "type": "string",
        "maxLength": 64,
        "maxGraphemes": 48
      },
      "special": {
        "refs": [
          "app.witchsky.theme.defs#materialYou",
          "app.witchsky.theme.defs#hue"
        ],
        "type": "union",
        "closed": false,
        "description": "Generator metadata requiring special client support. Unsupported union variants may be hidden."
      },
      "variants": {
        "type": "array",
        "items": {
          "ref": "#variant",
          "type": "ref"
        },
        "maxLength": 11
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime"
      },
      "description": {
        "type": "string",
        "maxLength": 300,
        "maxGraphemes": 300
      },
      "recommendedPair": {
        "type": "string",
        "format": "at-uri",
        "description": "Theme recommended for the opposite appearance mode."
      }
    }
  }
}
colorSet object

No description available.

Properties

name string Required

No description available.

maxLength: 48 bytesmaxGraphemes: 32 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "name",
    "colors"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 48,
      "maxGraphemes": 32
    },
    "colors": {
      "ref": "#semanticColors",
      "type": "ref"
    }
  }
}
semanticColorOverrides object

No description available.

Properties

accent string Optional

Links, selected controls, and primary actions.

accentSoft string Optional

Subtle selected and accent backgrounds.

border string Optional

Dividers and control outlines.

canvas string Optional

App background.

critical string Optional

Errors and destructive actions.

favorite string Optional

Like and favorite actions.

onAccent string Optional

Content drawn on the accent color.

positive string Optional

Success and confirmation states.

surface string Optional

Cards, sheets, and controls.

surfaceRaised string Optional

Menus and elevated surfaces.

text string Optional

Primary content text.

textMuted string Optional

Secondary labels and metadata.

warning string Optional

Caution states.

View raw schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Primary content text."
    },
    "accent": {
      "type": "string",
      "description": "Links, selected controls, and primary actions."
    },
    "border": {
      "type": "string",
      "description": "Dividers and control outlines."
    },
    "canvas": {
      "type": "string",
      "description": "App background."
    },
    "surface": {
      "type": "string",
      "description": "Cards, sheets, and controls."
    },
    "warning": {
      "type": "string",
      "description": "Caution states."
    },
    "critical": {
      "type": "string",
      "description": "Errors and destructive actions."
    },
    "favorite": {
      "type": "string",
      "description": "Like and favorite actions."
    },
    "onAccent": {
      "type": "string",
      "description": "Content drawn on the accent color."
    },
    "positive": {
      "type": "string",
      "description": "Success and confirmation states."
    },
    "textMuted": {
      "type": "string",
      "description": "Secondary labels and metadata."
    },
    "accentSoft": {
      "type": "string",
      "description": "Subtle selected and accent backgrounds."
    },
    "surfaceRaised": {
      "type": "string",
      "description": "Menus and elevated surfaces."
    }
  }
}
semanticColors object

No description available.

Properties

accent string Required

Links, selected controls, and primary actions.

accentSoft string Required

Subtle selected and accent backgrounds.

border string Required

Dividers and control outlines.

canvas string Required

App background.

critical string Required

Errors and destructive actions.

favorite string Required

Like and favorite actions.

onAccent string Required

Content drawn on the accent color.

positive string Required

Success and confirmation states.

surface string Required

Cards, sheets, and controls.

surfaceRaised string Required

Menus and elevated surfaces.

text string Required

Primary content text.

textMuted string Required

Secondary labels and metadata.

warning string Required

Caution states.

View raw schema
{
  "type": "object",
  "required": [
    "canvas",
    "surface",
    "surfaceRaised",
    "text",
    "textMuted",
    "border",
    "accent",
    "accentSoft",
    "onAccent",
    "positive",
    "warning",
    "critical",
    "favorite"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "Primary content text."
    },
    "accent": {
      "type": "string",
      "description": "Links, selected controls, and primary actions."
    },
    "border": {
      "type": "string",
      "description": "Dividers and control outlines."
    },
    "canvas": {
      "type": "string",
      "description": "App background."
    },
    "surface": {
      "type": "string",
      "description": "Cards, sheets, and controls."
    },
    "warning": {
      "type": "string",
      "description": "Caution states."
    },
    "critical": {
      "type": "string",
      "description": "Errors and destructive actions."
    },
    "favorite": {
      "type": "string",
      "description": "Like and favorite actions."
    },
    "onAccent": {
      "type": "string",
      "description": "Content drawn on the accent color."
    },
    "positive": {
      "type": "string",
      "description": "Success and confirmation states."
    },
    "textMuted": {
      "type": "string",
      "description": "Secondary labels and metadata."
    },
    "accentSoft": {
      "type": "string",
      "description": "Subtle selected and accent backgrounds."
    },
    "surfaceRaised": {
      "type": "string",
      "description": "Menus and elevated surfaces."
    }
  }
}
variant object

No description available.

Properties

name string Required

No description available.

maxLength: 48 bytesmaxGraphemes: 32 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 48,
      "maxGraphemes": 32
    },
    "colors": {
      "ref": "#semanticColorOverrides",
      "type": "ref"
    }
  }
}

Lexicon Garden

@