Fork me on GitHub
#calva
<
2020-09-15
>
pez08:09:37

Someone savvy with theming in here? I have this problem with that I read much better with the default dark theme. But about all console/terminal apps/scripts insist on outputting errors in red and I can’t read red on black/dark. So then I have to switch to a light theme (I prefer Solarized) to read these errors, and then back to Dark+ for reading the other stuff. Drives me nuts. Is there a way to configure red? Or, I could live with configuring things such that the terminal uses a light theme and while the rest uses Dark+. (I guess I am out of luck, but anyway, maybe there is some hope somewhere…)

sogaiu09:09:41

are you using macos?

sogaiu09:09:00

or is this in calva?

sogaiu09:09:04

please provide more context 🙂

pez09:09:16

This is a vscode issue as far as i understand it. But I'll settle with a macos solution. 😀

sogaiu09:09:29

so the context is the terminal in vscode?

pez09:09:03

Yes. I'm a heavy user of that.

sogaiu09:09:32

ok, i will investigate -- for ordinary terminals, i tend to find there are some settings one can tweak for colors.

❤️ 3
sogaiu09:09:51

it looks like that allows a fair bit of tweaking

sogaiu09:09:59

i saw my terminal colors change

pez09:09:47

Yeah, so this is for the integrated use. Stuff happen in some terminal panes as a result of me editing Clojure code. The pane where the terminal lives has this awesome maximize button, so that I can usually keep the terminal output quite tiny and then toggle it full window when i need to.

pez09:09:46

That really looks super interesting. Maybe I can redefine red this way!

sogaiu09:09:06

yes, it looks like one can do so.

sogaiu09:09:18

and you get little squares with the color in them.

pez09:09:29

Yes!!!! Thank you, thank you, thank you!

sogaiu09:09:07

glad to hear it worked, oh fellow user of dark themes 🙂

pez09:09:18

Haha, this is awesome.

pez09:09:23

afaict the default settings for red and bright red are the same

sogaiu09:09:19

in the sample they are both set to #FB543F

sogaiu09:09:30

oh my goodness, i see those little color squares here too

pez09:09:25

I think they use them in slack partly because it aids in theming.

pez10:09:12

If anyone have similar issues reading red on black, here are settings that work for me:

"workbench.colorCustomizations": {
        // "terminal.background":"#1D2021",
        // "terminal.foreground":"#A89984",
        // "terminalCursor.background":"#A89984",
        // "terminalCursor.foreground":"#A89984",
        // "terminal.ansiBlack":"#1D2021",
        // "terminal.ansiBlue":"#0D6678",
        // "terminal.ansiBrightBlack":"#665C54",
        // "terminal.ansiBrightBlue":"#0D6678",
        // "terminal.ansiBrightCyan":"#8BA59B",
        // "terminal.ansiBrightGreen":"#95C085",
        // "terminal.ansiBrightMagenta":"#8F4673",
        "terminal.ansiRed":"#f8ada4",
        "terminal.ansiBrightRed":"#fcafa4",
        // "terminal.ansiBrightWhite":"#FDF4C1",
        // "terminal.ansiBrightYellow":"#FAC03B",
        // "terminal.ansiCyan":"#8BA59B",
        // "terminal.ansiGreen":"#95C085",
        // "terminal.ansiMagenta":"#8F4673",
        // "terminal.ansiWhite":"#A89984",
        // "terminal.ansiYellow":"#FAC03B"
      }
    }

👍 6
Bobbi Towers18:09:49

fwiw, I use this plug-in that lets you adjust the theme using plain CSS: https://marketplace.visualstudio.com/items?itemName=be5invis.vscode-custom-css

metal 3
😮 6