Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 15:46
· 53 commits to main since this release
Immutable release. Only release title and notes can be modified.
c4319d7

@component and @token refs resolve against Airframe

When a repository has airframe.yaml, Gantry checks @token:<name> and @component:<id> references against Airframe's sources, as it already checks @screen: against Starboard's registry.

New

  • Token names are Airframe's hyphenated names, such as gray-50, read from <content>/**/*.tokens.json. Component IDs come from <content>/components/*.yaml. <content> defaults to design-system.
  • An unknown token or component is ref-unresolved. A dotted ref such as @token:tabbar.h gets "did you mean @token:tabbar-h?".
  • Unreadable files don't fail the lint. An unreadable token or component file is one sibling-unreadable info, and the rest still resolve. JSON is streamed with a depth cap of 64 and a size cap of 8 MiB.
  • The web app, the VS Code extension and the CLI resolve the same refs. VS Code honours unsaved token edits.
  • examples/reference-slice gains a small Airframe design system that Airframe v0.10.0's own lint passes.

Fixed

  • Inline code in ruling prose now has readable contrast.

Full changes: #8