net.wireservice.stylesheet

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).

Repository @wireservice.net did:plc:lktj64hp7lc3fzuf6iyy7lwj namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritywireservice.net
Indexed

Record

record · key tid

Properties

Named layout definitions inherited by documents that reference this stylesheet.

Named style definitions inherited by documents that reference this stylesheet.

Named text style definitions inherited by documents that reference this stylesheet.

Optional human-readable description of the stylesheet (e.g., 'Longform features', 'Daily news').

  • maxLength: 5000
  • maxGraphemes: 500

fonts

array

Font faces this stylesheet uses. Renderers load them before falling back to locally installed fonts. Use a blob only for fonts whose license allows redistribution: PDS blobs are public.

itemsref
Reference

Default document grid for documents that don't define their own. The document-level layout overrides this if both are present.

Color palette with light and (optionally) dark color schemes. Renderers use these for fallback colors in components that don't set explicit colors via componentStyles or componentTextStyles. Complements site.standard.theme.basic, which is the ecosystem-shared four-color brand palette and remains on the publication record.

Reference

Typography defaults: bodies, headings, captions, type scale. Renderers fall back to these for text components that don't reference an explicit textStyle, and for fields a textStyle leaves unset.

Reference

#colorScheme

object

A set of color roles for a single color scheme (light or dark). Background, foreground, accent, and accentForeground are required and parallel site.standard.theme.basic; the remaining roles add richer vocabulary for editorial layouts.

Properties

accent

requiredunion

Color for links and interactive elements.

accentForeground

requiredunion

Text color on accent backgrounds.

background

requiredunion

Primary background color.

border

union

Color for borders and dividers.

foreground

requiredunion

Primary text color.

muted

union

Background color for muted/secondary areas.

Text color for captions, bylines, and secondary content.

surface

union

Background color for cards and container surfaces.

#fontFace

object

One font face (a family at one weight and style). Exactly one of url or blob should be set.

Properties

blob

blob

The font file, for openly licensed fonts. WOFF2 is preferred.

  • maxSize: 2000000
  • accept: font/woff2, font/woff, font/ttf, font/otf

family

requiredstring

Family name, matched against fontFamily and fontSpec.family.

  • maxLength: 256

style

string
  • maxLength: 64
  • knownValues: normal | italic

url

string · uri

URL of the font file, for licensed fonts served by a foundry or the publication (WOFF2 preferred).

weight

integer
  • minimum: 100
  • maximum: 900

#fontSpec

object

A font specification with family, weight, and style.

Properties

family

requiredstring

Font family name (e.g., 'Georgia', 'Helvetica Neue').

  • maxLength: 256

style

string
  • maxLength: 64
  • knownValues: normal | italic

weight

integer

Font weight (100-900).

  • minimum: 100
  • maximum: 900

#palette

object

Color palette with light and optionally dark schemes.

Properties

dark

ref

Color scheme for dark mode. When omitted, renderers may derive a dark scheme or fall back to the light scheme.

Reference

light

requiredref

Color scheme for light mode.

Reference

#typography

object

Typography defaults for the publication.

Properties

Default font for body text.

Reference

Default body font size in points.

  • minimum: 8
  • maximum: 72

Default body line height in points.

  • minimum: 8
  • maximum: 120

Default font for captions and secondary text.

Reference

Default font for headings.

Reference

Type scale ratio for heading sizes relative to body.

  • maxLength: 64
  • knownValues: minor-third | major-third | perfect-fourth | golden-ratio

Similar lexicons

semantic match

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

  • Standard Reader typography for a collections publication. Uses the same record key as the publication. Colors remain on the publication's site.standard.theme.basic record.

  • 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.

  • A simplified theme definition for publications, providing basic color customization for content display across different platforms and applications.

  • The site's theme: its look for visitors who haven't picked their own (light or dark, and the accent colour), its design (colours for dark and light, fonts, text size, line heights, corners, spacing and the terminal touches), and the design of its share cards (the pictures link previews show). One record, key 'self'. A field left out, or a value the site doesn't know, keeps today's look: follow the device, blue, the site's own colours and fonts, and the terminal cards. A card's logo is the public