Skip to content

Button color defaultProp as "secondary" is a bad default in Bootstrap 4-beta #535

@m-rutter

Description

@m-rutter
  • version #4.8.0
  • components: Button

So bootstrap 4 has finally moved from alpha to beta, and with it they have dramatically changed the default colour palette. Most notably they have changed the btn-secondary css class from a white color to a dark grey, which doesn't seem like a good default for a button. Unfortunately, "secondary" is the default prop for the reactstrap Button class. I recommend making the default for the Button class to be just the bootstrap btn css class or btn-light css class, because otherwise I imagine that it might become necessary to explicitly give a color prop to almost every instance of Button.

https://getbootstrap.com/docs/4.0/components/buttons/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions