-
Notifications
You must be signed in to change notification settings - Fork 4k
Core design updates #6817
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
Core design updates #6817
Conversation
|
@sfc-gh-jgarcia , can you do a merge with develop for this PR? |
| overrides: { | ||
| Svg: { | ||
| style: () => ({ | ||
| width: "24px", |
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.
nit: is it possible to create a variable in sizes.ts that is like svgHeight: "24px" or "1.5rem"?
Or could we use iconSizes.xl?
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.
That's a great callout! Fixed on 34a0b0e
| overrides: { | ||
| Svg: { | ||
| style: () => ({ | ||
| width: "24px", |
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.
ditto
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.
Fixed on 34a0b0e
@sfc-gh-wihuang Done! |
sfc-gh-wihuang
left a comment
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.
Honestly, I didn't check all of the screenshots but I checked some of them and they seemed reasonable. Code wise LGTM.
I would ask that you check all the screenshots for sanity sake :)
@sfc-gh-wihuang Yeah, I don't blame you, haha. I did check them, and they look good to me, so we should be good 👍 |
This PR is a follow up of #6817, updating the border-radius from .25rem to .5rem to the following widgets: - st.code; - st.expander; - st.info, st.warning, st.success and st.error; - st.exception
This PR is a follow up of streamlit#6817, updating the border-radius from .25rem to .5rem to the following widgets: - st.code; - st.expander; - st.info, st.warning, st.success and st.error; - st.exception
Describe your changes
This PR introduces a set of visual changes to our widgets:
border-radiusby making them more rounded;st.checkboxandst.radioborders thinner;margin-bottombetween labels and widgets so they're closer;st.selectboxandst.multiselectlook likest.checkbox's labelIssue link
https://www.notion.so/snowflake-corp/Open-Source-Refresh-part-1-c8b3e52d6d744fa6aabbaaafb3dd21fa?pvs=4
Testing Plan
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.