feat: better looking

This commit is contained in:
2026-02-20 21:56:59 +01:00
parent f69f42c647
commit b6446b797f
4 changed files with 172 additions and 47 deletions

View File

@@ -176,7 +176,9 @@ Use macros when you need reusable rich blocks (for example embedded videos, medi
- `[[tag_cloud orientation="mixed_diagonal" width="900" height="420"]]`
- Builds a word cloud from published tag usage counts.
- Word size scales by usage quantity.
- Word color scales by quantity from least to most: blue → green → yellow → orange → red.
- Word color is theme-aware and uses Pico CSS semantic colors.
- Colors are distributed by quantity quantiles with easing, so dense datasets still show visible variation.
- Visual order remains least-to-most: blue → green → yellow → orange → red.
- Clicking a word opens that tag archive route.
- `orientation` is optional and supports:
- `horizontal` (all words horizontal)