Layout scaffolding for Web apps.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

README.md 733 B

12345678910111213141516171819202122232425262728293031323334
  1. # Viewfinder
  2. Layout scaffolding for Web apps.
  3. This library is made to avoid custom repetitive layout code.
  4. ## Usage
  5. See the [kitchen sink](./packages/kitchen-sink) for examples.
  6. The available props per layout are included as a TypeScript declarations file.
  7. ## Configuration
  8. There are CSS variables that can be declared in the parent of the `*.Layout` components
  9. (preferably `:root`) for customizing the metrics of the layout:
  10. ### `--height-topbar`
  11. Default value: `4rem`
  12. Height of the top bar widget.
  13. ### `--size-menu`
  14. Default value: `4rem`
  15. Width or height of the menu, depending on the orientation it is rendered.
  16. ### `--color-background`
  17. Default value: `white`
  18. Background colors of several widgets from the library.