mirror of
https://github.com/quartz-community/spacer.git
synced 2026-11-17 00:03:38 +00:00
Quartz's default spacer plugin.
- TypeScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .changeset | ||
| .github/workflows | ||
| 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 @quartz-community/spacer
The spacer is already in Quartz's default configuration.
Usage
plugins:
- source: "@quartz-community/spacer"
enabled: true
options: {}
order: 25
layout:
position: left
priority: 25
display: mobile-only
Configuration
This plugin has no configuration options.
Documentation
See the Quartz documentation for more information.
License
MIT