The trailing diamond doesn't use the inherited background color of its segment #1006
Answered
by
JanDeDobbeleer
TheOnlyTails
asked this question in
Troubleshoot
-
I'm trying to make a "rounder" segment at the end of my shell line, but for some reason it looks like this: The ending is supposed to be blue, not black, and I have no idea why it uses the default color instead of inheriting the background color of the previous segment. Here's the code of the component: {
"type": "text",
"style": "diamond",
"background": "inherit",
"foreground": "inherit",
"trailing_diamond": "\uE0B4",
"properties": {
"text": "\uE0BD"
}
} Here's the full theme: https://gist.github.com/0779bfac3d2c94ee69181b3a8fdd6459 |
Beta Was this translation helpful? Give feedback.
Answered by
JanDeDobbeleer
Sep 28, 2021
Replies: 1 comment 8 replies
-
That's probably going to be a bug in the diamond logic. Or rather, not taking inheritance into account. I'll check. |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
TheOnlyTails
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's probably going to be a bug in the diamond logic. Or rather, not taking inheritance into account. I'll check.