页面/design/icons.md
这段内容尚未翻译,下面是英文原文。
Icon settings
The settings of page icons: where files lie, the tiers by default, the budget and the hero pages.
The settings of the package "Page icons". How tiers work: /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.
包 Page icons 会把此页面放在
/design/icons.md。源文本