It’s all possible because of the new “themes” global property, which you can use to create a theme with custom colors for tabs, the tab row, and the application window. Once the “settings.json” is updated with the code, the theme will be available in the “Theme” setting on the “Appearance” page. This guide will teach you the steps to create a custom theme and apply it to the Windows Terminal on Windows 11.
Create custom theme for Windows Terminal
To create a custom theme that you can apply to the Terminal, use these steps: When creating a custom theme, you are setting up custom colors for the window and tabs. If you want to customize the colors for the background, you can change the color scheme from the “Color schemes” section.
In the theme code, the tab object supports background, unfocusedBackground, and showCloseButton properties. background will set the color of the tab background when the tab is active and will always show colors at full opacity. The unfocusedBackground sets the color when the tab is inactive and showCloseButton toggles the appearance of the close button on the tab. The tabRow object supports background and unfocusedBackground properties. background will set the color of the tab row background when the window is focused. The unfocusedBackground will set the color of the tab row background when unfocused. Finally, it’s possible to modify settings applied to the window with the window object. The window object supports applicationTheme. The applicationTheme will apply the colors of the selected application theme to the terminal window unless other colors are specified. If you want to create a second or third theme, you only need to write the code after the last curly bracket “{}” of the first theme and before the last bracket “[ ]” of the “themes” object. All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.