Skip to content
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

Easier disabled state customization for button variants #30639

Merged
merged 7 commits into from
Jul 12, 2020

Conversation

ffoodd
Copy link
Member

@ffoodd ffoodd commented Apr 23, 2020

We can seamlessly ease the disabled state customization in the button-variant() mixin by adding dedicated arguments, which default values are the previously used ones.

I may have to mention this somewhere in the docs, if you're OK with the feature :)

@ffoodd ffoodd requested a review from a team as a code owner April 23, 2020 12:38
@mdo mdo changed the base branch from master to main June 16, 2020 19:58
Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's document this in our Migration guide (and explain it's new in alpha 2 somehow, I can work on that). Perhaps we also do some Sass references in the buttons docs?

@ffoodd ffoodd force-pushed the master-fod-disabled-button-args branch from fe3bac6 to 0faa9ea Compare June 24, 2020 09:03
@ffoodd
Copy link
Member Author

ffoodd commented Jun 24, 2020

I added a mention in the migration page, not sure about the wording but at least there's something, now :)

Not sure about Sass reference in the buttons docs either, looks like a meta feature for all components—as requested several times, isn't it?

@XhmikosR
Copy link
Member

Waiting to merge #31122 first so that we place all alpha2 changes in the new section.

@XhmikosR XhmikosR merged commit 37ef4e4 into main Jul 12, 2020
@XhmikosR XhmikosR deleted the master-fod-disabled-button-args branch July 12, 2020 04:56
olsza pushed a commit to olsza/bootstrap that referenced this pull request Oct 3, 2020
* feat(buttons): easier disabled state customization

* docs(migration): mention new arguments for disabled state in button-variant()

* Update migration.md

Co-authored-by: XhmikosR <[email protected]>
Co-authored-by: Mark Otto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants