Expand description
Vault configuration parsed from config.toml (§5.8).
All fields have defaults so a vault with no config file behaves identically to one with every value spelled out.
Structs§
Enums§
Constants§
- AUTO_
COLORS - Five default category color stops (OKLCH). The order and ids are the
canonical built-in palette;
CategoriesConfig::defaultships them as the initialitemsso a fresh vault inherits a usable sidebar. The previous sixth entry, thenote(blue) category, was retired: orphan refs (memos withcategory = "note") fall back to the default card surface viaresolve_category_colorbecause the id is no longer initems.
Functions§
- resolve_
category_ color - Resolve a category id to its OKLCH color string. Returns the inbox color
(empty/transparent) when the id is empty or not in
items, so an unknown / legacy category never crashes rendering — it falls back to the default card surface (no tint).