Expand description
Typed access to the canonical Stack theme catalog.
The embedded data is generated from catalog/catalog.json. It performs no
filesystem, network, clock, locale, or host-font access at runtime.
Structs§
- Catalog
- The complete versioned theme catalog.
- Catalog
Fallbacks - Catalog-wide recovery choices used after emitting a missing-resource diagnostic.
- Connector
Style - Connector line and label treatment.
- Font
Metrics - One deterministic font measurement table.
- Icon
- Theme-local icon metadata and its safe SVG asset.
- Icon
Asset - A repository-relative icon asset and declared viewport.
- Node
Kind Fallbacks - Complete fallback mapping for Stack 1.0 node kinds.
- Node
Visual - Node shape, palette references, and fallback icon.
- Palette
- Required semantic color slots.
- Provenance
- Source, license, and distribution evidence for an asset.
- Provider
Icon - One namespaced product icon and its locally processed safe SVG.
- Provider
Icon Asset - Original and processed identities for one local SVG file.
- Provider
Pack - A local provider icon pack produced from an archive selected by the user.
- Provider
Pack Additional Source - An additional audited archive used by a multi-source provider pack.
- Provider
Pack Identity - Stable provider namespace and display name.
- Provider
Pack Notice - User-visible source, terms, and non-endorsement text.
- Provider
Pack Processing - Local processing and artwork-preservation requirements.
- Provider
Pack Redistribution - Asset redistribution switches fixed by the user-imported contract.
- Provider
Pack Rights - Provider-specific usage boundary retained with every imported pack.
- Provider
Pack Source - Immutable provenance for the official source archive and reviewed terms.
- Redistribution
- Supported artifact and application distribution channels.
- Theme
- One theme and its theme-local icon collection.
- Typography
- Typography values expressed without platform font measurement.
- Unicode
Range - An inclusive Unicode scalar range encoded as
U+XXXXlabels.
Enums§
- Node
Shape - Renderer-supported node outlines.
- Palette
Token - A reference to a required palette slot.
- Provider
Node Kind - Stack node-kind recommendation attached without changing node semantics.
- Provider
Pack Distribution Mode - Provider packs are always supplied through an explicit local import.
- Provider
Pack Modification Policy - The only modification policy supported by the provider-pack schema.
- Provider
Pack Permitted Output - Output categories copied from the provider’s reviewed terms.
- Provider
Pack Transformation - Auditable, visual-preservation-only transformations applied during import.
Constants§
Functions§
- catalog
- Returns the embedded catalog parsed into the public Rust contract.
- catalog_
json - Returns the exact generated JSON embedded in the crate.
- catalog_
schema_ json - Returns the JSON Schema for the embedded catalog document shape.
- icon_
svg - Returns one validated SVG asset by its catalog path.
- provider_
pack_ schema_ json - Returns the JSON Schema for local user-imported provider icon packs.