Migrating to 1.0
0.2 keeps every previous public name as a deprecated alias. 1.0 removes those aliases and makes the palette internal.
What goes away
Section titled “What goes away”- Names in
tokens/deprecated.yaml, includingcolor.canvas,color.muted,color.error,space.1, andfont.size.body. terminal.symbols.error. Useterminal.symbols.critical.- The classes
.primer-mutedand.primer-error. Use.primer-subduedand.primer-critical. --primer-palette-*in product CSS. Use a color role or a chart series.
What to run
Section titled “What to run”npm run tokens:migrate -- --writein the app, or edit the matches it prints.node <bundle>/check.mjsand fix every error. Warnings name the replacement.- Map the application’s terminal output to
color.text.base,color.text.subdued,color.critical.base, andterminal.space.base. The role argumentsmutedanderrorstay, and selectcolor.text.subduedandcolor.critical.base. - Import the delivered
tokens.cssinstead of hand-written theme variables.
Values do not change when a guarantee still passes. The name does.