Skip to content

Commit

Permalink
fix: terminal colors (#164)
Browse files Browse the repository at this point in the history
color0 and color15 were flipped, this is fixed now
  • Loading branch information
nekowinston authored Sep 9, 2023
1 parent c98b226 commit 5eb8105
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/theme/uiColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ export const getUiColors = (

// Terminal
"terminal.foreground": palette.text,
"terminal.ansiBlack": isLatte ? palette.subtext1 : palette.surface1, // color0
"terminal.ansiBlack": isLatte ? palette.surface1 : palette.subtext0, // color0
"terminal.ansiRed": palette.red, // color1
"terminal.ansiGreen": palette.green, // color2
"terminal.ansiYellow": palette.yellow, // color3
Expand All @@ -586,8 +586,9 @@ export const getUiColors = (
"terminal.ansiBrightBlue": palette.blue, // color12
"terminal.ansiBrightMagenta": palette.pink, // color13
"terminal.ansiBrightCyan": palette.sky, // color14
"terminal.ansiBrightWhite": isLatte ? palette.surface1 : palette.subtext0, // color15
"terminal.selectionBackground": opacity(palette.surface2, 0.5),
"terminal.ansiBrightWhite": isLatte ? palette.subtext1 : palette.surface1, // color15
"terminal.selectionBackground": palette.surface2,
"terminal.inactiveSelectionBackground": opacity(palette.surface2, 0.5),
"terminalCursor.background": palette.base,
"terminalCursor.foreground": palette.rosewater,
"terminal.border": palette.surface2,
Expand Down

0 comments on commit 5eb8105

Please sign in to comment.