id.skiddle.theme

The site's theme: its look for visitors who haven't picked their own (light or dark, and the accent colour), its design (colours for dark and light, fonts, text size, line heights, corners, spacing and the terminal touches), and the design of its share cards (the pictures link previews show). One record, key 'self'. A field left out, or a value the site doesn't know, keeps today's look: follow the device, blue, the site's own colours and fonts, 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 rev3n3djiy22cs27
Indexed

Showing version bafyreigifys76yaybda2tt6yagildtm46znykz5adtw23zmvnbm6j5zayi. Show the latest

cid bafyreigifys76yaybda2tt6yagildtm46znykz5adtw23zmvnbm6j5zayi

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "colors": {
      "description": "The site's colours for each mode.",
      "properties": {
        "dark": {
          "ref": "#palette",
          "type": "ref"
        },
        "light": {
          "ref": "#palette",
          "type": "ref"
        }
      },
      "type": "object"
    },
    "fonts": {
      "description": "The fonts, each one of those the site bundles, by its id.",
      "properties": {
        "code": {
          "description": "Code. One the site doesn't bundle keeps today's.",
          "knownValues": [
            "geist-mono",
            "geist",
            "ibm-plex-sans",
            "ibm-plex-mono",
            "inter",
            "jetbrains-mono",
            "source-serif-4"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "heading": {
          "description": "Headings and menus. One the site doesn't bundle keeps today's.",
          "knownValues": [
            "geist-mono",
            "geist",
            "ibm-plex-sans",
            "ibm-plex-mono",
            "inter",
            "jetbrains-mono",
            "source-serif-4"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "post": {
          "description": "A post's text. One the site doesn't bundle keeps today's.",
          "knownValues": [
            "geist-mono",
            "geist",
            "ibm-plex-sans",
            "ibm-plex-mono",
            "inter",
            "jetbrains-mono",
            "source-serif-4"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "text": {
          "description": "The site's text. One the site doesn't bundle keeps today's.",
          "knownValues": [
            "geist-mono",
            "geist",
            "ibm-plex-sans",
            "ibm-plex-mono",
            "inter",
            "jetbrains-mono",
            "source-serif-4"
          ],
          "maxLength": 64,
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "The site's theme: its look for visitors who haven't picked their own (light or dark, and the accent colour), its design (colours for dark and light, fonts, text size, line heights, corners, spacing and the terminal touches), and the design of its share cards (the pictures link previews show). One record, key 'self'. A field left out, or a value the site doesn't know, keeps today's look: follow the device, blue, the site's own colours and fonts, 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"
          },
          "colors": {
            "description": "The site's colours, for dark and for light. A colour left out keeps today's.",
            "ref": "#colors",
            "type": "ref"
          },
          "fonts": {
            "description": "The site's fonts. A font left out keeps today's: Geist Mono, and Geist for post text.",
            "ref": "#fonts",
            "type": "ref"
          },
          "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"
          },
          "noCursor": {
            "description": "Hide the blinking cursor. Left out, or false, shows it, as today.",
            "type": "boolean"
          },
          "noHeadingMarks": {
            "description": "Hide the '#' and '##' before headings. Left out, or false, shows them, as today.",
            "type": "boolean"
          },
          "noPrompt": {
            "description": "Hide the terminal prompts ('skiddle@web:~$') above sections and in the search. Left out, or false, shows them, as today.",
            "type": "boolean"
          },
          "postLineHeight": {
            "description": "The line height of a post's text: 'normal' is today's.",
            "knownValues": [
              "tight",
              "normal",
              "loose"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "radius": {
            "description": "The corners of cards, buttons and images: 'small' is today's.",
            "knownValues": [
              "none",
              "small",
              "round"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "spacing": {
            "description": "The space around and between things: 'normal' is today's.",
            "knownValues": [
              "compact",
              "normal",
              "roomy"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "textLineHeight": {
            "description": "The line height of the site's text: 'normal' is today's.",
            "knownValues": [
              "tight",
              "normal",
              "loose"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "textSize": {
            "description": "The base text size, in steps: 'normal' is today's. Every size and the spacing follow it.",
            "knownValues": [
              "small",
              "normal",
              "large",
              "larger"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "palette": {
      "description": "The colours of one mode, dark or light. A colour left out keeps today's.",
      "properties": {
        "bg": {
          "description": "The background.",
          "ref": "#rgb",
          "type": "ref"
        },
        "bgAlt": {
          "description": "The alternate background: code blocks, table headers.",
          "ref": "#rgb",
          "type": "ref"
        },
        "blue": {
          "description": "The blue accent.",
          "ref": "#rgb",
          "type": "ref"
        },
        "border": {
          "description": "Borders and lines.",
          "ref": "#rgb",
          "type": "ref"
        },
        "green": {
          "description": "The green accent.",
          "ref": "#rgb",
          "type": "ref"
        },
        "muted": {
          "description": "Muted text: dates, notes, the '##' before headings.",
          "ref": "#rgb",
          "type": "ref"
        },
        "pink": {
          "description": "The pink accent.",
          "ref": "#rgb",
          "type": "ref"
        },
        "purple": {
          "description": "The purple accent.",
          "ref": "#rgb",
          "type": "ref"
        },
        "teal": {
          "description": "The teal accent.",
          "ref": "#rgb",
          "type": "ref"
        },
        "text": {
          "description": "Text.",
          "ref": "#rgb",
          "type": "ref"
        }
      },
      "type": "object"
    },
    "rgb": {
      "description": "A colour, as red, green and blue from 0 to 255 (the shape of site.standard.theme.color#rgb).",
      "properties": {
        "b": {
          "maximum": 255,
          "minimum": 0,
          "type": "integer"
        },
        "g": {
          "maximum": 255,
          "minimum": 0,
          "type": "integer"
        },
        "r": {
          "maximum": 255,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "r",
        "g",
        "b"
      ],
      "type": "object"
    }
  },
  "id": "id.skiddle.theme",
  "lexicon": 1
}