Right sidebar typography
| Role | Used for | Size | Line |
|---|---|---|---|
| Primary | Navigation, section labels, item names, ordinary detail text | --fs-base 14px, regular | 20px |
| Secondary | Status, counts, timestamps, paths, file sizes, helper text | --fs-sm 13px | 20px |
| Code | Code, identifiers, terminal output | Keeps its monospace face | Keeps its own |
Scope variables on .right-sidebar (--right-panel-text-size, --right-panel-meta-size) set the roles. Components used elsewhere keep their fallback. Virtualized file rows stay 30px tall.
Implementation
| Aspect | Rule |
|---|---|
| Reuses | The application font and size tokens, the shared SectionHeader, native tree theme overrides. Resource and Activity lists match padding and title/metadata spacing. |
| Avoids | Global element resets, a new typography component, forced capitalization, changes to document or terminal content |
| Does not change | Resource ownership, execution state, navigation, tree virtualization, persisted settings, Goal and fixed-preview behavior |
Acceptance
In the App with populated Files, Activity and Resources, then an execution detail and context records:
- Computed styles match per role, in the file tree's shadow root as well as ordinary DOM.
- No clipped controls or new horizontal overflow at narrow and wide sidebar sizes.
- Selection, disclosure and keyboard focus are preserved.
Implementation status
Implemented, including file-tree theme overrides and execution and context metadata.
Last updated · 2026-11-25