Repository navigation
Add custom Console Themes and local fonts - #895
Merged
Merged
Conversation
This was referenced Oct 20, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make a Theme from any existing Theme in the picker, edit or paste its JSON, and save it to the machine's themes folder. Page and CLI imports share token validation, defaults and Console logging.
Closes #825
Evidence
cargo test --test console custom_theme_cli_round_trip_defaults_validation_and_logfailed because the binary had no import command; the browser test failed because the editor was absent.After: CLI/HTTP tests cover saved files, selection/listing, exact JSON round trips, missing-token defaults, reasoned invalid-token refusal, Console log events and confined serving of all four font types.
After: both exact reviewer reproductions pass, and the retained browser test waits for editor results and covers both refresh cases, actual custom-font use, reload persistence, no uploads and 390 px layout.
cargo test,cargo fmt --check,cargo clippy --all-targets -- -D warnings, and all 33 Console browser tests pass.Test seams
thirdshiftbinary's Theme and Console-log commands.Unaddressed findings
Standards
None. Both P3 advisory findings were addressed: Theme construction now preserves validation invariants, and bundled font recognition derives from the embedded CSS declarations.
Spec
None. The P2 stale-style finding was reproduced before fixing it, including the unselected Theme case on Logs. Both cases are retained in
console/tests/custom-themes.test.cjs; the asynchronous test-read race was fixed too.Review coverage
Independent Standards and Spec reviews used
b4b22e47872a55fccec76a49f171472549b8ed9c, the fetchedorigin/issue-776tip at implementation start, as the fixed point. The localissue-776ref was stale and checked out in another worktree. Both reviewers read all 14 changed files, plus supporting files; follow-up review checked the fixes. No generated-output exclusions. No changed file was left unread by either axis. Full reports and each final files-read list are saved in the requested.thirdshift-review-7SyaTL/standards.mdandspec.mdworkspace artifacts.Merge Danger
Door: two-way
The change can be reverted; no migration rewrites existing settings or Themes.
Blast Radius: Console
Theme selection/config validation, custom Theme storage and the Console's look and font assets. Existing built-in Theme contrast and browser behavior remain covered by the Console suite.
Built with codex · gpt-6.1-sol · high