@bbl-digital/snorre 4.0.0-alpha.3 → 4.0.0-alpha.4

Sign up to get free protection for your applications and to get access to all the features.
package/dist/bundle.js CHANGED
@@ -51,6 +51,9 @@
51
51
  getThemeStuff(themeUrl);
52
52
  }, [themeUrl]);
53
53
  React.useEffect(() => {
54
+ console.log(theme);
55
+ console.log(globals);
56
+
54
57
  if (theme) {
55
58
  setAppTheme(initTheme(theme, defaultTextColor));
56
59
  }
@@ -20,6 +20,9 @@ const useSnorreTheme = ({
20
20
  getThemeStuff(themeUrl);
21
21
  }, [themeUrl]);
22
22
  useEffect(() => {
23
+ console.log(theme);
24
+ console.log(globals);
25
+
23
26
  if (theme) {
24
27
  setAppTheme(initTheme(theme, defaultTextColor));
25
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useSnorreTheme.d.ts","sourceRoot":"","sources":["../../src/packages/utils/useSnorreTheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAa,MAAM,oBAAoB,CAAA;AAEzD,aAAK,KAAK,GAAG;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AAED,QAAA,MAAM,cAAc,mCAAoC,KAAK;;;CA6B5D,CAAA;AACD,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"useSnorreTheme.d.ts","sourceRoot":"","sources":["../../src/packages/utils/useSnorreTheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAa,MAAM,oBAAoB,CAAA;AAEzD,aAAK,KAAK,GAAG;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AAED,QAAA,MAAM,cAAc,mCAAoC,KAAK;;;CA+B5D,CAAA;AACD,eAAe,cAAc,CAAA"}
@@ -20,6 +20,9 @@ const useSnorreTheme = ({
20
20
  getThemeStuff(themeUrl);
21
21
  }, [themeUrl]);
22
22
  useEffect(() => {
23
+ console.log(theme);
24
+ console.log(globals);
25
+
23
26
  if (theme) {
24
27
  setAppTheme(initTheme(theme, defaultTextColor));
25
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "4.0.0-alpha.3",
3
+ "version": "4.0.0-alpha.4",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",