Skip to content

Commit

Permalink
fix: (CXSPA-9045) Button_ Contrast issue in high contrast themes for …
Browse files Browse the repository at this point in the history
…Focus. (#19846)
  • Loading branch information
StanislavSukhanov authored Jan 10, 2025
1 parent f16704a commit f2ce016
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions projects/storefrontstyles/scss/cxbase/blocks/buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -337,3 +337,12 @@ button,
@include visible-focus();
}
}

// override opacity of bootstrap .close class
button.close:not(:disabled):not(.disabled) {
@include forFeature('a11yImproveContrast') {
&:focus {
opacity: 1;
}
}
}

0 comments on commit f2ce016

Please sign in to comment.