Skip to content

Commit

Permalink
fix: fixed btn-primary icon with focus-visible
Browse files Browse the repository at this point in the history
  • Loading branch information
SaraBianchi committed Mar 4, 2024
1 parent da10eaa commit 30314c7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/theme/bootstrap-override/_bootstrap-italia-site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
@import 'bootstrap-italia/src/scss/custom/calendar';
@import 'bootstrap-italia/src/scss/custom/alert';
@import 'bootstrap-italia/src/scss/custom/buttons';
@import './bootstrap-italia/buttons';
@import 'bootstrap-italia/src/scss/custom/font';
@import 'bootstrap-italia/src/scss/custom/forms';
@import 'bootstrap-italia/src/scss/custom/form-input-file';
Expand Down
8 changes: 8 additions & 0 deletions src/theme/bootstrap-override/bootstrap-italia/_buttons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
button.btn.btn-primary:focus-visible,
.btn.btn-primary:focus-visible {
&:not(:hover) {
svg.icon {
fill: var(--bs-btn-hover-color);
}
}
}

0 comments on commit 30314c7

Please sign in to comment.