id.skiddle.theme

The site's theme: its look for visitors who haven't picked their own (light or dark, and the accent colour), and the design of its share cards (the pictures link previews show). One record, key 'self'. A field left out uses the default: follow the device, blue, and the terminal cards. A card's logo is the publication's (site.standard.publication's icon).

Repository @skiddle.blue did:plc:xaj6j6abvpgwps5v6k4t6clv namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authorityskiddle.id
Commit rev3n3cjmst6gw23
Indexed

Showing version bafyreie3nhk4xa56zqd64vqrzkohm3jafdkjwjhbju2wxsb36rnt3762oy. Show the latest

cid bafyreie3nhk4xa56zqd64vqrzkohm3jafdkjwjhbju2wxsb36rnt3762oy

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The site's theme: its look for visitors who haven't picked their own (light or dark, and the accent colour), and the design of its share cards (the pictures link previews show). One record, key 'self'. A field left out uses the default: follow the device, blue, and the terminal cards. A card's logo is the publication's (site.standard.publication's icon).",
      "key": "literal:self",
      "record": {
        "properties": {
          "accent": {
            "description": "The accent colour (links, the cursor, highlights) for visitors who haven't picked one. A visitor's own pick wins.",
            "knownValues": [
              "blue",
              "teal",
              "purple",
              "pink",
              "green"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "cardDesign": {
            "description": "The share cards' design: 'terminal' (a prompt and the title, in the site's dark colours), 'terminal-light' (the same in its light colours) or 'logo' (the logo large beside the title). One the site doesn't know draws as 'terminal'.",
            "knownValues": [
              "terminal",
              "terminal-light",
              "logo"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "mode": {
            "description": "Light or dark, for visitors who haven't picked: 'device' follows their device's setting, 'dark' and 'light' are always that. A visitor's own pick wins.",
            "knownValues": [
              "device",
              "dark",
              "light"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "id.skiddle.theme",
  "lexicon": 1
}