You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cockpit needed a GitGuardex-native palette instead of keeping the dmux amber assumptions in each renderer. This adds a small local theme helper and routes sidebar, menu, welcome, settings, and control rendering through shared color tokens while keeping no-color output plain.
Constraint: Respect NO_COLOR and --no-color without adding color dependencies
Constraint: Keep box drawing and terminal text readable after ANSI stripping
Rejected: Add a chalk-style dependency | local ANSI tokens are enough for the narrow cockpit surface
Confidence: medium
Scope-risk: moderate
Directive: Keep cockpit color tokens centralized in src/cockpit/theme.js before adding renderer-local ANSI codes
Tested: node --test test/cockpit-theme.test.js test/cockpit-sidebar.test.js test/cockpit-menu.test.js test/cockpit-settings-render.test.js test/cockpit-welcome.test.js
Tested: node --test test/cockpit-settings.test.js test/cockpit-theme.test.js test/cockpit-settings-render.test.js
Tested: git diff --check
Not-tested: Full test/cockpit-control.test.js is red on unmodified main for pre-existing shortcut-mode assertions
Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
Co-authored-by: OmX <omx@oh-my-codex.dev>
0 commit comments