Minimal lens layout
A lens frame with content-height sheets, folded corner buttons and search in the sidebar head.
Sobre el paquete
Este texto aún no está traducido. Debajo está el original en inglés.
Places the sidebar, page and settings in one lens frame. The sheets fit their content and scroll inside
when they reach the window insets. A folded sheet leaves a square button in its corner.
Cards can open over the right settings panel, in a centered modal, or next to the trigger.
The lens build includes the card host from card/ alongside the layout entry points.
The layout reads style tokens and uses the project's component library. The choice is layout:
on Design. Run shtuk run lenses build after changing it.
Acciones 1
| Nombre | Qué hace | Archivo | Cuándo |
|---|---|---|---|
| adopt | Select the minimal layout when the project has no layout | actions/adopt.ts | tras instalar tras actualizar |
shtuk check ejecuta las comprobaciones; shtuk run layout-minimal <nombre> ejecuta cualquier acción. Las acciones «tras instalar» solo se ejecutan solas si el paquete viene de una fuente de confianza.
Páginas 5
Se copian al proyecto en estas rutas.
- /design/
- Minimal lens layout página
- /design/layout-minimal/
- layout.css archivo
- layout.js archivo
- /design/layout-minimal/card/
- card.css archivo
- card.js archivo
Archivos del paquete 6
Van a .shtukbase/packages/layout-minimal/; las acciones se ejecutan desde ahí.