-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Add focus style for checkboxes and radios #28959
Add focus style for checkboxes and radios #28959
Conversation
@mdo if you're not planning to have these styles for v5 (though I'm not sure I understand why/what the rationale is), then at least this can be backported to v4 though |
urgh ok, so changing base just to v4 made this PR super-ugly...in which case (as we'd want this still in v4 i'd say) would you mind closing this one and starting a fresh PR targeting |
We can rebase it if needed. |
@alienlebarge, Lines 222 to 224 in cf52170
|
i think a more concise way may be to just add the mixin, without even needing to replicate the
(while yes, the mixin probably has a few redundant rules for checkboxes/radio buttons, at least it keeps it all tight and consistent for form control focus styles in general - if they ever need changing, it's only one place where the change needs to be made) |
I have simply use the code of the As @patrickhlauke propose, it could be better to use it and it will be refactor when removed
Do you still want a PR targeting |
@alienlebarge sorry for all the to-ing and fro-ing, and yes there's lots of moving parts now that we've got v5 but still maintaining some parts of v4 etc... if you don't mind, simplest would probably be to close this, make a new PR just with the mixin inclusion, and target v4-dev |
Add focus style for default checkboxes and radios
#28957