[英]How can I change WSL (Windows Subsystem Linux) terminal font color in vscode?
I noticed that if I open WSL terminal natively it doesn't have these bright colors and it's much more visible... When I change VSCODE's color theme terminal font coloring follows but never gets better :)我注意到,如果我本机打开 WSL 终端,它就没有这些鲜艳的颜色,而且更明显……当我更改 VSCODE 的颜色主题时,终端字体颜色随之而来,但永远不会变得更好:)
vscode color theme #1 vscode 颜色主题 #1
vscode color theme #2 vscode 颜色主题 #2
native WSL terminal原生 WSL 终端
As far as I know, you cannot change at all the vscode terminal colors (neither on wsl) as those are defined at workbench.colorCustomisations
setting.据我所知,您无法更改所有 vscode 终端颜色(在 wsl 上都没有),因为这些颜色是在
workbench.colorCustomisations
设置中定义的。
These are the available customisation keys provided at VSCode Theme Color :这些是VSCode 主题颜色提供的可用自定义键:
"workbench.colorCustomizations": {
"terminal.background":"#1D2021",
"terminal.foreground":"#A89984",
"terminalCursor.background":"#A89984",
"terminalCursor.foreground":"#A89984",
"terminal.ansiBlack":"#1D2021",
"terminal.ansiBlue":"#0D6678",
"terminal.ansiBrightBlack":"#665C54",
"terminal.ansiBrightBlue":"#0D6678",
"terminal.ansiBrightCyan":"#8BA59B",
"terminal.ansiBrightGreen":"#95C085",
"terminal.ansiBrightMagenta":"#8F4673",
"terminal.ansiBrightRed":"#FB543F",
"terminal.ansiBrightWhite":"#FDF4C1",
"terminal.ansiBrightYellow":"#FAC03B",
"terminal.ansiCyan":"#8BA59B",
"terminal.ansiGreen":"#95C085",
"terminal.ansiMagenta":"#8F4673",
"terminal.ansiRed":"#FB543F",
"terminal.ansiWhite":"#A89984",
"terminal.ansiYellow":"#FAC03B"
}
There is a good website with some color templates: VSCode Base 16 Themes有一个很好的网站,里面有一些颜色模板: VSCode Base 16 Themes
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.