-
Notifications
You must be signed in to change notification settings - Fork 3.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
ui: Add background color property to label #22109
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danilo-leal raised a good point: is there a reason this needs to be on the label instead of just setting a background color for the containing element?
Let me preface this with saying that I'm still new to this code base. :) From what I saw, the vim status indicator is a label sitting directly on the status bar and I didn't want to change the background color of the whole status bar: https://github.com/zed-industries/zed/blob/main/crates/vim/src/mode_indicator.rs#L111 Is there another containing element? I saw that |
We could add a wrapping |
I'm going to close this PR out, as it seems we can achieve the results we want without modifying |
Just achieved the same by using a div. Thanks, I learned something today! :) |
For issue #14093 I need to be able to specify a background color on the label used for the vim mode indicator.
Release Notes: