orc-shared 5.99.0-dev.6 → 5.99.0-dev.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,7 +100,13 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
100
100
  borderRadius: 0,
101
101
  whiteSpace: "normal",
102
102
  "&:hover": {
103
- backgroundColor: theme.palette.primary.main
103
+ backgroundColor: theme.palette.primary.main,
104
+ "&:not(.Mui-selected) > p": {
105
+ color: "".concat(theme.palette.primary.contrastText)
106
+ },
107
+ "&.Mui-selected": {
108
+ backgroundColor: theme.palette.secondary.light
109
+ }
104
110
  },
105
111
  "&:focus, &:active": {
106
112
  borderRadius: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orc-shared",
3
- "version": "5.99.0-dev.6",
3
+ "version": "5.99.0-dev.7",
4
4
  "description": "Shared code for Orckestra applications",
5
5
  "main": "./src/index.js",
6
6
  "exports": {
@@ -63,6 +63,12 @@ const useStyles = makeStyles(theme => ({
63
63
  whiteSpace: "normal",
64
64
  "&:hover": {
65
65
  backgroundColor: theme.palette.primary.main,
66
+ "&:not(.Mui-selected) > p": {
67
+ color: `${theme.palette.primary.contrastText}`,
68
+ },
69
+ "&.Mui-selected": {
70
+ backgroundColor: theme.palette.secondary.light,
71
+ },
66
72
  },
67
73
  "&:focus, &:active": {
68
74
  borderRadius: 0,