mirror of
https://github.com/quartz-community/spacer.git
synced 2026-07-22 02:50:25 +00:00
No description
| .github/workflows | ||
| dist | ||
| src | ||
| test | ||
| types | ||
| .eslintrc.json | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||
@quartz-community/spacer
A component plugin that renders a flexible spacer element that pushes adjacent components apart within a layout group. It uses CSS flex: 2 1 auto to fill available space, making it useful for spacing out items in toolbars or sidebars (for example, separating the search bar from the darkmode toggle in the left sidebar toolbar).
Installation
npx quartz plugin add github:quartz-community/spacer
Usage
plugins:
- source: github:quartz-community/spacer
enabled: true
layout:
position: left
priority: 15
display: all
Configuration
This plugin has no configuration options.
Documentation
See the Quartz documentation for more information.
License
MIT