@webpros/mui-theme 0.3.7 → 0.3.8

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.
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webpros/mui-theme",
3
3
  "description": "MUI v7 theme for WebPros products",
4
- "version": "0.3.7",
4
+ "version": "0.3.8",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -33,15 +33,15 @@ color = theme.colors.schemes.surfaces.onSurface) => (Object.assign({ cursor: 'po
33
33
  })));
34
34
  export const getContainerBackgroundStateLayer = (severity) => {
35
35
  if (severity === 'error')
36
- return 'stateLayers.status.errorContainer.opacity16';
36
+ return 'stateLayers.status.errorContainer.opacity56';
37
37
  if (severity === 'warning')
38
- return 'stateLayers.status.warningContainer.opacity16';
38
+ return 'stateLayers.status.warningContainer.opacity56';
39
39
  return null;
40
40
  };
41
41
  export const getContainerHoverStateLayer = (severity) => {
42
42
  if (severity === 'error')
43
- return 'stateLayers.status.onErrorContainer.opacity16';
43
+ return 'stateLayers.status.errorContainer.opacity78';
44
44
  if (severity === 'warning')
45
- return 'stateLayers.status.onWarningContainer.opacity16';
45
+ return 'stateLayers.status.warningContainer.opacity78';
46
46
  return 'stateLayers.surfaces.onSurface.opacity08';
47
47
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webpros/mui-theme",
3
3
  "description": "MUI v7 theme for WebPros products",
4
- "version": "0.3.7",
4
+ "version": "0.3.8",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",