place.mode.standard.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | standard.mode.place |
| Indexed |
#actionPriorities
objectThe 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
The quietest choice.
- lex:place.mode.standard.defs#colorIntent
The one thing the screen most wants you to do.
- lex:place.mode.standard.defs#colorIntent
A supporting choice.
- lex:place.mode.standard.defs#colorIntent
#aspects
objectA theme's renderable style, grouped by aspect. Each aspect is optional but complete when present; a theme SHOULD carry at least one.
Properties
color
refThe color aspect (21 intents). Optional, but complete when present.
- lex:place.mode.standard.defs#colorAspect
typography
refThe typography aspect (12 text intents). Optional, but complete when present.
- lex:place.mode.standard.defs#typographyAspect
#colorAspect
objectThe complete color aspect of a theme: control + action + surface (21 intents).
Properties
Interactive element (button/link) color, by priority.
- lex:place.mode.standard.defs#actionPriorities
Form fields. No priority — all controls are peers.
- lex:place.mode.standard.defs#colorIntent
Non-interactive container (surface) color, by how far above the page the surface sits.
- lex:place.mode.standard.defs#surfacePriorities
#colorIntent
objectThe three color values for a single intent (a purpose, or a purpose+priority).
Properties
Any valid CSS <color> for the element's background.
maxLength: 128
Any valid CSS <color> for the element's border.
maxLength: 128
Any valid CSS <color> for the element's foreground (text/icon).
maxLength: 128
#fontDescriptor
objectOne @font-face declaration. Only `family` is schema-required; a source (`src` or `file`) is required by the standard.
Properties
display
stringCSS font-display descriptor (e.g. 'swap', 'fallback').
maxLength: 32
The font-family name as it should appear in CSS (e.g. 'Inter').
maxLength: 256
file
blobA font file stored as a blob on the author's PDS. Takes precedence over `src` when both are present.
maxSize: 5000000accept: font/woff2, font/woff, font/ttf, font/otf, application/octet-stream
src
stringA URL to the font file, or a CSS `src` value (e.g. 'url(https://...) format(woff2)'). Alternative to `file`.
maxLength: 1024
stretch
stringCSS font-stretch/font-width descriptor or range (e.g. 'normal', '75% 125%').
maxLength: 64
style
stringCSS font-style descriptor (e.g. 'normal', 'italic', 'oblique 0deg 20deg').
maxLength: 32
unicodeRange
stringCSS unicode-range descriptor (e.g. 'U+0000-00FF, U+0131'). Lets several entries share one `family` for subsetting.
maxLength: 2048
weight
stringCSS font-weight descriptor or range (e.g. '400', '100 900').
maxLength: 32
#surfacePriorities
objectThe 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
The page itself, and everything sitting on it rather than above it — cards, bars, panels. The layer a theme is mostly made of.
- lex:place.mode.standard.defs#colorIntent
A surface that interrupts the page: modal, dialog, alert, sheet.
- lex:place.mode.standard.defs#colorIntent
A surface over the page, not instead of it: flyout, menu, popover.
- lex:place.mode.standard.defs#colorIntent
#textIntent
objectTypography metrics for a single text priority. Color is intentionally excluded (it belongs to the containing surface).
Properties
A CSS font-family value; should match a `family` in the theme's `fonts` array.
maxLength: 256
A valid CSS line-height value (e.g. '1.4').
maxLength: 128
A valid CSS <length-percentage> font size (e.g. '1.25rem').
maxLength: 128
A valid CSS <font-weight> (e.g. '400', '600').
maxLength: 128
#textPriorities
objectThe 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
Detail and help: captions, hints, legal.
- lex:place.mode.standard.defs#textIntent
Headlines and titles.
- lex:place.mode.standard.defs#textIntent
Body copy — the text a page is mostly made of.
- lex:place.mode.standard.defs#textIntent
#typographyAspect
objectThe typography aspect of a theme: text (12 intents), complete when present.
Properties
Typography by priority.
- lex:place.mode.standard.defs#textPriorities
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.mode.standard.theme
recordA 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').
-
net.wireservice.stylesheet
recordA 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).
-
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.
-
app.offprint.theme
object