-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new inherit
color option
#994
Comments
I'm also thinking of a new type segment called
It would allow for very easy rounding segments: {
"type": "inherit",
"properties": {
"prefix": "\uE0B6"
}
} We could even have new |
I don't immediately see the use case for the first suggestion as this change already convers that which in combination with a diamond segment gives you exactly what you propose if I understand correctly. |
Hmm, on second thought, I agree. The 2nd one might be worth considering though, since it's pretty hard to figure out you could use |
@TheOnlyTails we can always get to that point with communication s(or sample configs with these use-cases). |
@all-contributors please add @TheOnlyTails for ideas |
I've put up a pull request to add @TheOnlyTails! 🎉 |
Ah true, that's something I forgot. Will add. EDIT: this is isn't an easy addition. Requires structural architectural changes. Need to think about this. Could as well turn out to be not supported for this usage. |
Hmm, interesting. |
@TheOnlyTails found an "acceptable" solution after the initial refactoring. Should land soon. |
That's great! |
@TheOnlyTails should be live |
Wonderful! |
@TheOnlyTails with the change in #1180 the |
got it, thanks for the heads up. |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. |
Code of Conduct
What would you like to see changed/added?
A new color value called
inherit
, which would automatically use the color of the previous segment.If the segment in which
inherit
is used has nothing to inherit from (whether by being the first segment, orinheritColor
isfalse
for the block), the default color will be used (as if the field is not specified) and a warning will be issued.I would also be nice to have an
inheritColor
option on blocks, which would specify if segments in said block are allowed to inherit the color from segments in other blocks.for example, if we have this block:
The text was updated successfully, but these errors were encountered: