página/design/design-lenses.md
Este texto aún no está traducido. Debajo está el original en inglés.
Design lenses
The style specimen and the component catalog of the project: what they show, where the data comes from, how to rebuild.
- Style — the chosen style: every token by group, light and dark side by side, with its CSS name; the
style's pictures and pages. A click on a name copies
var(--name). - Components — the catalog: a tree by level, every state of a component side by side, its controls in the explore panel, the style and theme switch, links to the source and the page. The panel's values stay in the link.
The style is the field style in the header of /design/design.md. After changing it, or the style's
tokens, or a component:
shtuk run lenses build # the kit and the pages' texts
shtuk run design-components sync # lib/design/components.data.js
shtuk run design-lenses build # lib/design/style.data.js
shtuk run design-lenses check says when the specimen's data is stale.
El paquete Design lenses coloca esta página en
/design/design-lenses.md.Texto fuente