family.pardy.design.theme

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.

Repository @pardy.at did:plc:dp7v5b5kejmmzzpwmqyf5wj6 namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritydesign.pardy.family
Indexed

Record

record · key any

Properties

colorScheme

requiredstring
  • knownValues: light | dark

colors

requiredarray
  • maxLength: 64
itemsref
Reference

createdAt

requiredstring · datetime
  • maxLength: 1000

emoji

string

A small picture for theme pickers.

  • maxLength: 32
  • maxGraphemes: 2

fonts

array
  • maxLength: 16
itemsref
Reference

name

requiredstring
  • maxLength: 64

radii

array
  • maxLength: 16
itemsref
Reference

scenes

array

Variants for the conditions outside. The most specific matching scene wins; earlier scenes win ties.

  • maxLength: 64
itemsref
Reference

#color

object

Properties

role

requiredstring

A semantic role name (camelCase). Open set: readers use the roles they know and ignore the rest.

  • maxLength: 32
  • knownValues: background | onBackground | surface | onSurface | surfaceVariant | card | onCard | onCardMuted | accent | onAccent | neutral | border | success | warning | danger | info

value

requiredstring

Hex color: #rgb, #rgba, #rrggbb or #rrggbbaa.

  • maxLength: 9

#conditions

object

Every listed dimension must match. Open sets: readers ignore values they don't know.

Properties

season

array
itemsstring
  • maxLength: 32
  • knownValues: winter | spring | summer | autumn
itemsstring
  • maxLength: 32
  • knownValues: dawn | morning | afternoon | evening | night

weather

array
itemsstring
  • maxLength: 32
  • knownValues: clear | cloudy | fog | rain | snow | storm

#font

object

Properties

family

requiredstring

A font family name (letters, digits, spaces, hyphens). Apps fall back to their own fonts if they don't have it.

  • maxLength: 64

role

requiredstring

A semantic role name (camelCase). Open set: readers use the roles they know and ignore the rest.

  • maxLength: 32
  • knownValues: body | display | mono

#radius

object

Properties

role

requiredstring

A semantic role name (camelCase). Open set: readers use the roles they know and ignore the rest.

  • maxLength: 32
  • knownValues: small | medium | large | card | button

value

requiredinteger

Pixels.

  • minimum: 0
  • maximum: 999

#scene

object

Properties

Artwork shown behind everything.

  • maxSize: 2000000
  • accept: image/svg+xml, image/png, image/jpeg, image/webp
  • knownValues: light | dark

colors

array

Overrides the theme's colors, role by role.

  • maxLength: 64
itemsref
Reference

name

requiredstring
  • maxLength: 64

when

ref
Reference

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A self-contained theme: a mapping of CSS values to Mise en Mode intent tokens, grouped by aspect. The record key is the expression the theme serves (e.g. 'dark', 'com.homedepot.easter', 'default').

  • A Skywrite theme: the colors of the app's menu, toolbar, links and buttons, as light mode shows them (dark mode darkens them). The same four colors as site.standard.theme.basic. Skywrite's built-in themes are records in skywrite.polhem.us's repo; anyone's own themes are records in their repo. The theme in use is named by its AT URI in us.polhem.skywrite.settings.

  • A Skywrite theme: the colors of the app's menu, toolbar, links and buttons, as light mode shows them (dark mode darkens them). The same four colors as site.standard.theme.basic. Skywrite's built-in themes are records in skywritecms.bsky.social's repo; anyone's own themes are records in their repo. The theme in use is named by its AT URI in us.polhem.skywrite.preferences.app.