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
breadcrumb: simplify appearance, improve extensibility #32249
Conversation
Shouldn't we mention this change in migration? |
ah, good point @XhmikosR ... doh |
also, i just ripped out the padding stuff, but should it perhaps go for an explicit [edit: decided to just go for it] |
We could |
sigh...well, whichever, somebody make a decision :) |
If we set $breadcrumb-padding-y: 0 !default;
$breadcrumb-padding-x: 0 !default;
$breadcrumb-bg: null !default;
$breadcrumb-border-radius: null !default; we'll still be able to adjust paddings,bg & radius with Sass variables and keep the result as is (in this PR). |
Agreed, didn't think about this but it would even not be a breaking change I guess, since variables would still exist 👌 |
Right, done ... think it'd still be a breaking change if we change the default styles like this under people's feet though, so keeping this as v5 only at the moment |
6207318
to
50d8390
Compare
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.
👌
Let's wait for another approval from @mdo please :) |
Pushed some content changes and the CSS custom property mention in #32053 (comment) along with @ffoodd's recommendation of the Sass fallback. |
8122fc3
to
43d2f2b
Compare
Some notes:
|
1061593
to
e470f9e
Compare
- Add CSS custom property with fallback to Sass variable - Update docs to mention the new CSS custom property - Rewrite some of the docs to use divider instead of separator, and add some context here and there
6988e0c
to
b12fc3a
Compare
@twbs/css-review so, does this still look good to merge? |
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.
Now it does
Closes #32053
Preview: https://deploy-preview-32249--twbs-bootstrap.netlify.app/docs/5.0/components/breadcrumb/