From 30314c734eb1fbec00cc3e110e3cc0ab10540303 Mon Sep 17 00:00:00 2001
From: Sara Bianchi <sara.bianchi@redturtle.it>
Date: Mon, 4 Mar 2024 15:24:46 +0100
Subject: [PATCH 1/2] fix: fixed btn-primary icon with focus-visible

---
 src/theme/bootstrap-override/_bootstrap-italia-site.scss  | 1 +
 .../bootstrap-override/bootstrap-italia/_buttons.scss     | 8 ++++++++
 2 files changed, 9 insertions(+)
 create mode 100644 src/theme/bootstrap-override/bootstrap-italia/_buttons.scss

diff --git a/src/theme/bootstrap-override/_bootstrap-italia-site.scss b/src/theme/bootstrap-override/_bootstrap-italia-site.scss
index 94c5450fe..1fa6bb54a 100644
--- a/src/theme/bootstrap-override/_bootstrap-italia-site.scss
+++ b/src/theme/bootstrap-override/_bootstrap-italia-site.scss
@@ -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';
diff --git a/src/theme/bootstrap-override/bootstrap-italia/_buttons.scss b/src/theme/bootstrap-override/bootstrap-italia/_buttons.scss
new file mode 100644
index 000000000..10192acb7
--- /dev/null
+++ b/src/theme/bootstrap-override/bootstrap-italia/_buttons.scss
@@ -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);
+    }
+  }
+}

From f1960d78db13f983468b669c11d4feeaf4fa330f Mon Sep 17 00:00:00 2001
From: Sara Bianchi <sara.bianchi@redturtle.it>
Date: Mon, 4 Mar 2024 15:32:58 +0100
Subject: [PATCH 2/2] docs: updated release.md

---
 RELEASE.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/RELEASE.md b/RELEASE.md
index 31b235ce1..08303740a 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -63,6 +63,7 @@
 - La tendina delle select nel blocco Form non si sovrappone piĆ¹ ai campi sottostanti.
 - Sistemato alert di errore nel blocco Form che nascondeva il form quando un campo non era valido, ora continua a visualizzarsi anche la form.
 - Migliorato il testo alternativo per il logo NextGenerationEU nel footer.
+- Sistemato il contrasto delle icone nei pulsanti "primary" quando si attiva il focus col tab da tastiera
 
 ## Versione 11.5.1 (19/02/2024)