place.mode.standard.defs

Repository @mode.place did:plc:rvraq37xlwydvov7laldai6a namespace authority
Details · defs
Kinddefs
Authoritystandard.mode.place
Indexed

#actionPriorities

object

The three Mise en Mode priorities for `action`, counting down from the thing a screen most wants you to do to the thing it least insists on.

Properties

auxiliary

requiredref

The quietest choice.

Reference
  • lex:place.mode.standard.defs#colorIntent

primary

requiredref

The one thing the screen most wants you to do.

Reference
  • lex:place.mode.standard.defs#colorIntent

secondary

requiredref

A supporting choice.

Reference
  • lex:place.mode.standard.defs#colorIntent

#aspects

object

A theme's renderable style, grouped by aspect. Each aspect is optional but complete when present; a theme SHOULD carry at least one.

Properties

The color aspect (21 intents). Optional, but complete when present.

Reference
  • lex:place.mode.standard.defs#colorAspect

The typography aspect (12 text intents). Optional, but complete when present.

Reference
  • lex:place.mode.standard.defs#typographyAspect

#colorAspect

object

The complete color aspect of a theme: control + action + surface (21 intents).

Properties

action

requiredref

Interactive element (button/link) color, by priority.

Reference
  • lex:place.mode.standard.defs#actionPriorities

control

requiredref

Form fields. No priority — all controls are peers.

Reference
  • lex:place.mode.standard.defs#colorIntent

surface

requiredref

Non-interactive container (surface) color, by how far above the page the surface sits.

Reference
  • lex:place.mode.standard.defs#surfacePriorities

#colorIntent

object

The three color values for a single intent (a purpose, or a purpose+priority).

Properties

background

requiredstring

Any valid CSS <color> for the element's background.

  • maxLength: 128

border

requiredstring

Any valid CSS <color> for the element's border.

  • maxLength: 128

foreground

requiredstring

Any valid CSS <color> for the element's foreground (text/icon).

  • maxLength: 128

#fontDescriptor

object

One @font-face declaration. Only `family` is schema-required; a source (`src` or `file`) is required by the standard.

Properties

display

string

CSS font-display descriptor (e.g. 'swap', 'fallback').

  • maxLength: 32

family

requiredstring

The font-family name as it should appear in CSS (e.g. 'Inter').

  • maxLength: 256

file

blob

A font file stored as a blob on the author's PDS. Takes precedence over `src` when both are present.

  • maxSize: 5000000
  • accept: font/woff2, font/woff, font/ttf, font/otf, application/octet-stream

src

string

A URL to the font file, or a CSS `src` value (e.g. 'url(https://...) format(woff2)'). Alternative to `file`.

  • maxLength: 1024

stretch

string

CSS font-stretch/font-width descriptor or range (e.g. 'normal', '75% 125%').

  • maxLength: 64

style

string

CSS font-style descriptor (e.g. 'normal', 'italic', 'oblique 0deg 20deg').

  • maxLength: 32

CSS unicode-range descriptor (e.g. 'U+0000-00FF, U+0131'). Lets several entries share one `family` for subsetting.

  • maxLength: 2048

weight

string

CSS font-weight descriptor or range (e.g. '400', '100 900').

  • maxLength: 32

#surfacePriorities

object

The three Mise en Mode priorities for `surface`, counting down from the layer that claims most of a reader's attention to the one that claims least. Because priority counts down, the page is `auxiliary` and not `primary`: a page is what a modal interrupts.

Properties

auxiliary

requiredref

The page itself, and everything sitting on it rather than above it — cards, bars, panels. The layer a theme is mostly made of.

Reference
  • lex:place.mode.standard.defs#colorIntent

primary

requiredref

A surface that interrupts the page: modal, dialog, alert, sheet.

Reference
  • lex:place.mode.standard.defs#colorIntent

secondary

requiredref

A surface over the page, not instead of it: flyout, menu, popover.

Reference
  • lex:place.mode.standard.defs#colorIntent

#textIntent

object

Typography metrics for a single text priority. Color is intentionally excluded (it belongs to the containing surface).

Properties

family

requiredstring

A CSS font-family value; should match a `family` in the theme's `fonts` array.

  • maxLength: 256

lineHeight

requiredstring

A valid CSS line-height value (e.g. '1.4').

  • maxLength: 128

size

requiredstring

A valid CSS <length-percentage> font size (e.g. '1.25rem').

  • maxLength: 128

weight

requiredstring

A valid CSS <font-weight> (e.g. '400', '600').

  • maxLength: 128

#textPriorities

object

The three Mise en Mode priorities for `text`, counting down from the text that claims most of a reader's attention to the text that claims least.

Properties

auxiliary

requiredref

Detail and help: captions, hints, legal.

Reference
  • lex:place.mode.standard.defs#textIntent

primary

requiredref

Headlines and titles.

Reference
  • lex:place.mode.standard.defs#textIntent

secondary

requiredref

Body copy — the text a page is mostly made of.

Reference
  • lex:place.mode.standard.defs#textIntent

#typographyAspect

object

The typography aspect of a theme: text (12 intents), complete when present.

Properties

text

requiredref

Typography by priority.

Reference
  • lex:place.mode.standard.defs#textPriorities

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 publication-level stylesheet record providing default named layouts, styles, and text styles, plus typography and color palette defaults. Documents reference a stylesheet by AT URI to inherit its named entries. Document-level entries with the same name override the stylesheet's entry wholesale (including its conditional overrides).

  • family.pardy.design.theme

    record not from the namespace authority

    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.