-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Checkbox] refactor indicators style #2721
Conversation
Adjust font-size in large, everything recomputes! Refactor all controls to leverage this (Switch needs a little more work)
one property replaces six!
Bring Switch large & dark variants inside its block
move large modifier up to general sectionPreview: documentation | landing | table |
lintPreview: documentation | landing | table |
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.
looks nice!
} | ||
|
||
input:checked:disabled ~ .#{$ns}-control-indicator::before { | ||
box-shadow: none; | ||
background-image: radial-gradient(rgba($white, 0.5) 0%, rgba($white, 0.5) 28%, transparent 32%); |
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.
maybe just opacity: 50%
?
opacity for disabled radioPreview: documentation | landing | table |
1em
for size so all we have to do for large is bump thefont-size
indicator-colors()
mixin for legibility & remove unused variables