-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
feat(ui): round frame corners #1227
Conversation
Yay. This is amazing! I do think the configuration should be:
so we can build upon that and go with something like #680:
|
A good idea! Just to clarify, is the |
That is a good question, I would say no, since it should mostly handle functionality. |
This reverts commit 9271a4b.
You are right, it does feel out of place in the main config. But I do think it seems very unwieldy under the theme section. Since you would need to configure it for every color scheme separately. Maybe put it under something like |
I'd be happy with that, something like |
Yes, that sounds very good! |
Hopefully I'll wrap up this PR – got caught up with loads of merge and cleanup work tonight! |
@a-kenji Took me long enough... This should be ready for final review! |
Oh, and for clarity, the config option is now: ui:
pane_frames:
rounded_corners: true |
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.
LGMT, thank you! This is awesome.
I personally would call it round_corners
instead of rounded_corners
,
but I am not a native speaker.
Do we want to add docs for this? |
This PR directly replaces #669
Everything now passes around a
Style
instead of aPalette
, letting us add more styling information in the future. For now, it means round corners in themes!You can now add:
For round corner goodness!
As an important BREAKING CHANGE (needs @a-kenji 's input probably), color palettes need to be specified in a subsection now!
To explain using an example, this old theme...
Would become:
With the optional corner parameter: