feat(core): add ColorConfig struct with TOML support

Replace empty AppConfig stub with ColorConfig struct that stores level-to-color mappings as strings. Supports loading/saving from XDG config directory via TOML, with graceful degradation on missing/invalid files.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
dailz
2026-04-12 10:50:39 +08:00
parent 67a118a8c8
commit 105e428a43
3 changed files with 217 additions and 1 deletions

View File

@@ -17,3 +17,4 @@ directories.workspace = true
[dev-dependencies]
insta.workspace = true
tempfile.workspace = true