Specification
Look System
kanonak.org
derivation@1.1.0
derivation
Card
A self-contained card representation suitable for grid layouts, feeds, and dashboards. Usually shows an icon / image, a title, and a small amount of metadata.
Compact
A reduced representation suitable for embedding in lists, cards, or aggregate views. Typically emits less detail than the default variant.
Default
The canonical / primary derivation for a format. Used when a consumer requests a format without specifying a variant.
Derivation
A single binding declaring how an instance of a class is derived into an artifact of a specific format and variant via a named transformation. Carried in lists…
Derivations
The list of derivations available for instances of the class. Each entry binds a (format, variant) pair to a transformation. Class-hierarchy override merges by…
Focus
A single-thing-at-a-time representation, optimized for the case where the resource is the sole subject of the page — typically with chrome de-emphasized.
Format
The target format produced by this derivation. References a canonical Format instance from `kanonak.org/formats@1.0.0` or a publisher extension thereof.
Look
Declarative visual presentation for instances of this class. Value is typically an instance of look.ResourceView, look.PackageView, or look.PublisherView (from…
Print
A representation optimized for print or PDF output. May expand collapsed sections, drop interactive elements, and apply a print stylesheet.
Summary
A short-form summary representation. Typically a single paragraph or a few key facts, suitable for previews and snippets.
Tokens
Visual token overrides for instances of this class. Value is an embedded resource whose statements are (Token URI, value) pairs — e.g., `look.accent: "hsl(200,…
Transformation
Pointer to the published transformation that produces the artifact. Resolves at lookup time via TransformationReference's publisher / package / version / name…
Variant
A named variant within a format. The same class may have multiple derivations producing the same format but optimized for different contexts (default for the…
Variant
The named variant within the format. Defaults to `default` when omitted on a Derivation declaration. A class with one derivation per format need not specify…