TheoryOfNekomata 97e70bc895 | 1 year ago | |
---|---|---|
packages | 1 year ago | |
.editorconfig | 3 years ago | |
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 1 year ago | |
pnpm-lock.yaml | 1 year ago | |
pnpm-workspace.yaml | 1 year ago |
Layout scaffolding for Web apps.
This library is made to avoid custom repetitive layout code.
See the kitchen sink for examples.
The available props per layout are included as a TypeScript declarations file.
There are CSS variables that can be declared in the parent of the *.Layout
components
(preferably :root
) for customizing the metrics of the layout:
--height-topbar
Default value: 4rem
Height of the top bar widget.
--size-menu
Default value: 4rem
Width or height of the menu, depending on the orientation it is rendered.
--color-background
Default value: white
Background colors of several widgets from the library.