Add Dark+ #8548

Closed
opened 2026-01-31 01:32:09 +00:00 by claunia · 23 comments
Owner

Originally created by @NatoBoram on GitHub (May 24, 2020).

Description of the new feature/enhancement

VSCode's theme, Dark+, is absolutely gorgeous.

VSCode Neofetch

I think it would be totally appropriate to add it to the default schemes.

image

Proposed technical implementation details (optional)

{
    "name": "Dark+",
    "foreground": "#cccccc",
    "background": "#1e1e1e",
    "cursorColor": "#cccccc",
    "black": "#000000",
    "red": "#c62f37",
    "green": "#37be78",
    "yellow": "#e2e822",
    "blue": "#396ec7",
    "purple": "#b835bc",
    "cyan": "#3ba7cc",
    "white": "#e5e5e5",
    "brightBlack": "#666666",
    "brightRed": "#e94a51",
    "brightGreen": "#45d38a",
    "brightYellow": "#f2f84a",
    "brightBlue": "#4e8ae9",
    "brightPurple": "#d26ad6",
    "brightCyan": "#49b7da",
    "brightWhite": "#e5e5e5"
}
Originally created by @NatoBoram on GitHub (May 24, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement VSCode's theme, **Dark+**, is absolutely gorgeous. ![VSCode Neofetch](https://user-images.githubusercontent.com/10495562/82755857-6c931f80-9da4-11ea-9414-1285aa88b1fb.png) I think it would be totally appropriate to add it to the default schemes. ![image](https://user-images.githubusercontent.com/10495562/82755885-a5cb8f80-9da4-11ea-9543-b1dba437e4f7.png) <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. --> ```jsonc { "name": "Dark+", "foreground": "#cccccc", "background": "#1e1e1e", "cursorColor": "#cccccc", "black": "#000000", "red": "#c62f37", "green": "#37be78", "yellow": "#e2e822", "blue": "#396ec7", "purple": "#b835bc", "cyan": "#3ba7cc", "white": "#e5e5e5", "brightBlack": "#666666", "brightRed": "#e94a51", "brightGreen": "#45d38a", "brightYellow": "#f2f84a", "brightBlue": "#4e8ae9", "brightPurple": "#d26ad6", "brightCyan": "#49b7da", "brightWhite": "#e5e5e5" } ```
claunia added the Area-SettingsIssue-TaskNeeds-Tag-FixProduct-Terminal labels 2026-01-31 01:32:09 +00:00
Author
Owner

@j4james commented on GitHub (May 24, 2020):

My main objection to this is that the white and brightWhite colors are identical. UI elements that are meant to be distinguishable may look exactly the same with this scheme, or in some cases text could be completely invisible.

@j4james commented on GitHub (May 24, 2020): My main objection to this is that the _white_ and _brightWhite_ colors are identical. UI elements that are meant to be distinguishable may look exactly the same with this scheme, or in some cases text could be completely invisible.
Author
Owner

@NatoBoram commented on GitHub (May 24, 2020):

white could take the colour of cursorColor, #cccccc, for better legibility on Windows Terminal. That wouldn't deviate too much from Dark+.

@NatoBoram commented on GitHub (May 24, 2020): `white` could take the colour of `cursorColor`, `#cccccc`, for better legibility on Windows Terminal. That wouldn't deviate too much from Dark+.
Author
Owner

@j4james commented on GitHub (May 24, 2020):

Yeah, I was thinking the same thing. We may not want to deviate from the original colors if there is an official source somewhere, but I see that the iTerm2 Themes collection has a Dark+ color scheme which is very different from this, so maybe it's less of an issue in this case.

@j4james commented on GitHub (May 24, 2020): Yeah, I was thinking the same thing. We may not want to deviate from the original colors if there is an official source somewhere, but I see that the _iTerm2 Themes_ collection has a [Dark+ color scheme](https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/windowsterminal/Dark%2B.json) which is very different from this, so maybe it's less of an issue in this case.
Author
Owner

@NatoBoram commented on GitHub (May 24, 2020):

If the name Dark+ is prone to conflict, I think it would be appropriate to rename it to Visual Studio Code. I haven't seen it outside of VSCode and the name is too generic, which lead me to think it's a completely original colour palette made specifically for VSCode.

@NatoBoram commented on GitHub (May 24, 2020): If the name `Dark+` is prone to conflict, I think it would be appropriate to rename it to `Visual Studio Code`. I haven't seen it outside of VSCode and the name is too generic, which lead me to think it's a completely original colour palette made specifically for VSCode.
Author
Owner

@rbeesley commented on GitHub (May 24, 2020):

These are my proposed schemes:

    "schemes": [
        {
            "name": "VSCode Light",
            "foreground": "#333333",
            "background": "#fffffe",
            "black": "#000000",
            "red": "#cd3131",
            "green": "#00BC00",
            "yellow": "#949800",
            "blue": "#0451a5",
            "purple": "#bc05bc",
            "cyan": "#0598bc",
            "white": "#555555",
            "brightBlack": "#666666",
            "brightRed": "#cd3131",
            "brightGreen": "#14CE14",
            "brightYellow": "#b5ba00",
            "brightBlue": "#0451a5",
            "brightPurple": "#bc05bc",
            "brightCyan": "#0598bc",
            "brightWhite": "#a5a5a5"
        },
        {
            "name": "VSCode Dark",
            "foreground": "#CCCCCC",
            "background": "#1E1E1E",
            "black": "#000000",
            "red": "#cd3131",
            "green": "#0DBC79",
            "yellow": "#e5e510",
            "blue": "#2472c8",
            "purple": "#bc3fbc",
            "cyan": "#11a8cd",
//            "white": "#CCCCCC", // Matches foreground
//            "white": "#e5e5e5", // As defined in VS Code
//            "white": "#a5a5a5", // Darker to have different foreground and white
            "white": "#D8D8D8", // Average of VS Code definition and the foreground
            "brightBlack": "#666666",
            "brightRed": "#f14c4c",
            "brightGreen": "#23d18b",
            "brightYellow": "#f5f543",
            "brightBlue": "#3b8eea",
            "brightPurple": "#d670d6",
            "brightCyan": "#29b8db",
            "brightWhite": "#e5e5e5"
        },
        {
            "name": "VSCode HC",
            "foreground": "#FFFFFF",
            "background": "#000000",
            "black": "#000000",
            "red": "#cd0000",
            "green": "#00cd00",
            "yellow": "#cdcd00",
            "blue": "#0000ee",
            "purple": "#cd00cd",
            "cyan": "#00cdcd",
            "white": "#e5e5e5",
            "brightBlack": "#7f7f7f",
            "brightRed": "#ff0000",
            "brightGreen": "#00ff00",
            "brightYellow": "#ffff00",
            "brightBlue": "#5c5cff",
            "brightPurple": "#ff00ff",
            "brightCyan": "#00ffff",
            "brightWhite": "#ffffff"
        }
    ]

I pulled these definitions from the VS Code source. As was pointed out, there are some issues with White. I hadn't submitted a PR to implement these because there is a conflict with how best to implement White with respect to VSCode Dark. I've been using the White as defined here with high success and this is actually the color scheme I have for most of my terminals right now. I think as a further extension, schemes should also have an ability to choose for intensity the ability to use bold, or select a brighter color as is the terminal default right now. This could be introduced as a property for a scheme like "intensity": "bold" or "intensity": "bright". This would make this a good scheme to introduce and promote this capability as intensity in VS Code is actually shown as bold rather than increased brightness as the console has traditionally utilized.

I also pulled in from the source the definition of High Contrast, although it is very close to Vintage with some very subtle adjustments.

As a further point of discussion, this is how the VSCode Dark looks:
image

and this is VSCode Light:
image

For completeness, this is VSCode HC:
image

@rbeesley commented on GitHub (May 24, 2020): These are my proposed schemes: ``` "schemes": [ { "name": "VSCode Light", "foreground": "#333333", "background": "#fffffe", "black": "#000000", "red": "#cd3131", "green": "#00BC00", "yellow": "#949800", "blue": "#0451a5", "purple": "#bc05bc", "cyan": "#0598bc", "white": "#555555", "brightBlack": "#666666", "brightRed": "#cd3131", "brightGreen": "#14CE14", "brightYellow": "#b5ba00", "brightBlue": "#0451a5", "brightPurple": "#bc05bc", "brightCyan": "#0598bc", "brightWhite": "#a5a5a5" }, { "name": "VSCode Dark", "foreground": "#CCCCCC", "background": "#1E1E1E", "black": "#000000", "red": "#cd3131", "green": "#0DBC79", "yellow": "#e5e510", "blue": "#2472c8", "purple": "#bc3fbc", "cyan": "#11a8cd", // "white": "#CCCCCC", // Matches foreground // "white": "#e5e5e5", // As defined in VS Code // "white": "#a5a5a5", // Darker to have different foreground and white "white": "#D8D8D8", // Average of VS Code definition and the foreground "brightBlack": "#666666", "brightRed": "#f14c4c", "brightGreen": "#23d18b", "brightYellow": "#f5f543", "brightBlue": "#3b8eea", "brightPurple": "#d670d6", "brightCyan": "#29b8db", "brightWhite": "#e5e5e5" }, { "name": "VSCode HC", "foreground": "#FFFFFF", "background": "#000000", "black": "#000000", "red": "#cd0000", "green": "#00cd00", "yellow": "#cdcd00", "blue": "#0000ee", "purple": "#cd00cd", "cyan": "#00cdcd", "white": "#e5e5e5", "brightBlack": "#7f7f7f", "brightRed": "#ff0000", "brightGreen": "#00ff00", "brightYellow": "#ffff00", "brightBlue": "#5c5cff", "brightPurple": "#ff00ff", "brightCyan": "#00ffff", "brightWhite": "#ffffff" } ] ``` I pulled these definitions from the VS Code source. As was pointed out, there are some issues with White. I hadn't submitted a PR to implement these because there is a conflict with how best to implement White with respect to VSCode Dark. I've been using the White as defined here with high success and this is actually the color scheme I have for most of my terminals right now. I think as a further extension, schemes should also have an ability to choose for intensity the ability to use **bold**, or select a brighter color as is the terminal default right now. This could be introduced as a property for a scheme like ```"intensity": "bold"``` or ```"intensity": "bright"```. This would make this a good scheme to introduce and promote this capability as intensity in VS Code is actually shown as **bold** rather than increased brightness as the console has traditionally utilized. I also pulled in from the source the definition of High Contrast, although it is very close to Vintage with some very subtle adjustments. As a further point of discussion, this is how the VSCode Dark looks: ![image](https://user-images.githubusercontent.com/3703112/82765465-133ee680-9dcc-11ea-89b9-23b637d9a57d.png) and this is VSCode Light: ![image](https://user-images.githubusercontent.com/3703112/82765483-3073b500-9dcc-11ea-8845-fbd5fbd2b3c9.png) For completeness, this is VSCode HC: ![image](https://user-images.githubusercontent.com/3703112/82765551-b42da180-9dcc-11ea-9f4c-43d8eed66bf4.png)
Author
Owner

@rbeesley commented on GitHub (May 24, 2020):

I reviewed the definitions and this is as they are defined. Some colors like red, blue, magenta (purple), and cyan are the same for the regular color and the bright color definitions for the Light scheme. I think those should be fixed, but it does match the source.

@rbeesley commented on GitHub (May 24, 2020): I reviewed the [definitions](https://github.com/microsoft/vscode/blob/master/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts) and this is as they are defined. Some colors like red, blue, magenta (purple), and cyan are the same for the regular color and the bright color definitions for the Light scheme. I think those should be fixed, but it does match the source.
Author
Owner

@zadjii-msft commented on GitHub (May 27, 2020):

Okay, I think I'm okay with the idea of this - it's well sourced, the "VSCode *" names won't conflict with something else. Though, Dark+ on iTerm2-Color-Schemes does look like it's the same thing to me. It makes sense to me to include this theme with the Terminal, esp. considering there's product synergy (or some corporate spiel like that)

I think we'll need to come up with an official party line though regarding what schemes we can include by default and which we shouldn't. We've already gotten ourselves into a mess with the Solarized themes. We probably don't want to unnecessarily clutter the defaults file (otherwise we'd just import everything from https://github.com/mbadolato/iTerm2-Color-Schemes immediately). This is something relevant to discussions we're having with @cinnamon-msft.

For now, I'm okay with a PR to add these.

@zadjii-msft commented on GitHub (May 27, 2020): Okay, I think I'm okay with the idea of this - it's well sourced, the "VSCode *" names won't conflict with something else. Though, [Dark+ on iTerm2-Color-Schemes](https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/windowsterminal/Dark%2B.json) does look like it's the same thing to me. It makes sense to me to include this theme with the Terminal, esp. considering there's _product synergy_ (or some corporate spiel like that) I think we'll need to come up with an official party line though regarding what schemes we can include by default and which we shouldn't. We've already gotten ourselves into a mess with the Solarized themes. We probably don't want to unnecessarily clutter the defaults file (otherwise we'd just import everything from https://github.com/mbadolato/iTerm2-Color-Schemes immediately). This is something relevant to discussions we're having with @cinnamon-msft. For now, I'm okay with a PR to add these.
Author
Owner

@NatoBoram commented on GitHub (May 29, 2020):

So, I took the time to take screenshots of Dark+, Light+ and High Contrast to reveal the apparent colours. VSCode might apply some transformations to the terminal's colours, giving a different result than from the source code, which might explain why @rbeesley's red #cd3131 doesn't match #c62f37. I personally want to see the actual VSCode terminal theme and not an interpretation of the source code. We might need to contact someone who's actually on the VSCode team, though, to know what's really happening here.

cc @bpasero, @iansan5653, @Tyriar, @sbatten

VSCode Dark+

VSCode Light+

VSCode HighContrast

Here's the colours I picked (excluding foreground).

[
    {
        "name": "Dark+",
        "foreground": "#cccccc",
        "background": "#1e1e1e",
        "cursorColor": "#cccccc",
        "black": "#000000",
        "red": "#c62f37",
        "green": "#37be78",
        "yellow": "#e2e822",
        "blue": "#396ec7",
        "purple": "#b835bc",
        "cyan": "#3ba7cc",
        "white": "#cccccc",
        "brightBlack": "#666666",
        "brightRed": "#e94a51",
        "brightGreen": "#45d38a",
        "brightYellow": "#f2f84a",
        "brightBlue": "#4e8ae9",
        "brightPurple": "#d26ad6",
        "brightCyan": "#49b7da",
        "brightWhite": "#e5e5e5"
    },
    {
        "name": "Light+",
        "foreground": "#333333",
        "background": "#ffffff",
        "cursorColor": "#333333",
        "black": "#000000",
        "red": "#c62f37",
        "green": "#30bf03",
        "yellow": "#929a0d",
        "blue": "#214da4",
        "purple": "#b700bc",
        "cyan": "#3297bb",
        "white": "#555555",
        "brightBlack": "#666666",
        "brightRed": "#c62f37",
        "brightGreen": "#3ad116",
        "brightYellow": "#b3bc13",
        "brightBlue": "#214da4",
        "brightPurple": "#b700bc",
        "brightCyan": "#3297bb",
        "brightWhite": "#a5a5a5"
    },
    {
        "name": "High Contrast",
        "foreground": "#ffffff",
        "background": "#000000",
        "cursorColor": "#ffffff",
        "black": "#000000",
        "red": "#c50015",
        "green": "#35d003",
        "yellow": "#cbd017",
        "blue": "#2800ed",
        "purple": "#c800cd",
        "cyan": "#40cdcc",
        "white": "#e5e5e5",
        "brightBlack": "#7f7f7f",
        "brightRed": "#f5001d",
        "brightGreen": "#44ff05",
        "brightYellow": "#fcff1f",
        "brightBlue": "#6551fe",
        "brightPurple": "#f800ff",
        "brightCyan": "#52fffe",
        "brightWhite": "#ffffff"
    }
]

After testing Light+ and High Contrast, I have to say... Those themes are unfortunate looking.

@NatoBoram commented on GitHub (May 29, 2020): So, I took the time to take screenshots of Dark+, Light+ and High Contrast to reveal the apparent colours. VSCode might apply some transformations to the terminal's colours, giving a different result than from the source code, which might explain why @rbeesley's red `#cd3131` doesn't match `#c62f37`. I personally want to see the actual VSCode ~~terminal~~ theme and not an interpretation of the source code. We might need to contact someone who's actually on the VSCode team, though, to know what's really happening here. cc @bpasero, @iansan5653, @Tyriar, @sbatten ![VSCode Dark+](https://user-images.githubusercontent.com/10495562/83204665-5fff2600-a11a-11ea-9b57-673ebe2aae88.png) ![VSCode Light+](https://user-images.githubusercontent.com/10495562/83204669-61305300-a11a-11ea-9004-2fa998d44ad6.png) ![VSCode HighContrast](https://user-images.githubusercontent.com/10495562/83204666-6097bc80-a11a-11ea-8e92-d8d3ef782523.png) Here's the colours I picked (excluding `foreground`). ```json [ { "name": "Dark+", "foreground": "#cccccc", "background": "#1e1e1e", "cursorColor": "#cccccc", "black": "#000000", "red": "#c62f37", "green": "#37be78", "yellow": "#e2e822", "blue": "#396ec7", "purple": "#b835bc", "cyan": "#3ba7cc", "white": "#cccccc", "brightBlack": "#666666", "brightRed": "#e94a51", "brightGreen": "#45d38a", "brightYellow": "#f2f84a", "brightBlue": "#4e8ae9", "brightPurple": "#d26ad6", "brightCyan": "#49b7da", "brightWhite": "#e5e5e5" }, { "name": "Light+", "foreground": "#333333", "background": "#ffffff", "cursorColor": "#333333", "black": "#000000", "red": "#c62f37", "green": "#30bf03", "yellow": "#929a0d", "blue": "#214da4", "purple": "#b700bc", "cyan": "#3297bb", "white": "#555555", "brightBlack": "#666666", "brightRed": "#c62f37", "brightGreen": "#3ad116", "brightYellow": "#b3bc13", "brightBlue": "#214da4", "brightPurple": "#b700bc", "brightCyan": "#3297bb", "brightWhite": "#a5a5a5" }, { "name": "High Contrast", "foreground": "#ffffff", "background": "#000000", "cursorColor": "#ffffff", "black": "#000000", "red": "#c50015", "green": "#35d003", "yellow": "#cbd017", "blue": "#2800ed", "purple": "#c800cd", "cyan": "#40cdcc", "white": "#e5e5e5", "brightBlack": "#7f7f7f", "brightRed": "#f5001d", "brightGreen": "#44ff05", "brightYellow": "#fcff1f", "brightBlue": "#6551fe", "brightPurple": "#f800ff", "brightCyan": "#52fffe", "brightWhite": "#ffffff" } ] ``` After testing Light+ and High Contrast, I have to say... Those themes are unfortunate looking.
Author
Owner

@Tyriar commented on GitHub (May 29, 2020):

Here's the colours I picked (excluding foreground).

If you want the actual colors the terminal uses in VS Code you can run the Developer: Generate Color Theme From Current Settings command.

I personally want to see the actual VSCode terminal and not an interpretation of the source code.

This will likely happen in the form of pulling the terminal/panel out into a separate window which is tracked in https://github.com/microsoft/vscode/issues/34442 and https://github.com/microsoft/vscode/issues/10121

I think as a further extension, schemes should also have an ability to choose for intensity the ability to use bold, or select a brighter color as is the terminal default right now.

This is driven by the terminal.integrated.drawBoldTextInBrightColors setting in VS Code. There are also related terminal.integrated.fontWeight and terminal.integrated.fontWeightBold settings to give you control of bold.

@Tyriar commented on GitHub (May 29, 2020): > Here's the colours I picked (excluding foreground). If you want the actual colors the terminal uses in VS Code you can run the `Developer: Generate Color Theme From Current Settings` command. > I personally want to see the actual VSCode terminal and not an interpretation of the source code. This will likely happen in the form of pulling the terminal/panel out into a separate window which is tracked in https://github.com/microsoft/vscode/issues/34442 and https://github.com/microsoft/vscode/issues/10121 > I think as a further extension, schemes should also have an ability to choose for intensity the ability to use bold, or select a brighter color as is the terminal default right now. This is driven by the `terminal.integrated.drawBoldTextInBrightColors` setting in VS Code. There are also related `terminal.integrated.fontWeight` and `terminal.integrated.fontWeightBold` settings to give you control of bold.
Author
Owner

@NatoBoram commented on GitHub (May 29, 2020):

Now that's some better sourcing.

{
	"terminal.ansiBlack": "#000000",
	"terminal.ansiBlue": "#2472c8",
	"terminal.ansiBrightBlack": "#666666",
	"terminal.ansiBrightBlue": "#3b8eea",
	"terminal.ansiBrightCyan": "#29b8db",
	"terminal.ansiBrightGreen": "#23d18b",
	"terminal.ansiBrightMagenta": "#d670d6",
	"terminal.ansiBrightRed": "#f14c4c",
	"terminal.ansiBrightWhite": "#e5e5e5",
	"terminal.ansiBrightYellow": "#f5f543",
	"terminal.ansiCyan": "#11a8cd",
	"terminal.ansiGreen": "#0dbc79",
	"terminal.ansiMagenta": "#bc3fbc",
	"terminal.ansiRed": "#cd3131",
	"terminal.ansiWhite": "#e5e5e5",
	"terminal.ansiYellow": "#e5e510",
	"terminal.border": "#80808059",
	"terminal.foreground": "#cccccc",
	"terminal.selectionBackground": "#ffffff40"
}

That gives the following scheme :

{
    "name": "Dark+",
    "foreground": "#cccccc",
    "background": "#1e1e1e",
    "cursorColor": "#808080",
    "selectionBackground": "#ffffff",
    "black": "#000000",
    "red": "#cd3131",
    "green": "#0dbc79",
    "yellow": "#e5e510",
    "blue": "#2472c8",
    "purple": "#bc3fbc",
    "cyan": "#11a8cd",
    "white": "#e5e5e5",
    "brightBlack": "#666666",
    "brightRed": "#f14c4c",
    "brightGreen": "#23d18b",
    "brightYellow": "#f5f543",
    "brightBlue": "#3b8eea",
    "brightPurple": "#d670d6",
    "brightCyan": "#29b8db",
    "brightWhite": "#e5e5e5"
}
@NatoBoram commented on GitHub (May 29, 2020): Now that's some better sourcing. ```json { "terminal.ansiBlack": "#000000", "terminal.ansiBlue": "#2472c8", "terminal.ansiBrightBlack": "#666666", "terminal.ansiBrightBlue": "#3b8eea", "terminal.ansiBrightCyan": "#29b8db", "terminal.ansiBrightGreen": "#23d18b", "terminal.ansiBrightMagenta": "#d670d6", "terminal.ansiBrightRed": "#f14c4c", "terminal.ansiBrightWhite": "#e5e5e5", "terminal.ansiBrightYellow": "#f5f543", "terminal.ansiCyan": "#11a8cd", "terminal.ansiGreen": "#0dbc79", "terminal.ansiMagenta": "#bc3fbc", "terminal.ansiRed": "#cd3131", "terminal.ansiWhite": "#e5e5e5", "terminal.ansiYellow": "#e5e510", "terminal.border": "#80808059", "terminal.foreground": "#cccccc", "terminal.selectionBackground": "#ffffff40" } ``` That gives the following scheme : ```json { "name": "Dark+", "foreground": "#cccccc", "background": "#1e1e1e", "cursorColor": "#808080", "selectionBackground": "#ffffff", "black": "#000000", "red": "#cd3131", "green": "#0dbc79", "yellow": "#e5e510", "blue": "#2472c8", "purple": "#bc3fbc", "cyan": "#11a8cd", "white": "#e5e5e5", "brightBlack": "#666666", "brightRed": "#f14c4c", "brightGreen": "#23d18b", "brightYellow": "#f5f543", "brightBlue": "#3b8eea", "brightPurple": "#d670d6", "brightCyan": "#29b8db", "brightWhite": "#e5e5e5" } ```
Author
Owner

@Tyriar commented on GitHub (May 29, 2020):

"selectionBackground": "#ffffff",

@NatoBoram this would get blended with the background #1e1e1e at 25% opacity (0x40) to give `"selectionBackground": "#565656"

@Tyriar commented on GitHub (May 29, 2020): > "selectionBackground": "#ffffff", @NatoBoram this would get blended with the background `#1e1e1e` at 25% opacity (`0x40`) to give `"selectionBackground": "#565656"
Author
Owner

@rbeesley commented on GitHub (Jun 11, 2020):

As a tool for being able to see these schemes applied in a terminal, I wrote this cmd script, ansi-colors.cmd, which can be used to put all the SGR parameters together. It is currently configured for showing 1, 4, 7, 30-37, 40-47, and 100-107, and the combinations of those which make sense.

ansi-color cmd

While not written for creating this specific color scheme, I think this might be a tool worth adding to the repo to make it easier to see the different color combinations. It is all self-contained in one .cmd file with no necessary external dependencies. There is an option to use PowerShell to generate the ESC non-printable character, but in this gist it just uses one saved in the file. There is also an optional dependency on CHCP if the output is going to show Unicode, but it does not need to be required. It uses a data segment embedded in the file itself, so the definition of what is shown can quickly and easily be changed to something else.

@rbeesley commented on GitHub (Jun 11, 2020): As a tool for being able to see these schemes applied in a terminal, I wrote this cmd script, [ansi-colors.cmd](https://gist.github.com/rbeesley/411609adbedeaa5b4dcce54921852310), which can be used to put all the SGR parameters together. It is currently configured for showing 1, 4, 7, 30-37, 40-47, and 100-107, and the combinations of those which make sense. ![ansi-color cmd](https://user-images.githubusercontent.com/3703112/84349159-92be0b00-ab6b-11ea-9882-c446050acf13.gif) While not written for creating this specific color scheme, I think this might be a tool worth adding to the repo to make it easier to see the different color combinations. It is all self-contained in one .cmd file with no necessary external dependencies. There is an option to use PowerShell to generate the ESC non-printable character, but in this gist it just uses one saved in the file. There is also an optional dependency on CHCP if the output is going to show Unicode, but it does not need to be required. It uses a data segment embedded in the file itself, so the definition of what is shown can quickly and easily be changed to something else.
Author
Owner

@zadjii-msft commented on GitHub (Jun 11, 2020):

Yea I'd welcome that PR. IMO the src/tools directory is the perfect place for a helper like that ☺️

@zadjii-msft commented on GitHub (Jun 11, 2020): Yea I'd welcome that PR. IMO the `src/tools` directory is the perfect place for a helper like that ☺️
Author
Owner

@NatoBoram commented on GitHub (Jun 11, 2020):

@Tyriar It seems like Terminal already gives a different opacity to selectionBackground. I tried to apply #565656, but the result was way too dark. Without manually tweaking selectionBackground, the result is a bit too bright. I think it's fine if we let Terminal use the original values of VSCode's theme in its own way, as long as it doesn't break any functionality.

@NatoBoram commented on GitHub (Jun 11, 2020): @Tyriar It seems like Terminal already gives a different opacity to `selectionBackground`. I tried to apply `#565656`, but the result was way too dark. Without manually tweaking `selectionBackground`, the result is a bit too bright. I think it's fine if we let Terminal use the original values of VSCode's theme in its own way, as long as it doesn't break any functionality.
Author
Owner

@Tyriar commented on GitHub (Jun 11, 2020):

Oh I assumed it would have been drawn as a background color. Just spotted https://github.com/microsoft/terminal/issues/3580 which will fix the a11y issue that comes from that 😄 (well, in combination with selection foreground and/or https://github.com/microsoft/terminal/issues/3561)

@Tyriar commented on GitHub (Jun 11, 2020): Oh I assumed it would have been drawn as a background color. Just spotted https://github.com/microsoft/terminal/issues/3580 which will fix the a11y issue that comes from that 😄 (well, in combination with selection foreground and/or https://github.com/microsoft/terminal/issues/3561)
Author
Owner

@DHowett commented on GitHub (Jun 11, 2020):

opacity

Sorry about that. The original render engine from conhost that we started specializing never supported rendering backgrounds and text separately, so we had to improvise a bit. We've got work booked to fix that and make selection background AND FOREGROUND work properly.

@DHowett commented on GitHub (Jun 11, 2020): > opacity Sorry about that. The original render engine from conhost that we started specializing never supported rendering backgrounds and text separately, so we had to improvise a bit. We've got work booked to fix that and make selection background _AND FOREGROUND_ work properly.
Author
Owner

@WSLUser commented on GitHub (Jun 12, 2020):

Yea I'd welcome that PR. IMO the src/tools directory is the perfect place for a helper like that

Shouldn't it just be a modification for Color Tool?

@WSLUser commented on GitHub (Jun 12, 2020): > Yea I'd welcome that PR. IMO the src/tools directory is the perfect place for a helper like that Shouldn't it just be a modification for Color Tool?
Author
Owner

@zadjii-msft commented on GitHub (Jun 15, 2020):

Yea I'd welcome that PR. IMO the src/tools directory is the perfect place for a helper like that

Shouldn't it just be a modification for Color Tool?

I mean, ideally, yes. I'm open to the idea of "good" being better than "perfect" in this case, considering this is just a helper tool.

@zadjii-msft commented on GitHub (Jun 15, 2020): > > > > Yea I'd welcome that PR. IMO the src/tools directory is the perfect place for a helper like that > > Shouldn't it just be a modification for Color Tool? I mean, ideally, yes. I'm open to the idea of "good" being better than "perfect" in this case, considering this is just a helper tool.
Author
Owner

@Chips1234 commented on GitHub (Jul 25, 2020):

Just telling everyone, I would like to work on this. Thanks

@Chips1234 commented on GitHub (Jul 25, 2020): Just telling everyone, I would like to work on this. Thanks
Author
Owner

@rbeesley commented on GitHub (Jul 25, 2020):

@Chips1234, I encourage you to use my gist, ansi-color.cmd, to assist you with this endeavor. I've been distracted with work so I haven't been able to address the final layout situations I've been wanting to fix, but it is absolutely usable in its current form and I'm hoping to get some feedback.

@rbeesley commented on GitHub (Jul 25, 2020): @Chips1234, I encourage you to use my gist, [ansi-color.cmd](https://gist.github.com/rbeesley/411609adbedeaa5b4dcce54921852310 ), to assist you with this endeavor. I've been distracted with work so I haven't been able to address the final layout situations I've been wanting to fix, but it is absolutely usable in its current form and I'm hoping to get some feedback.
Author
Owner

@Chips1234 commented on GitHub (Jul 25, 2020):

Alright.

@Chips1234 commented on GitHub (Jul 25, 2020): Alright.
Author
Owner

@adityamwagh commented on GitHub (Feb 20, 2023):

Any updates?

@adityamwagh commented on GitHub (Feb 20, 2023): Any updates?
Author
Owner

@zadjii-msft commented on GitHub (Feb 20, 2023):

Not really. Adding this to the JSON is super trivial, but comes with a slight annoyance. Every scheme we include by default gets written back to the user's settings.json file whenever the file gets saved, even if there are no changes to the scheme. That's kind of annoying. We kinda want to find a way around that before we ship any more in-box schemes.

Last I heard @DHowett had a prototype for remedying the settings, in #12800. Alas, we haven't had the cycles to close on that one yet. It's got a number of wacky edge cases.

@zadjii-msft commented on GitHub (Feb 20, 2023): Not _really_. Adding this to the JSON is super trivial, but comes with a slight annoyance. Every scheme we include by default gets written back to the user's `settings.json` file whenever the file gets saved, even if there are no changes to the scheme. That's kind of annoying. We kinda want to find a way around that before we ship any more in-box schemes. Last I heard @DHowett had a prototype for remedying the settings, in #12800. Alas, we haven't had the cycles to close on that one yet. It's got a number of wacky edge cases.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8548