-
-
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
Convert border utilities to CSS variables #35428
Conversation
619b36f
to
6413893
Compare
This |
Yup, that's coming next :). |
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.
Those are nice additions, almost there 👌
24bc11b
to
9b7f930
Compare
Changes addressed @ffoodd, ready for another review :D. |
03df7d8
to
9ecdfcf
Compare
Added another commit to replace instances of |
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.
One of the new sentence sounds weird, but apart from that it works great!
- Updates the utilities mixin to check for specific CSS variable names via `css-variable` - Bonus fix: we now prevent local variables for `0` value utilities (e.g., `.border-top-0` no longer sets `--bs-border-opacity: 1` - Adds new `.border-opacity-*` classes - Adds new root variables: `--bs-border-color`, `--bs-border-style`, `--bs-border-width` - Documents the new variable changes
…lor and border-width
9ecdfcf
to
7b2d7f3
Compare
css-variable
0
value utilities (e.g.,.border-top-0
no longer sets--bs-border-opacity: 1
.border-opacity-*
classes--bs-border-color
,--bs-border-style
,--bs-border-width
Todo: