Patch invalid css in @woocommerce/components

The current version throws an error:
This function isn't allowed in plain CSS
color: darken(#cacccd)

Fixed with pnpm patch

MAILPOET-5121
This commit is contained in:
Oluwaseun Olorunsola
2024-06-24 11:03:35 +01:00
committed by Veljko V
parent 5c39b5de8f
commit b721cdf414
3 changed files with 30 additions and 3 deletions

View File

@ -0,0 +1,22 @@
diff --git a/build-style/style.css b/build-style/style.css
index 3db807f278a470f83f0ab65f033bc6a9596af81a..7f11ceae63d0e9fe2d1aac59c550f42712ade727 100644
--- a/build-style/style.css
+++ b/build-style/style.css
@@ -157,7 +157,7 @@
}
.SingleDatePicker_closeButton:focus,
.SingleDatePicker_closeButton:hover {
- color: darken(#cacccd,10%);
+ color: #b0b3b4;
text-decoration: none
}
.SingleDatePicker_closeButton_svg {
@@ -884,7 +884,7 @@
}
.DateRangePicker_closeButton:focus,
.DateRangePicker_closeButton:hover {
- color: darken(#cacccd,10%);
+ color: #b0b3b4;
text-decoration: none
}
.DateRangePicker_closeButton_svg {