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).
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | wireservice.net |
| Indexed |
Record
record · key tidProperties
componentLayouts
arrayNamed layout definitions inherited by documents that reference this stylesheet.
componentStyles
arrayNamed style definitions inherited by documents that reference this stylesheet.
componentTextStyles
arrayNamed text style definitions inherited by documents that reference this stylesheet.
description
stringOptional human-readable description of the stylesheet (e.g., 'Longform features', 'Daily news').
maxLength: 5000maxGraphemes: 500
fonts
arrayFont 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.
layout
refDefault document grid for documents that don't define their own. The document-level layout overrides this if both are present.
palette
refColor 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.
typography
refTypography 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.
#colorScheme
objectA 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
Color for links and interactive elements.
Text color on accent backgrounds.
Primary background color.
border
unionColor for borders and dividers.
Primary text color.
muted
unionBackground color for muted/secondary areas.
mutedForeground
unionText color for captions, bylines, and secondary content.
surface
unionBackground color for cards and container surfaces.
#fontFace
objectOne font face (a family at one weight and style). Exactly one of url or blob should be set.
Properties
blob
blobThe font file, for openly licensed fonts. WOFF2 is preferred.
maxSize: 2000000accept: font/woff2, font/woff, font/ttf, font/otf
Family name, matched against fontFamily and fontSpec.family.
maxLength: 256
style
stringmaxLength: 64knownValues: normal | italic
url
string · uriURL of the font file, for licensed fonts served by a foundry or the publication (WOFF2 preferred).
weight
integerminimum: 100maximum: 900
#fontSpec
objectA font specification with family, weight, and style.
#palette
objectColor palette with light and optionally dark schemes.
Properties
dark
refColor scheme for dark mode. When omitted, renderers may derive a dark scheme or fall back to the light scheme.
Color scheme for light mode.
#typography
objectTypography defaults for the publication.
Properties
bodyFontSize
integerDefault body font size in points.
minimum: 8maximum: 72
bodyLineHeight
integerDefault body line height in points.
minimum: 8maximum: 120
captionFont
refDefault font for captions and secondary text.
headingFont
refDefault font for headings.
headingScale
stringType scale ratio for heading sizes relative to body.
maxLength: 64knownValues: minor-third | major-third | perfect-fourth | golden-ratio
Similar lexicons
semantic matchLexicons 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.
-
site.standard.theme.basic
recordA simplified theme definition for publications, providing basic color customization for content display across different platforms and applications.
-
id.skiddle.theme
recordThe 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
-
app.offprint.theme
object