File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const brandAndProductName = css`
3535const readMoreCta = css `
3636 ${ textSansBold15 } ;
3737 text- decor ation- line: underline;
38- text- decor ation- color : # dcdcdc ; /* stylelint-disable-line */
38+ text- decor ation- color : ${ palette ( '--product-card-read-more-decoration' ) } ;
3939 color : ${ palette ( '--product-card-read-more' ) } ;
4040 text- underline-offset: 20%;
4141 padding- botto m: ${ space [ 2 ] } px;
@@ -102,25 +102,21 @@ export const ProductCarouselCard = ({
102102 ) }
103103 < div css = { readMoreCta } > Read more</ div >
104104 < div css = { imageArea } >
105- < ProductCardImage
106- format = { format }
107- image = { product . image }
108- url = { undefined }
109- />
105+ < ProductCardImage format = { format } image = { product . image } />
110106 </ div >
111107 { ! hasHeading && (
112108 < div >
113109 < div css = { brandAndProductName } > { product . brandName } </ div >
114110 < div css = { productNameStyle } > { product . productName } </ div >
115111 </ div >
116112 ) }
117- < div css = { priceStyle } > { firstCta ?. price ?? 'Price unavailable' } </ div >
113+ < div css = { priceStyle } > { firstCta ?. price } </ div >
118114
119115 < div css = { buttonWrapper } >
120116 < ProductCardButtons
121117 productCtas = { firstCta ? [ firstCta ] : [ ] }
122118 buttonLabelOverride = {
123- firstCta ? `Buy at ${ firstCta . retailer } ` : 'Buy'
119+ firstCta ? `Buy at ${ firstCta . retailer } ` : undefined
124120 }
125121 />
126122 </ div >
Original file line number Diff line number Diff line change @@ -7557,6 +7557,10 @@ const paletteColours = {
75577557 light : productCardReadMoreLight ,
75587558 dark : productCardReadMoreDark ,
75597559 } ,
7560+ '--product-card-read-more-decoration' : {
7561+ light : productCardBorderNeutralLight ,
7562+ dark : productCardBorderNeutralLight ,
7563+ } ,
75607564 '--pullquote-background' : {
75617565 light : pullQuoteBackgroundLight ,
75627566 dark : pullQuoteBackgroundDark ,
You can’t perform that action at this time.
0 commit comments