修改window console主题
1.了解ColorTool工具
下载地址:https://github.com/Microsoft/Terminal/tree/master/src/tools/ColorTool
使用教程(colortool v1.0.1904.29002):
Usage:
ColorTool.exe <Function>
ColorTool.exe [Options] <Scheme name>
ColorTool is a utility for helping to set the color palette of the Windows Console.
By default, applies the colors in the specified .itermcolors, .json or .ini file to the current console window.
This does NOT save the properties automatically. For that, you'll need to open the properties sheet and hit "Ok".
Included should be a `schemes/` directory with a selection of schemes of both formats for examples.
Feel free to add your own preferred scheme to that directory.
Parameters:
<Function> : One and only one of the switches listed in the "Functions" section below.
<Scheme name>: The name of a color scheme. ColorTool will try to first load it as an .ini file color scheme
If that fails, it will look for it as a .json file color scheme
If that fails, it will look for it as an .itermcolors file color scheme.
Must be the last parameter passed to ColorTool.
[Option] : One or more of the switches listed in the "Options" section below. Must appear before scheme
name.
Functions:
You may specify only one of the following switches each time you invoke ColorTool. Any additional switches
before or after the first one of them will be ignored.
-?, --help : Display this help message
-c, --current : Print the color table for the currently applied scheme
-v, --version : Display the version number
-l, --location : Displays the full path to the schemes directory
-s, --schemes : Displays all available schemes
-o, --output <filename> : output the current color table to a file in .ini format
Options:
You may use these switches before a scheme name.
-q, --quiet : Don't print the color table after applying
-e, --errors : Report scheme parsing errors on the console
-d, --defaults : Apply the scheme to only the defaults in the registry
By default, the scheme would be applied to the current console instead.
-b, --both : Apply the scheme to both the current console and the defaults.
By default, the scheme would be applied to the current console only.
-x, --xterm : Set the colors using VT sequences. Used for setting the colors in WSL.
Only works in Windows versions >= 17048.
-t, --terminal : Output the colors in JSON format for copying into a Windows Terminal settings file.
哈哈,没错就是README.md ,没什么比官方给的文档更据权威了,还有人维护。
2.默认主题不够选,这里还有开源主题等你选择
下载地址:https://github.com/mbadolato/iTerm2-Color-Schemes
使用教程:
You can also add color schemes to the ColorTool easily. Take any existing scheme in .itermcolors format, and paste it in the schemes/ directory. Or just cd into a directory containing *.itermcolors files before running the ColorTool.
3.如果这些主题还不能够满足你,别急!还有的救。
使用教程:略。(我是一个很容易满足的人,只好止步于此了! )