-
-
Notifications
You must be signed in to change notification settings - Fork 79.2k
$component-active-bg and $component-active-color are partially useful #24710
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
Conversation
…ol-indicators and pagination for checked, indeterminate, and active states
|
Hey @pat270 😄 I think we should add them in places that have a direct relationship, like pagination. But I wouldn't add them to variables that don't have a tie to the To me, yes to you first commit, no to the second one. But I'd definitely add new component variables to standardise the way we treat components. Thanks a lot! |
|
@andresgalante, An idea that I had that I didn't mention is doing away the |
|
Would this include a fix for focus styling for the active link in pagination? Currently for keyboard users it is not possible to tell if the active page link is focused. I'm currently using the following CSS to add the focus styling: .pagination > .page-item > .page-link.active:focus {
box-shadow: 0 0 0 3px rgba(0,123,255,.5);
z-index: 2;
} |
|
@tmorehouse This just lets you change the For the focus style, it looks like Bootstrap just uses the browser default focus outline if |
|
Updated to resolve conflicts in |
|
This LGTM. |

Changing
$component-active-bgand$component-active-coloronly changes the style on some components, it looks like custom checkbox, custom radio, and pagination should also use these variables.The second commit bases focus colors for Form elements and Buttons on
$component-active-bg. This seemed logical to me, but wasn't sure if this behavior fits with Bootstrap 4's roadmap.