references/style-presets.md
1.9 KB查看排版效果| 1 | # Style Presets |
| 2 | |
| 3 | `--preset X` expands to a style + layout + optional palette combination. Users can override any dimension. |
| 4 | |
| 5 | | --preset | Style | Layout | Palette | |
| 6 | |----------|-------|--------|---------| |
| 7 | | `knowledge-card` | `notion` | `dense` | | |
| 8 | | `checklist` | `notion` | `list` | | |
| 9 | | `concept-map` | `notion` | `mindmap` | | |
| 10 | | `swot` | `notion` | `quadrant` | | |
| 11 | | `tutorial` | `chalkboard` | `flow` | | |
| 12 | | `classroom` | `chalkboard` | `balanced` | | |
| 13 | | `study-guide` | `study-notes` | `dense` | | |
| 14 | | `cute-share` | `cute` | `balanced` | | |
| 15 | | `girly` | `cute` | `sparse` | | |
| 16 | | `cozy-story` | `warm` | `balanced` | | |
| 17 | | `product-review` | `fresh` | `comparison` | | |
| 18 | | `nature-flow` | `fresh` | `flow` | | |
| 19 | | `warning` | `bold` | `list` | | |
| 20 | | `versus` | `bold` | `comparison` | | |
| 21 | | `clean-quote` | `minimal` | `sparse` | | |
| 22 | | `pro-summary` | `minimal` | `balanced` | | |
| 23 | | `retro-ranking` | `retro` | `list` | | |
| 24 | | `throwback` | `retro` | `balanced` | | |
| 25 | | `pop-facts` | `pop` | `list` | | |
| 26 | | `hype` | `pop` | `sparse` | | |
| 27 | | `poster` | `screen-print` | `sparse` | | |
| 28 | | `editorial` | `screen-print` | `balanced` | | |
| 29 | | `cinematic` | `screen-print` | `comparison` | | |
| 30 | | `hand-drawn-edu` | `sketch-notes` | `flow` | `macaron` | |
| 31 | | `sketch-card` | `sketch-notes` | `dense` | `macaron` | |
| 32 | | `sketch-summary` | `sketch-notes` | `balanced` | `macaron` | |
| 33 | |
| 34 | Empty Palette = use style's built-in colors (or style's `default_palette` if defined in frontmatter). |
| 35 | |
| 36 | ## Override Examples |
| 37 | |
| 38 | - `--preset knowledge-card --style chalkboard` = chalkboard style with dense layout |
| 39 | - `--preset poster --layout quadrant` = screen-print style with quadrant layout |
| 40 | - `--preset hand-drawn-edu --palette warm` = sketch-notes style with flow layout, warm palette instead of macaron |
| 41 | - `--style notion --palette macaron` = notion rendering rules with macaron colors |
| 42 | |
| 43 | Explicit `--style`/`--layout`/`--palette` flags always override preset values. |
文件内容是平台检查时读出的文本,只供查看。平台不会运行包里的任何脚本或程序。

