Merge pull request #205 from yamatsum/fix/add-term-color-dark

Feature: add `editorBracketHighlight` and ANSI to classic.
This commit is contained in:
simurai 2021-09-08 10:10:36 +09:00 committed by GitHub
commit f078c486ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 0 deletions

View File

@ -142,6 +142,8 @@ function getTheme({ style, name }) {
"editorIndentGuide.activeBackground": pick({ light: "#d7dbe0", dark: primer.gray[2] }),
"editorWhitespace.foreground": pick({ light: primer.gray[3], dark: primer.gray[2] }),
"editorCursor.foreground": primer.blue[7],
"editorError.foreground": primer.red[6],
"editorWarning.foreground": primer.yellow[6],
"editor.findMatchBackground": pick({ light: primer.yellow[4], dark: "#ffd33d44" }),
"editor.findMatchHighlightBackground": pick({ light: "#ffdf5d66", dark: "#ffd33d22" }),
@ -179,6 +181,42 @@ function getTheme({ style, name }) {
"terminal.foreground": primer.gray[6],
"terminal.tab.activeBorder": "#f9826c",
"terminalCursor.background": primer.gray[3],
"terminalCursor.foreground": primer.blue[6],
// Test ANSI colors with:
// echo -e "\033[0mNC (No color)"
// echo -e "\033[1;37mWHITE\t\033[0;30mBLACK"
// echo -e "\033[0;34mBLUE\t\033[1;34mLIGHT_BLUE"
// echo -e "\033[0;32mGREEN\t\033[1;32mLIGHT_GREEN"
// echo -e "\033[0;36mCYAN\t\033[1;36mLIGHT_CYAN"
// echo -e "\033[0;31mRED\t\033[1;31mLIGHT_RED"
// echo -e "\033[0;35mPURPLE\t\033[1;35mLIGHT_PURPLE"
// echo -e "\033[0;33mYELLOW\t\033[1;33mLIGHT_YELLOW"
// echo -e "\033[1;30mGRAY\t\033[0;37mLIGHT_GRAY"
"terminal.ansiBrightWhite": pick({ light: primer.gray[3], dark: primer.gray[9] }), // WHITE
"terminal.ansiWhite": pick({ light: primer.gray[5], dark: primer.gray[6] }), // LIGHT_GRAY
"terminal.ansiBrightBlack": pick({ light: primer.gray[4], dark: primer.gray[5] }), // GRAY
"terminal.ansiBlack": pick({ light: primer.gray[9], dark: primer.gray[3] }), // BLACK
"terminal.ansiBlue": primer.blue[5],
"terminal.ansiBrightBlue": primer.blue[6],
"terminal.ansiGreen": primer.green[5],
"terminal.ansiBrightGreen": primer.green[6],
"terminal.ansiCyan": pick({ light: "#1b7c83", dark: "#39c5cf" }),
"terminal.ansiBrightCyan": pick({ light: "#3192aa", dark: "#56d4dd" }),
"terminal.ansiRed": primer.red[5],
"terminal.ansiBrightRed": primer.red[6],
"terminal.ansiMagenta": primer.purple[6],
"terminal.ansiBrightMagenta": primer.purple[6],
"terminal.ansiYellow": pick({ light: primer.yellow[7], dark: primer.yellow[6] }),
"terminal.ansiBrightYellow": pick({ light: primer.yellow[8], dark: primer.yellow[6] }),
"editorBracketHighlight.foreground1": primer.blue[6],
"editorBracketHighlight.foreground2": primer.orange[6],
"editorBracketHighlight.foreground3": primer.purple[6],
"editorBracketHighlight.foreground4": primer.blue[6],
"editorBracketHighlight.foreground5": primer.orange[6],
"editorBracketHighlight.foreground6": primer.purple[6],
"gitDecoration.addedResourceForeground": primer.green[5],
"gitDecoration.modifiedResourceForeground": primer.blue[6],