{ "lexicon": 1, "id": "place.hud.theme", "description": "A theme a person made for HUD's workspace, for anyone to draw it in.", "defs": { "main": { "type": "record", "description": "Kept in the account that made it, keyed by a TID. Choosing one (place.hud.setTheme) copies its colours, so a theme changed or deleted later leaves those who chose it as they were.", "key": "tid", "record": { "type": "object", "required": [ "name", "colorScheme", "palette", "createdAt" ], "properties": { "name": { "type": "string", "maxLength": 640, "maxGraphemes": 64, "description": "What the theme is called, as the workspace lists it." }, "colorScheme": { "type": "string", "maxLength": 16, "knownValues": [ "light", "dark" ], "description": "Whether it is light or dark: how a platform draws what the palette does not colour." }, "palette": { "type": "ref", "ref": "place.hud.defs#palette", "description": "Its colours, each text reading at 4.5:1 or better on what it is drawn on." }, "createdAt": { "type": "string", "format": "datetime" } } } } } }