Commit d8445fae4c8 for woocommerce

commit d8445fae4c8d47b88d65f8059c1bca0d6a2f6426
Author: Ann <annchichi@users.noreply.github.com>
Date:   Wed Apr 29 03:29:37 2026 +0800

    Align legacy admin success notice with WordPress 7.0 palette (#64212)

diff --git a/plugins/woocommerce/changelog/tweak-align-legacy-admin-notice-success b/plugins/woocommerce/changelog/tweak-align-legacy-admin-notice-success
new file mode 100644
index 00000000000..e51722f7d16
--- /dev/null
+++ b/plugins/woocommerce/changelog/tweak-align-legacy-admin-notice-success
@@ -0,0 +1,4 @@
+Significance: patch
+Type: tweak
+
+Remove a border-left-color override on Woo's legacy admin notice container so "updated" notices inherit WordPress 7.0's success palette instead of the admin theme color.
diff --git a/plugins/woocommerce/client/legacy/css/activation.scss b/plugins/woocommerce/client/legacy/css/activation.scss
index a18bda8ab9e..21a71594403 100644
--- a/plugins/woocommerce/client/legacy/css/activation.scss
+++ b/plugins/woocommerce/client/legacy/css/activation.scss
@@ -9,10 +9,6 @@
 div.woocommerce-message {
 	overflow: hidden;
 	position: relative;
-
-	&.updated {
-		border-left-color: var(--wp-admin-theme-color, #720EEC) !important;
-	}
 }

 p.woocommerce-actions,
diff --git a/plugins/woocommerce/client/legacy/css/admin.scss b/plugins/woocommerce/client/legacy/css/admin.scss
index 68e82de4a2e..8ba16c13156 100644
--- a/plugins/woocommerce/client/legacy/css/admin.scss
+++ b/plugins/woocommerce/client/legacy/css/admin.scss
@@ -912,10 +912,6 @@ $font-sf-pro-display: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe U
 	position: relative;
 	overflow: hidden;

-	&.updated {
-		border-left-color: var(--wp-admin-theme-color, $woocommerce) !important;
-	}
-
 	a.skip,
 	a.docs {
 		text-decoration: none !important;