A general-purpose visual theme: colors, fonts and corner radii by semantic role. Public, so any app can publish and use it. Apps map roles to their own styling, ignore roles they don't know, and must validate values before using them.
any
Any valid record key
Properties
colorScheme
string
Required
No description available.
light, darkcolors
array
of
ref
#color
Required
No description available.
maxLength: 64 itemscreatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
description
string
Optional
No description available.
maxLength: 1000 bytesemoji
string
Optional
A small picture for theme pickers.
maxLength: 32 bytesmaxGraphemes: 2 graphemesfonts
array
of
ref
#font
Optional
No description available.
maxLength: 16 itemsname
string
Required
No description available.
maxLength: 64 bytesradii
array
of
ref
#radius
Optional
No description available.
maxLength: 16 itemsscenes
array
of
ref
#scene
Optional
Variants for the conditions outside. The most specific matching scene wins; earlier scenes win ties.
maxLength: 64 itemsView raw schema
{
"description": "A general-purpose visual theme: colors, fonts and corner radii by semantic role. Public, so any app can publish and use it. Apps map roles to their own styling, ignore roles they don't know, and must validate values before using them.",
"key": "any",
"record": {
"properties": {
"colorScheme": {
"knownValues": [
"light",
"dark"
],
"type": "string"
},
"colors": {
"items": {
"ref": "#color",
"type": "ref"
},
"maxLength": 64,
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"maxLength": 1000,
"type": "string"
},
"emoji": {
"description": "A small picture for theme pickers.",
"maxGraphemes": 2,
"maxLength": 32,
"type": "string"
},
"fonts": {
"items": {
"ref": "#font",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"name": {
"maxLength": 64,
"type": "string"
},
"radii": {
"items": {
"ref": "#radius",
"type": "ref"
},
"maxLength": 16,
"type": "array"
},
"scenes": {
"description": "Variants for the conditions outside. The most specific matching scene wins; earlier scenes win ties.",
"items": {
"ref": "#scene",
"type": "ref"
},
"maxLength": 64,
"type": "array"
}
},
"required": [
"name",
"colorScheme",
"colors",
"createdAt"
],
"type": "object"
},
"type": "record"
}