Skip to content
Nexivion Labs

Sarmal Library · surface

Theme

a color/font/token theme

Family
surface
.sar
Tema

Fields

FieldTypeRequired
what·Required
code·Optional
colors·Optional
typography·Optional
spacing·Optional
rounded·Optional
file·Optional

Rule

The token-ROLE contract: a .sar file carries only the NAME/ROLE — the VALUE (hex/px) is NEVER written into .sar; it lives in the technology file (ThemeData/:root) and its location is read from the `file:` output-location declaration. The map+hex spelling (the old form) still goes through the invalid-color and low-contrast guards; the role-list spelling is the recommended one.

Back to the Library

Source: SNF-0 v0.6 · Seal 8031fb8fcffc113a