Skip to content

Fixed the selection color of a folded block #30#43

Open
wilywork wants to merge 1 commit into
getomni:mainfrom
wilywork:main
Open

Fixed the selection color of a folded block #30#43
wilywork wants to merge 1 commit into
getomni:mainfrom
wilywork:main

Conversation

@wilywork
Copy link
Copy Markdown

Changes proposed
This PR fixes the selection color of a folded block in the editor. Previously, the selection color was inconsistent with the theme, making it difficult to distinguish selected text within collapsed sections.

The updated color ensures better readability and consistency with the overall design.

Fixes #30

Additional context
Before the fix:
image

After the fix:
image

This change enhances the user experience by improving the visibility of selected text in folded blocks, maintaining color consistency across the editor.

@wilywork wilywork requested a review from diego3g as a code owner March 15, 2025 14:27
tbutkiewicz added a commit to tbutkiewicz/omni-theme-vscode that referenced this pull request May 11, 2026
Apply two pending upstream PRs that were never merged:

- Fix editor.foldBackground to use alpha [BGDark, 40] so selection color
  remains visible through the fold overlay instead of being obscured by
  the solid background. Refs getomni#43

- Add editorBracketHighlight.foreground1-6 and unexpectedBracket.foreground
  for native bracket pair colorization (VS Code 1.60+), mapped to the
  theme palette: FG, pink, cyan, green, purple, orange, red for errors.
  Refs getomni#40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Cor na seleção quando o bloco está minimizado

1 participant