feat(ui): add Type color, icon, and sidebar section group

- Add Type to color maps (accent-blue) in typeColors.ts
- Add StackSimple icon for Type in NoteList, Inspector, and Sidebar
- Add "Types" section group to sidebar navigation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
lucaronin
2026-02-20 21:45:54 +01:00
parent 6a203b27f9
commit 2a564578a8
4 changed files with 8 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ const TYPE_COLOR_MAP: Record<string, string> = {
Person: 'var(--accent-yellow)',
Event: 'var(--accent-yellow)',
Topic: 'var(--accent-green)',
Type: 'var(--accent-blue)',
}
const TYPE_LIGHT_COLOR_MAP: Record<string, string> = {
@@ -21,6 +22,7 @@ const TYPE_LIGHT_COLOR_MAP: Record<string, string> = {
Person: 'var(--accent-yellow-light)',
Event: 'var(--accent-yellow-light)',
Topic: 'var(--accent-green-light)',
Type: 'var(--accent-blue-light)',
}
const DEFAULT_COLOR = 'var(--accent-blue)'