JatinSanghvi / color-my-text-vscode

Create aesthetically pleasing and shareable color and style schemes quickly in Visual Studio Code for your files with custom formats.
MIT License
1 stars 8 forks source link

Add custom color support #3

Open RedRam567 opened 5 months ago

RedRam567 commented 5 months ago

Custom colors should be added. There's really no reason it should be limited to ansi colors. Especially since some of them are quite ugly or off-hue for some colors in some themes. As an example TODO Highlight supports a lot of formats: #ABC, #AABBCC, #AABBCCDD, rgb(0, 0.5, 1), rgba(0, 0.25, 0.50, 0.75), and seems to support color names. My usecase is fixing syntax highlighting of variable substitutions {name} for a Rust macro I made.

As a workaround, you can override your theme's ansi colors in settings.json

"workbench.colorCustomizations": {
    // Darkplus variable blue
    "terminal.ansiBrightCyan": "#9cdcfe"
},
cnopt commented 1 month ago

@JatinSanghvi any update on this ? been using this extension for a while, it's really good , but it's the only thing it's missing