Skip to content

Easier disabled state customization for button variants#30639

Merged
XhmikosR merged 7 commits into
mainfrom
master-fod-disabled-button-args
Jul 12, 2020
Merged

Easier disabled state customization for button variants#30639
XhmikosR merged 7 commits into
mainfrom
master-fod-disabled-button-args

Conversation

@ffoodd

@ffoodd ffoodd commented Apr 23, 2020

Copy link
Copy Markdown
Contributor

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

@mdo mdo left a comment

Copy link
Copy Markdown
Member

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

ffoodd commented Jun 24, 2020

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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 <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
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