Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several color defaults that "need transparency" are opaque #237507

Open
andrewsuzuki opened this issue Jan 8, 2025 · 0 comments
Open

Several color defaults that "need transparency" are opaque #237507

andrewsuzuki opened this issue Jan 8, 2025 · 0 comments
Assignees

Comments

@andrewsuzuki
Copy link
Contributor

  • minimap.findMatchHighlight (all)
  • minimap.selectionOccurrenceHighlight (all)
  • minimap.selectionHighlight (all)
    • also opaque in a few built-in themes: Red, Quiet Light, Abyss, etc
  • terminal.findMatchBackground (dark, light, hcLight) (dark and light refer to editor.findMatchBackground)
  • editorOverviewRuler.findMatchForeground (hcDark, hcLight)

export const minimapFindMatch = registerColor('minimap.findMatchHighlight',
{ light: '#d18616', dark: '#d18616', hcDark: '#AB5A00', hcLight: '#0F4A85' },
nls.localize('minimapFindMatchHighlight', 'Minimap marker color for find matches.'), true);
export const minimapSelectionOccurrenceHighlight = registerColor('minimap.selectionOccurrenceHighlight',
{ light: '#c9c9c9', dark: '#676767', hcDark: '#ffffff', hcLight: '#0F4A85' },
nls.localize('minimapSelectionOccurrenceHighlight', 'Minimap marker color for repeating editor selections.'), true);
export const minimapSelection = registerColor('minimap.selectionHighlight',
{ light: '#ADD6FF', dark: '#264F78', hcDark: '#ffffff', hcLight: '#0F4A85' },
nls.localize('minimapSelectionHighlight', 'Minimap marker color for the editor selection.'), true);

export const TERMINAL_FIND_MATCH_BACKGROUND_COLOR = registerColor('terminal.findMatchBackground', {
dark: editorFindMatch,
light: editorFindMatch,
// Use regular selection background in high contrast with a thick border
hcDark: null,
hcLight: '#0F4A85'
}, nls.localize('terminal.findMatchBackground', 'Color of the current search match in the terminal. The color must not be opaque so as not to hide underlying terminal content.'), true);

export const overviewRulerFindMatchForeground = registerColor('editorOverviewRuler.findMatchForeground',
{ dark: '#d186167e', light: '#d186167e', hcDark: '#AB5A00', hcLight: '#AB5A00' },
nls.localize('overviewRulerFindMatchForeground', 'Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations.'), true);

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

No branches or pull requests

3 participants