包页面→ /design/icons.md
pages/design/icons.md
33 行, 1.4 KB. 以页面形式查看.
这段内容尚未翻译,下面是英文原文。
- ---
- type: Page
- title: "Icon settings"
- icon: "⚙️"
- description: "The settings of page icons: where files lie, the tiers by default, the budget and the hero pages."
- folder: /assets/icons
- set: /assets/icons/set
- maxBytes: 4096
- defaultTier: pick
- looseTier: pick
- collectionTier: bespoke
- max: 100
- heroes: []
- style: ""
- sets: []
- ---
- The settings of the package "Page icons". How tiers work: [/base/icons.md](/base/icons.md).
- | Field | Default | What |
- |---|---|---|
- | `folder` | `/assets/icons` | where every icon file lies |
- | `set` | `/assets/icons/set` | the shared set: uniform icons that a page of tier `pick` may use |
- | `maxBytes` | 4096 | the size budget of one SVG file |
- | `defaultTier` | `pick` | the tier of a collection without `icons:` |
- | `looseTier` | `pick` | the tier of a page outside every collection |
- | `collectionTier` | `bespoke` | the tier of a collection page itself (the sidebar) |
- | `max` | 100 | bespoke files per collection, unless `icons.max` says otherwise |
- | `heroes` | `[]` | pages that may have a drawing whatever their tier, for example `/index.md` |
- | `style` | empty | the `IconStyle` page; empty: the first one under `/design/` with `role: base` (or no role) |
- | `sets` | `[]` | the icon registries the lens and ICN-R04 read; empty: every `/design/<set>/registry.json` |
- Raising `max`, adding heroes or making `defaultTier` `bespoke` is the owner's decision.