@toptal/picasso-provider 1.3.0 → 1.3.1
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createTheme } from '@material-ui/core/styles';
|
|
2
2
|
import { deepmerge } from '@material-ui/utils';
|
|
3
3
|
import { palette, layout, breakpoints, screens, transitions, typography, sizes, shadows, } from './config';
|
|
4
4
|
const picasso = {
|
|
@@ -45,6 +45,6 @@ class Provider {
|
|
|
45
45
|
this.theme = deepmerge(this.theme, theme);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
const PicassoProvider = new Provider(
|
|
48
|
+
const PicassoProvider = new Provider(createTheme(picasso));
|
|
49
49
|
export default PicassoProvider;
|
|
50
50
|
//# sourceMappingURL=PicassoProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PicassoProvider.js","sourceRoot":"","sources":["../../src/Picasso/PicassoProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,
|
|
1
|
+
{"version":3,"file":"PicassoProvider.js","sourceRoot":"","sources":["../../src/Picasso/PicassoProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAE3E,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,EACL,OAAO,EACP,MAAM,EACN,WAAW,EACX,OAAO,EACP,WAAW,EACX,UAAU,EACV,KAAK,EACL,OAAO,GACR,MAAM,UAAU,CAAA;AAEjB,MAAM,OAAO,GAAG;IACd,OAAO;IACP,MAAM;IACN,WAAW;IACX,KAAK;IACL,WAAW;IACX,OAAO;IACP,OAAO;IACP,UAAU;IACV,KAAK,EAAE;QACL,aAAa,EAAE;YACb,aAAa,EAAE,IAAI;SACpB;QACD,OAAO,EAAE;YACP,cAAc,EAAE,IAAI;SACrB;QACD,QAAQ,EAAE;YAC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