Skip to content

Give cockpit renders a guarded blue theme#514

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/blue-cockpit-theme-2026-05-01-00-44
Apr 30, 2026
Merged

Give cockpit renders a guarded blue theme#514
NagyVikt merged 1 commit intomainfrom
agent/codex/blue-cockpit-theme-2026-05-01-00-44

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

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: OmX <omx@oh-my-codex.dev>
@NagyVikt NagyVikt merged commit 5364734 into main Apr 30, 2026
@NagyVikt NagyVikt deleted the agent/codex/blue-cockpit-theme-2026-05-01-00-44 branch April 30, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant