Repository navigation
Choose the theme: the system's, light or dark - #91
Open
armada45-pixel wants to merge 1 commit into
Open
armada45-pixel wants to merge 1 commit into
armada45-pixel wants to merge 1 commit into
Conversation
This was referenced Oct 13, 2026
The app followed the Omarchy theme or the system's light or dark setting and offered no way to overrule either. `T` now steps from the system's theme to light, to dark and round again, and a notice names the one in force. A chosen light or dark stays put when the system's appearance changes; going back to the system's resumes following it, or the Omarchy theme files. The choice lasts for the run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
armada45-pixel
force-pushed
the
theme-choice
branch
from
November 29, 2026 21:05
9cad6e6 to
fb4769d
Compare
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.
One of a set of small PRs that replace #87 and #88, one feature each. Rebased onto 1.5.0 (73bdbb3); they touch neighbouring lines in
state.rs,views.rsandtests.rs, so whichever merges later will need another rebase; I'll do those as they come up.T(shift-t) steps the theme from the system's to light, to dark and round again; a notice names the one now in force. A chosen light or dark stays put when the system's appearance changes; System resumes following it (or the Omarchy theme files, where there are any). The key is listed in the?overlay and the README.The choice lasts for the run. Remembering it between launches is left to a later PR, since saving settings is its own change.
Also. Text on the highlight is now whichever end of the theme stands further from the fill. In the light theme the "Mark for removal" button drew dark text on a dark amber and could hardly be read.
Behaviour change. Shift-T no longer does what plain
tdoes (Size / Files / Age); plaintis unchanged.Verified.
cargo xtask lintis green on Windows and all 99 disktree-app tests pass. 9 tests in disktree-cli, disktree-core and disktree-scanner (btrfs, hardlink and cache tests) fail on Windows on an unchanged 1.5.0 too, so the fullcargo xtask testrun is red there for reasons outside this PR.Since 1.5.0. The contrast fix for the highlighted button is gone: 1.5.0 removed that button and
palette::on_highlight.Not verified. Nothing was run on Linux or macOS. On this branch the feature was exercised through the window-harness tests only; the app was not launched from it. Returning to the Omarchy theme files after an explicit choice, and a real system appearance change arriving while light or dark is chosen, are untested.
🤖 Generated with Claude Code