Commit 9bb90663dd for woocommerce

commit 9bb90663ddda837f3ac80313dfb1bc3893dc266b
Author: Copilot <198982749+Copilot@users.noreply.github.com>
Date:   Wed Jan 28 15:41:44 2026 +0000

    Fix discount text color contrast on block checkout (#62971)

    * Initial plan

    * Remove discount text color override to use theme's default color

    Co-authored-by: opr <5656702+opr@users.noreply.github.com>

    * Remove unused $discount-color variable

    Co-authored-by: opr <5656702+opr@users.noreply.github.com>

    * Add changelog

    ---------

    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: opr <5656702+opr@users.noreply.github.com>

diff --git a/plugins/woocommerce/changelog/copilot-fix-color-contrast-discount-text b/plugins/woocommerce/changelog/copilot-fix-color-contrast-discount-text
new file mode 100644
index 0000000000..8605aaf4b4
--- /dev/null
+++ b/plugins/woocommerce/changelog/copilot-fix-color-contrast-discount-text
@@ -0,0 +1,4 @@
+Significance: patch
+Type: update
+
+Change the "discount" colour in Cart/Checkout block totals to be more accessible (now uses the same colour as the theme)
diff --git a/plugins/woocommerce/client/blocks/assets/css/abstracts/_colors.scss b/plugins/woocommerce/client/blocks/assets/css/abstracts/_colors.scss
index e2e1c7f411..92c23e1e32 100644
--- a/plugins/woocommerce/client/blocks/assets/css/abstracts/_colors.scss
+++ b/plugins/woocommerce/client/blocks/assets/css/abstracts/_colors.scss
@@ -1,9 +1,6 @@
 @import "node_modules/@wordpress/base-styles/colors";
 @import "node_modules/@automattic/color-studio/dist/color-variables";

-// Bright colors
-$discount-color: $alert-green;
-
 $input-text-light: #2b2d2f;
 $input-text-dark: #fff;
 $input-placeholder-dark: rgba(255, 255, 255, 0.6);
diff --git a/plugins/woocommerce/client/blocks/assets/js/base/components/cart-checkout/totals/discount/style.scss b/plugins/woocommerce/client/blocks/assets/js/base/components/cart-checkout/totals/discount/style.scss
index 07a0fb28b9..4bbafe203b 100644
--- a/plugins/woocommerce/client/blocks/assets/js/base/components/cart-checkout/totals/discount/style.scss
+++ b/plugins/woocommerce/client/blocks/assets/js/base/components/cart-checkout/totals/discount/style.scss
@@ -3,7 +3,3 @@
 	margin: $gap-smallest 0 0;
 	padding: 0;
 }
-
-.wc-block-components-totals-discount .wc-block-components-totals-item__value {
-	color: $discount-color;
-}