Skip to content

Commit

Permalink
fix(ui): selection contrast (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston authored Dec 12, 2023
1 parent 046c4f8 commit bdbc56a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/theme/uiColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const getUiColors = (
foreground: palette.text,
disabledForeground: palette.subtext0,
"widget.shadow": opacity(palette.mantle, 0.5),
"selection.background": palette.surface2,
"selection.background": opacity(palette.surface2, 0.4),
descriptionForeground: palette.text,
errorForeground: palette.red,
"icon.foreground": accent,
Expand Down Expand Up @@ -132,12 +132,12 @@ export const getUiColors = (
"editor.foldBackground": opacity(palette.sky, 0.25),
"editor.foreground": palette.text,
"editor.hoverHighlightBackground": opacity(palette.sky, 0.25),
"editor.inactiveSelectionBackground": palette.surface2,
"editor.inactiveSelectionBackground": opacity(palette.surface2, 0.25),
"editor.lineHighlightBackground": opacity(palette.text, 0.07),
"editor.lineHighlightBorder": transparent,
"editor.rangeHighlightBackground": opacity(palette.sky, 0.25),
"editor.rangeHighlightBorder": transparent,
"editor.selectionBackground": palette.surface2,
"editor.selectionBackground": opacity(palette.surface2, 0.4),
"editor.selectionHighlightBackground": opacity(palette.overlay2, 0.4),
"editor.selectionHighlightBorder": opacity(palette.sky, 0.2),
"editor.wordHighlightBackground": opacity(palette.surface2, 0.7),
Expand Down

0 comments on commit bdbc56a

Please sign in to comment.