Flare
A horizontal streak of light with a bright core, like a lens flare. Use it as an accent or a divider.
| Name | Type | What it does |
|---|---|---|
flare | component | The streak of light. Its height scales the whole thing |
--x | modifier | CSS variable: where the core sits along the streak (default 50%) |
flare-primary | colour | Tints it with the primary colour |
flare-secondary | colour | Tints it with the secondary colour |
flare-success | colour | Tints it with the success colour |
flare-warning | colour | Tints it with the warning colour |
flare-danger | colour | Tints it with the danger colour |
Flare
<div class="flare"></div>As a divider, core off-centre
<hr class="flare flare-secondary" style="height: 1.5rem; --x: 25%">