Skip to content

feat: tone down indent guides and comments - #5

Merged
marekh19 merged 2 commits into
mainfrom
feat/tone-down-indent-comments
Jul 16, 2026
Merged

marekh19 merged 2 commits into
mainfrom
feat/tone-down-indent-comments

Conversation

@marekh19

@marekh19 marekh19 commented Jul 16, 2026 •

Copy link
Copy Markdown
Owner

Resolves #4

Tone down two elements that read as too prominent (Reddit feedback, u/joncorv). Both fixed by splitting a shared token so the dim doesn't bleed into unrelated UI.

Indent guides

  • New indent palette token (night + dawn), separate from fg_faint so gutter/punctuation/operators keep their weight.
  • Wired via c.indent in IblIndent, IndentBlanklineChar, IblWhitespace, SnacksIndent, NvimTreeIndentMarker.
  • Contrast on editor bg: night 4.61 → 1.90:1, dawn 2.77 → 1.52:1.
  • Active scope indicators (lavender) untouched.

Comments

  • New comment palette token, split from fg_mute so docs, folds, diagnostics, statusline, and SpecialComment are unaffected.
  • Contrast: night 8.10 → 4.44:1 (~WCAG AA), dawn 4.44 → 3.85:1 (gentler, comments stay legible).
  • Doc comments (@comment.documentation, @string.documentation) follow the new token.

Docs

  • README palette tables + swatches regenerated (just extras): added indent + comment rows, re-scoped fg_mute.

Indent guides shared fg_faint with gutter/punctuation/operators, so they
couldn't be dimmed without dimming those too. New `indent` token lets them
drop independently: night 4.61->1.90:1, dawn 2.77->1.52:1 contrast on bg_0.
Active scope indicators and comments unchanged.
@marekh19 marekh19 self-assigned this Jul 16, 2026
Comments drove fg_mute, which also feeds docs, folds, diagnostics, and
statusline. New `comment` token lets comments recede independently: night
8.10->4.44:1, dawn 4.44->3.85:1 contrast on bg_0. Doc comments follow the new
token; SpecialComment and other fg_mute UI stay bright. README palette tables +
swatches regenerated.
@marekh19 marekh19 changed the title feat(indent): add dedicated dimmer token for passive indent guides feat: tone down indent guides and comments Jul 16, 2026
@marekh19
marekh19 merged commit c7eebfb into main Jul 16, 2026
1 check passed
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.

Tone down indent guides; consider softening comments slightly

1 participant