Skip to content

Create secondary colors for buttons with SCSS functions [Proper]

Chris Peressini requested to merge update-button-style 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

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