由于 VS Code 上的 Oceanic Next 主题多年不更新,导致一些关键字或一些语法没有高亮,但其编辑器上颜色的配置还是比较舒服的,遂更换其他主题之后,又把
Oceanic Next的色彩重新配置上(实际上新主题也就用了个语法高亮😅),以下:
settings.json 的配置
"workbench.colorCustomizations": {
"editor.background": "#1B2B34",
"editorCursor.foreground": "#c0c5ce",
"editor.foreground": "#CDD3DE",
"editorWhitespace.foreground": "#65737e",
"editor.lineHighlightBackground": "#65737e55",
"editor.selectionBackground": "#4f5b66",
"sideBar.background": "#1B2B34",
"activityBar.background": "#1b2b34",
"activityBar.foreground": "#d8dee9",
"activityBarBadge.background": "#ec5f67",
"activityBarBadge.foreground": "#d8dee9",
"badge.background": "#343d46",
"badge.foreground": "#d8dee9",
"button.background": "#5fb3b3",
"button.hoverBackground": "#4e9b9b",
"dropdown.background": "#1B2B34",
"dropdown.border": "#6699cc",
"dropdown.foreground": "#ffffff",
"editorGroupHeader.tabsBackground": "#1b2b34",
"editorGroupHeader.tabsBorder": "#343d46",
"editorSuggestWidget.background": "#1b2b34",
"editorSuggestWidget.border": "#6699cc",
"editorSuggestWidget.selectedBackground": "#343d46",
"errorForeground": "#ec5f67",
"focusBorder": "#1b2b34",
"input.background": "#1B2B34",
"inputValidation.errorBackground": "#ec5f67",
"inputValidation.infoBackground": "#99c794",
"list.activeSelectionBackground": "#343d46",
"list.inactiveSelectionBackground": "#343d46",
"list.hoverBackground": "#1b2b34",
"notification.background": "#343d46",
"notification.buttonBackground": "#5fb3b3",
"notification.buttonHoverBackground": "#4e9b9b",
"notification.errorBackground": "#ec5f67",
"notification.infoBackground": "#99c794",
"notification.warningBackground": "#fac863",
"statusBar.background": "#343d46",
"statusBar.border": "#343d46",
"statusBar.noFolderBackground": "#1b2b34",
"statusBar.noFolderBorder": "#343d46",
"tab.activeBorder": "#62b3b2",
"tab.activeBackground": "#343d46",
"tab.inactiveBackground": "#1b2b34",
"tab.border": "#1b2b34",
"titleBar.activeForeground": "#cde3de",
"titleBar.activeBackground": "#1b2b34",
"titleBar.inactiveForeground": "#b2b2b3",
"titleBar.inactiveBackground": "#f6f6f6",
"terminal.background": "#1b2b34",
"terminal.foreground": "#c0c5ce",
"terminal.ansiBlack": "#1b2b34",
"terminal.ansiRed": "#ec5f67",
"terminal.ansiGreen": "#99c794",
"terminal.ansiYellow": "#fac863",
"terminal.ansiBlue": "#6699cc",
"terminal.ansiMagenta": "#c594c5",
"terminal.ansiCyan": "#5fb3b3",
"terminal.ansiWhite": "#ffffff",
"terminal.ansiBrightBlack": "#65737e",
"terminal.ansiBrightRed": "#ec5f67",
"terminal.ansiBrightGreen": "#99c794",
"terminal.ansiBrightYellow": "#fac863",
"terminal.ansiBrightBlue": "#6699cc",
"terminal.ansiBrightMagenta": "#c594c5",
"terminal.ansiBrightCyan": "#5fb3b3",
"terminal.ansiBrightWhite": "#ffffff",
"terminal.selectionBackground": "#4f5b6677",
"terminalCursor.background": "#1b2b34",
"terminalCursor.foreground": "#c0c5ce",
"sideBarSectionHeader.background": "#303C44",
}