
방금 새로운 Windows 10 터미널을 설치했습니다. 정말 훌륭합니다. 테마를 흰색 바탕에 검정색으로 변경하고 싶습니다(현재는 검정색 바탕에 흰색입니다). 이에 사용할 수 있는 구성이 있나요? 몇 가지 구성을 얻었습니다.
- 캠벨
- 태양광
- Solarized Dark 등
나는 단순한 퍼티(흰색 바탕에 검은색) 테마를 원합니다.
답변1
색상 테마를 다음에서 찾았습니다.https://github.com/mbadolato/iTerm2-Color-Schemes
- zip 파일을 다운로드하고 추출하세요.
- "windowsterminal" 폴더 열기
- 모든 파일(.json 형식) 열기
- 설정을 복사하여 Windows 터미널 설정의 "스키마" 섹션에 붙여넣습니다.
복사한 후에는 아래와 같아야 합니다.
// 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": []
}
답변2
설정을 Alt 키를 누른 채 클릭하면 defaults.json에서 색 구성표를 복사할 수 있습니다(설정은 탭 표시줄의 드롭다운 메뉴에 있음).
모든 색 구성표를 복사하십시오. 그런 다음 settings.json 파일에서(설정을 마우스 왼쪽 버튼으로 간단히 클릭) "schemas" 배열을 defaults.json에 복사한 배열로 바꿉니다. 다음과 같이 끝나야 합니다.
"schemes":
[
{
"name": "Campbell",
// ...
},
{
"name": "Campbell Powershell",
// ...
},
// ...
]
그런 다음 더 나아가서 비어 있는 프로필 기본 개체를 찾아야 합니다. 거기에 "colorScheme" 속성을 생성하고 값을 원하는 스키마 이름으로 설정합니다. 당신은 다음과 같이 끝날 것입니다 :
"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*/
]
여기에서 스키마 배열에 새 스키마를 추가한 다음 이름으로 선택할 수 있습니다.