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

chore(progressbar): allow to specify progressbar text type #3394

Merged

Commits on Oct 3, 2019

  1. chore(progressbar): allow to specify progressbar text type

    As advised on the Bootstrap documentation page when using some
    background variants that is advisable to change the text color
    accordingly, for example for readability purposes. The `textType` input
    property allows to achieve this, adding support for binding text types
    to `text-*` utility class on the progress bar.
    Common scenario: progress bar with 'warning' type renders a white text on
    the yellow background (assuming default BS). This change allows users to opt to
    'dark' text type to improve the readability.
    
    ref:
    https://getbootstrap.com/docs/4.3/utilities/colors/#background-color
    peterblazejewicz committed Oct 3, 2019
    Copy the full SHA
    7e869ad View commit details
    Browse the repository at this point in the history