style: let the stash indicator recede - #201
Merged
Merged
Conversation
White put the quietest thing in the segment at its brightest: #e5e5e5 reads 13.2:1 against the terminal ground, above the 10.4:1 of ordinary prompt text, so a stash drew more attention than the states around it. A stash is something tucked out of the way for a moment, and the indicator should behave like what it marks: present, but not asking for anything. That is already what this config means by bright-black -- cmd_duration, username and the hostname's @ all sit there -- and it stays 56 to 99 from the other five in Lab, so nothing collides. It measures 2.9:1, under the 3:1 contrast floor. That floor is about text you have to read; this is a mark you either catch or you do not, and not catching it until you look for it is the right behaviour for something put away on purpose. cmd_duration has been at the same value all along. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
jiminu
force-pushed
the
style/dim-stash-indicator
branch
from
September 13, 2026 12:36
f802250 to
0b0e5d3
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.
whiteput the quietest thing in the segment at its brightest.#1e1e1ewhite#e5e5e5— shipped in #200#ccccccbright-black#666666A stash was drawing more attention than the text around it, which is backwards for something you retrieve eventually rather than act on now.
bright-blackis already what this config means by background information —[cmd_duration],[username]and the hostname's@all sit there. It stays well clear of the rest of the segment:The tradeoff, stated plainly
2.90:1 is just under the 3:1 contrast floor — the dimmest thing in the prompt. That is the intent here, and it is the same value
[cmd_duration]has always used, but it is a floor this crosses knowingly rather than by accident.If a stash turns out to be too easy to miss, dropping the style entirely (
[*${count}]()) lands at#cccccc/ 10.38:1 — recessive relative to the colored states without leaving the floor. That is also what powerlevel10k'smetaactually resolves to.Verification
Rendered from the real config:
A repository with only a stash renders
\033[90m*1.scripts/check.shpasses: Bash syntax, Zsh syntax, ShellCheck, shfmt, 353 tests.