Skip to content

Commit 9a7cd8e

Browse files
authored
Fix the color of the cart button in the app header. (#35)
* Fix the color of the cart button in the app header. * bump version
1 parent d1b0dce commit 9a7cd8e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-storefront",
3-
"version": "7.2.2",
3+
"version": "7.2.3",
44
"description": "Build and deploy e-commerce progressive web apps (PWAs) in record time.",
55
"module": "./index.js",
66
"license": "Apache-2.0",

src/CartButton.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ export const styles = theme => ({
1111
/**
1212
* Styles applied to the [`Link`](/apiReference/link%2fLink) element used as the root.
1313
*/
14-
link: {
15-
color: 'inherit',
16-
},
14+
link: {},
1715
/**
1816
* Styles passed through to the [`Badge`](https://material-ui.com/api/badge/#css) element's
1917
* `badge` CSS rule.
@@ -25,7 +23,9 @@ export const styles = theme => ({
2523
/**
2624
* Styles applied to the button icon.
2725
*/
28-
icon: {},
26+
icon: {
27+
color: theme.palette.action.active,
28+
},
2929
})
3030

3131
const useStyles = makeStyles(styles, { name: 'RSFCartButton' })

0 commit comments

Comments
 (0)