From c3006aca83349dd752eca3baa3e9e415bffbe427 Mon Sep 17 00:00:00 2001 From: Shayan Date: Wed, 14 Dec 2022 00:03:54 +0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Adding=20support=20for=20windows=20?= =?UTF-8?q?terminal=20(#39)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + shell-color-themes/README.md | 11 +++++++++ shell-color-themes/windows/terminal/dark.json | 23 +++++++++++++++++++ .../windows/terminal/oceanic.json | 23 +++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 shell-color-themes/windows/terminal/dark.json create mode 100644 shell-color-themes/windows/terminal/oceanic.json diff --git a/README.md b/README.md index 5fbef04..34d6def 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/shell-color-themes/README.md b/shell-color-themes/README.md index eb52347..024486d 100644 --- a/shell-color-themes/README.md +++ b/shell-color-themes/README.md @@ -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: diff --git a/shell-color-themes/windows/terminal/dark.json b/shell-color-themes/windows/terminal/dark.json new file mode 100644 index 0000000..9393c6a --- /dev/null +++ b/shell-color-themes/windows/terminal/dark.json @@ -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" +} \ No newline at end of file diff --git a/shell-color-themes/windows/terminal/oceanic.json b/shell-color-themes/windows/terminal/oceanic.json new file mode 100644 index 0000000..9350b06 --- /dev/null +++ b/shell-color-themes/windows/terminal/oceanic.json @@ -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" +} \ No newline at end of file