NS9 slice: Add source-patched newed palette tokens and terminal adaptation #58
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OBJECTIVE: Add a small source-patched theme model for mim that captures the newed night palette and adapts it deterministically to truecolor, 256-color, 16-color, and mono terminals.
AUTHORITY: Parent #57;
/opt/repositories/newed/newed-theme/src/default_theme.rs,palette.rs,style.rs,adapt.rs;/opt/repositories/newed/newed-theme/REQUIREMENTS.md; mim PRODUCT.md/REQUIREMENTS.md governance and testing rows.AGENT AUTHORITY:
PARENT: #57 via explicit issue link and parent checklist.
SCOPE: Add a minimal
src/theme.zigor equivalent local module with named semantic tokens, newed-derived default values, ANSI SGR rendering helpers, color-mode detection/adaptation, and deterministic tests. Wire only enough to make later render slices use the model.BOUNDARIES: Do not depend on
/opt/repositories/newedat build/runtime. Do not add runtime config files, theme plugins, or a theme marketplace. Do not port the whole Rust theme crate unless a tiny local translation cannot satisfy mim.ACCEPTANCE:
normal,muted,accent,selection,diagnostic_error,panel_bg, etc.), not random call-site RGB literals.VERIFICATION:
zig build testredgate lint /opt/repositories/mim/REQUIREMENTS.md && redgate health /opt/repositories/mim/REQUIREMENTS.mdif requirements change.BLOCKERS: none.
Closing receipt for #58.
Implemented in local commit
5652845(Add newed night theme model):src/theme.zigas the local source-patched newed night semantic palette model.Verification:
zig build✅zig build test✅ (palette token, contrast, adaptation, SGR/reset tests)zig build terminal-e2e✅zig build run -- --help✅zig build --prefix /tmp/mim-install verify-install-code✅redgate list /opt/repositories/mim/REQUIREMENTS.md && redgate lint /opt/repositories/mim/REQUIREMENTS.md && redgate health /opt/repositories/mim/REQUIREMENTS.md✅