Skip to content

How to set foreground color when terminal background is transparent? #134

Closed Answered by d99kris
Bellavene asked this question in Q&A
Discussion options

You must be logged in to vote

color_regular_text_fg stays white when color_regular_text_bg is none :(
This is needed when terminal background is transparent.

Could you try setting bg to black and see if it works? I believe black is mapped to default background in the terminal, at least this works in macOS Terminal. Example:

color_regular_text_bg=black
color_regular_text_fg=0x5588bb

Example screenshot on macOS:

If this doesn't work, please let me know OS/distro and terminal used, and I'll check.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by d99kris
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #130 on January 15, 2023 08:49.