Acabei de instalar o novo terminal do Windows 10. É simplesmente soberbo. Quero mudar o tema para preto sobre branco (atualmente é branco sobre preto). Alguma configuração disponível para isso? Eu tenho algumas configurações para
- Campbell
- Luz Solarizada
- Solarizado Escuro e etc
Eu quero o tema massa simples (preto no branco)
Responder1
Encontrei os temas de cores emhttps://github.com/mbadolato/iTerm2-Color-Schemes
- Baixe e extraia o arquivo zip
- Abra a pasta "windowsterminal"
- Abra qualquer arquivo (formato .json)
- Copie as configurações e cole-as na seção "esquemas" das configurações do terminal Windows
Depois de copiar, deve ficar parecido com abaixo
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
"profiles":
[
{
// Make changes here to the powershell.exe profile
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false
},
{
// Make changes here to the cmd.exe profile
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd",
"commandline": "cmd.exe",
"hidden": false
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
"hidden": false,
"name": "Ubuntu-18.04",
"source": "Windows.Terminal.Wsl",
"acrylicOpacity" : 0.5,
"closeOnExit" : true,
"colorScheme" : "AtomOneLight",
"cursorColor" : "#000000",
"cursorShape" : "bar",
"fontFace" : "Consolas",
"fontSize" : 12,
"historySize" : 9001,
"icon" : "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png",
"padding" : "0, 0, 0, 0",
"snapOnInput" : true,
"useAcrylic" : false
}
],
// Add custom color schemes to this array
"schemes": [
{
"name": "AtomOneLight",
"black": "#000000",
"red": "#de3e35",
"green": "#3f953a",
"yellow": "#d2b67c",
"blue": "#2f5af3",
"purple": "#950095",
"cyan": "#3f953a",
"white": "#bbbbbb",
"brightBlack": "#000000",
"brightRed": "#de3e35",
"brightGreen": "#3f953a",
"brightYellow": "#d2b67c",
"brightBlue": "#2f5af3",
"brightPurple": "#a00095",
"brightCyan": "#3f953a",
"brightWhite": "#ffffff",
"background": "#f9f9f9",
"foreground": "#2a2c33"
}
],
// Add any keybinding overrides to this array.
// To unbind a default keybinding, set the command to "unbound"
"keybindings": []
}
Responder2
Você pode copiar esquemas de cores de defaults.json clicando com a tecla Alt pressionada nas configurações (as configurações são encontradas no menu suspenso na barra de guias).
Copie todos os esquemas de cores. Em seguida, em seu arquivo settings.json (simples clique com o botão esquerdo nas configurações), substitua o array "schemas" pelo array que você copiou em defaults.json. Você deve acabar com algo assim:
"schemes":
[
{
"name": "Campbell",
// ...
},
{
"name": "Campbell Powershell",
// ...
},
// ...
]
Então, mais acima, você deverá encontrar um objeto de padrões de perfil que está vazio. Crie uma propriedade "colorScheme" lá e defina o valor com o nome do esquema desejado. Você vai acabar com algo assim:
"profiles":
{
"defaults":
{
// Put settings here that you want to apply to all profiles.
"colorScheme": "One Half Light"
},
"list":
[
/*...you will see things like cmd, powershell, or ubuntu/WSL profiles here*/
]
A partir daí, você pode adicionar novos esquemas à matriz de esquemas e escolhê-los por nome.


