Skip to content

Create secondary colors for buttons with SCSS functions

Chris Peressini requested to merge update-button-colors into master

What does this MR do?

  • Removes the hardcoded values for button colors and generates them using the darken function
  • Adds a border color for outline buttons on hover, focus and active states
  • Adds darker colors for outline buttons in their active state
  • Adds blue inverted button to buttons.scss

Are there points in the code the reviewer needs to double check?

Naming for new factor variables might not be good enough.

Why was this MR needed?

Increases visibility of alternate states as specified in #24145 (closed)

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #24145 (closed)

Merge request reports