-
Notifications
You must be signed in to change notification settings - Fork 99
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(RadioButton): redesign to increase contrast in component #1742
Conversation
Preview is ready. |
Visual Tests Report is ready. |
z-index: -1; | ||
inset: 3px; | ||
border-radius: var(--_--border-radius-inner); | ||
z-index: -2; |
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.
In which case is z-index: -1 not sufficient?
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.
I forgot to return it back to -1 after testing different layout options.
Fixed it
7bf7b69
to
2c3848e
Compare
This PR might be fixing the issue #1923 |
@amje looks like this PR could soulve this problem, yes, is there eta when this PR could be merged? |
|
||
&-outline { | ||
&::before { |
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.
What is the reason to use pseudo-elements? Why just don't change border and of element itself?
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.
Because on the touching sides of the buttons it will cause double border, which is visible while using semitransparent colors (they are used in base theme)
Also there were bunch of problems with overflow state (can not remember details of it now)
Closes #1732