@sinco/react 1.1.1-rc.6 → 1.1.1-rc.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +7 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6997,7 +6997,7 @@ const components = {
6997
6997
  },
6998
6998
  icon: {
6999
6999
  color: (_palette$action = palette.action) == null ? void 0 : _palette$action.active,
7000
- opacity: "26%"
7000
+ opacity: "70%"
7001
7001
  },
7002
7002
  root: {
7003
7003
  fontFamily: 'Roboto',
@@ -20116,6 +20116,9 @@ const DynamicColor = async src => {
20116
20116
  };
20117
20117
 
20118
20118
  const useDynamicColor = url => {
20119
+ useState(AdproSincoTheme.palette.primary);
20120
+ useState(AdproSincoTheme.palette.secondary);
20121
+ useState(AdproSincoTheme.palette.background);
20119
20122
  const [primary, setPrimary] = useState(SincoTheme.palette.primary);
20120
20123
  const [secondary, setSecondary] = useState(SincoTheme.palette.secondary);
20121
20124
  const [background, setBackground] = useState(SincoTheme.palette.background);
@@ -20135,6 +20138,9 @@ const useDynamicColor = url => {
20135
20138
  SincoTheme.palette.primary = primary;
20136
20139
  SincoTheme.palette.secondary = secondary;
20137
20140
  SincoTheme.palette.background = background;
20141
+ AdproSincoTheme.palette.primary = primary;
20142
+ AdproSincoTheme.palette.secondary = secondary;
20143
+ AdproSincoTheme.palette.background = background;
20138
20144
  return {
20139
20145
  loading
20140
20146
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.1.1-rc.6",
3
+ "version": "1.1.1-rc.8",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",