Term.jl color scheme for light background

The default colors in Term.jl are clearly designed for a dark background terminal:

Does anyone have a good Term.jl color scheme for a white background terminal?

Hmmm… looking at the package code, it seems there are lots of hardcoded colors that aren’t even part of the colorscheme: Support white background terminals · Issue #156 · FedeClaudi/Term.jl · GitHub

While Term.jl looks like an amazing library, I really take issue with the modern fad of everyone using dark background terminals and baking that in as an assumption. Julia itself is very guilty of this. Please do not design terminal applications assuming the user will have a dark background!

1 Like

Indeed, it’s something I always have to remind myself to do - “check for both light and dark backgrounds”.

Julia seems to allow for colour customization - The Julia REPL · The Julia Language -…

Yes, but Julia also still hardcodes colors (especially in Pkg), see my comments on the relevant issue: color scheme support · Issue #41435 · JuliaLang/julia · GitHub

I considered trying to work on a fix in Add namedstyle argument to printstyled by goerz · Pull Request #41910 · JuliaLang/julia · GitHub, but I guess I ultimately just learned to live with it and didn’t pursue it any further

1 Like