Skip to content

Commit

Permalink
✨ Adding support for windows terminal (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
themegabyte authored Dec 13, 2022
1 parent da9f1ac commit c3006ac
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ By **default** colors come built-in with the zsh theme. These are the **color th
[macOS Terminal](https://github.com/carloscuesta/materialshell/tree/master/shell-color-themes#terminal)
- [Cmder](https://github.com/carloscuesta/materialshell/tree/master/shell-color-themes#cmder)
- [Hyper](https://github.com/carloscuesta/materialshell/tree/master/shell-color-themes#hyper)
- [Windows Terminal](/shell-color-themes/README.md#windows-terminal)
- [Other (manual)](https://github.com/carloscuesta/materialshell/tree/master/shell-color-themes#manual)

## Screenshots
Expand Down
11 changes: 11 additions & 0 deletions shell-color-themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,17 @@ plugins: ['hyper-materialshell']

See [hyper-materialshell](https://github.com/carloscuesta/hyper-materialshell).

### [Windows Terminal](https://github.com/microsoft/terminal)

1. Open Settings (`Right Click Title Bar > Properties`)
2. In the bottom left corner, click `Open JSON file`. This will open a `settings.json` file in an editor.
3. Navigate down to the `schemes` key.
4. Open your desired theme file from [`shell-color-themes/windows/windowsterminal`](/shell-color-themes/windows/windowsterminal).
5. Append the JSON dict in the `.json` file into the `schemes` array of the `settings.json` file you opened in step 2.
6. Hit save.
7. Naviage to the `Profiles` section or any of your specific terminals, such as `Windows PowerShell`
8. In the `Color scheme` entry, select "`Oceanic`" from the dropdown.

## Manual

Just in case there's no theme available for your terminal emulator, you can setup manually by using the color palette listed. _Feel free to send a pull request adding support for your emulator!_ :tada:
Expand Down
23 changes: 23 additions & 0 deletions shell-color-themes/windows/terminal/dark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"background": "#151515",
"black": "#252525",
"blue": "#42A5F5",
"brightBlack": "#A1B0B8",
"brightBlue": "#6699CC",
"brightCyan": "#5FB3B3",
"brightGreen": "#99C794",
"brightPurple": "#D81B60",
"brightRed": "#EC5F67",
"brightWhite": "#D8DEE9",
"brightYellow": "#FAC863",
"cursorColor": "#FFFFFF",
"cyan": "#00ACC1",
"foreground": "#A1B0B8",
"green": "#C3D82C",
"name": "Material Black",
"purple": "#C594C5",
"red": "#FF443E",
"selectionBackground": "#9cb0b9",
"white": "#F5F5F5",
"yellow": "#FFC135"
}
23 changes: 23 additions & 0 deletions shell-color-themes/windows/terminal/oceanic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"background": "#263238",
"black": "#252525",
"blue": "#40C4FF",
"brightBlack": "#A1B0B8",
"brightBlue": "#6699CC",
"brightCyan": "#5FB3B3",
"brightGreen": "#99C794",
"brightPurple": "#FF4081",
"brightRed": "#EC5F67",
"brightWhite": "#D8DEE9",
"brightYellow": "#FAC863",
"cursorColor": "#FFFFFF",
"cyan": "#18FFFF",
"foreground": "#A1B0B8",
"green": "#C3D82C",
"name": "Oceanic",
"purple": "#C594C5",
"red": "#FF5252",
"selectionBackground": "#9cb0b9",
"white": "#F5F5F5",
"yellow": "#FFD740"
}

0 comments on commit c3006ac

Please sign in to comment.