@symbo.ls/scratch 2.10.244 → 2.10.246

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/cjs/index.js CHANGED
@@ -1016,8 +1016,7 @@ var colorStringToRgbaArray = (color) => {
1016
1016
  return;
1017
1017
  color = import_globals.window.getComputedStyle(elem).color;
1018
1018
  import_globals.document.body.removeChild(elem);
1019
- } else
1020
- console.warn("Color conversion failed, no document or window object found");
1019
+ }
1021
1020
  }
1022
1021
  if (color.indexOf("rgb") === 0) {
1023
1022
  if (color.indexOf("rgba") === -1)
@@ -2383,7 +2382,6 @@ var applyReset = (reset = {}) => {
2383
2382
  left: "0",
2384
2383
  margin: "0",
2385
2384
  WebkitFontSmoothing: "antialiased",
2386
- transform: "translate3d(0, 0, 1px)",
2387
2385
  scrollBehavior: "smooth",
2388
2386
  fontSize: TYPOGRAPHY2.browserDefault + "px",
2389
2387
  ...CONFIG2.useDocumentTheme ? getMediaTheme("document", `@${CONFIG2.globalTheme}`) : {},
package/dist/cjs/set.js CHANGED
@@ -1135,8 +1135,7 @@ var colorStringToRgbaArray = (color) => {
1135
1135
  return;
1136
1136
  color = import_globals.window.getComputedStyle(elem).color;
1137
1137
  import_globals.document.body.removeChild(elem);
1138
- } else
1139
- console.warn("Color conversion failed, no document or window object found");
1138
+ }
1140
1139
  }
1141
1140
  if (color.indexOf("rgb") === 0) {
1142
1141
  if (color.indexOf("rgba") === -1)
@@ -2153,7 +2152,6 @@ var applyReset = (reset = {}) => {
2153
2152
  left: "0",
2154
2153
  margin: "0",
2155
2154
  WebkitFontSmoothing: "antialiased",
2156
- transform: "translate3d(0, 0, 1px)",
2157
2155
  scrollBehavior: "smooth",
2158
2156
  fontSize: TYPOGRAPHY2.browserDefault + "px",
2159
2157
  ...CONFIG2.useDocumentTheme ? getMediaTheme("document", `@${CONFIG2.globalTheme}`) : {},
@@ -1108,8 +1108,7 @@ var colorStringToRgbaArray = (color) => {
1108
1108
  return;
1109
1109
  color = import_globals.window.getComputedStyle(elem).color;
1110
1110
  import_globals.document.body.removeChild(elem);
1111
- } else
1112
- console.warn("Color conversion failed, no document or window object found");
1111
+ }
1113
1112
  }
1114
1113
  if (color.indexOf("rgb") === 0) {
1115
1114
  if (color.indexOf("rgba") === -1)
@@ -1131,8 +1131,7 @@ var colorStringToRgbaArray = (color) => {
1131
1131
  return;
1132
1132
  color = import_globals.window.getComputedStyle(elem).color;
1133
1133
  import_globals.document.body.removeChild(elem);
1134
- } else
1135
- console.warn("Color conversion failed, no document or window object found");
1134
+ }
1136
1135
  }
1137
1136
  if (color.indexOf("rgb") === 0) {
1138
1137
  if (color.indexOf("rgba") === -1)
@@ -2149,7 +2148,6 @@ var applyReset = (reset = {}) => {
2149
2148
  left: "0",
2150
2149
  margin: "0",
2151
2150
  WebkitFontSmoothing: "antialiased",
2152
- transform: "translate3d(0, 0, 1px)",
2153
2151
  scrollBehavior: "smooth",
2154
2152
  fontSize: TYPOGRAPHY2.browserDefault + "px",
2155
2153
  ...CONFIG2.useDocumentTheme ? getMediaTheme("document", `@${CONFIG2.globalTheme}`) : {},
@@ -1191,7 +1191,6 @@ var applyReset = (reset = {}) => {
1191
1191
  left: "0",
1192
1192
  margin: "0",
1193
1193
  WebkitFontSmoothing: "antialiased",
1194
- transform: "translate3d(0, 0, 1px)",
1195
1194
  scrollBehavior: "smooth",
1196
1195
  fontSize: TYPOGRAPHY2.browserDefault + "px",
1197
1196
  ...CONFIG2.useDocumentTheme ? getMediaTheme("document", `@${CONFIG2.globalTheme}`) : {},
@@ -115,8 +115,7 @@ var colorStringToRgbaArray = (color) => {
115
115
  return;
116
116
  color = import_globals.window.getComputedStyle(elem).color;
117
117
  import_globals.document.body.removeChild(elem);
118
- } else
119
- console.warn("Color conversion failed, no document or window object found");
118
+ }
120
119
  }
121
120
  if (color.indexOf("rgb") === 0) {
122
121
  if (color.indexOf("rgba") === -1)
@@ -915,8 +915,7 @@ var colorStringToRgbaArray = (color) => {
915
915
  return;
916
916
  color = import_globals.window.getComputedStyle(elem).color;
917
917
  import_globals.document.body.removeChild(elem);
918
- } else
919
- console.warn("Color conversion failed, no document or window object found");
918
+ }
920
919
  }
921
920
  if (color.indexOf("rgb") === 0) {
922
921
  if (color.indexOf("rgba") === -1)
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@symbo.ls/scratch",
3
3
  "description": "Φ / CSS framework and methodology.",
4
4
  "author": "symbo.ls",
5
- "version": "2.10.244",
5
+ "version": "2.10.246",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -32,5 +32,5 @@
32
32
  "peerDependencies": {
33
33
  "@emotion/css": "^11.5.0"
34
34
  },
35
- "gitHead": "c2da617bd6c0178f314e8183dbcf07f0e8b51f78"
35
+ "gitHead": "f8be6c9e69e843494b2cf048309cb82ef0e6e1e8"
36
36
  }
@@ -36,7 +36,6 @@ export const applyReset = (reset = {}) => {
36
36
  left: '0',
37
37
  margin: '0',
38
38
  WebkitFontSmoothing: 'antialiased',
39
- transform: 'translate3d(0, 0, 1px)',
40
39
  scrollBehavior: 'smooth',
41
40
 
42
41
  fontSize: TYPOGRAPHY.browserDefault + 'px',
@@ -31,7 +31,7 @@ export const colorStringToRgbaArray = color => {
31
31
  if (elem.style.color === flag || elem.style.color === '') return // color parse failed
32
32
  color = window.getComputedStyle(elem).color
33
33
  document.body.removeChild(elem)
34
- } else console.warn('Color conversion failed, no document or window object found')
34
+ }
35
35
  }
36
36
 
37
37
  // convert 'rgb(R,G,B)' to 'rgb(R,G,B,A)' which looks awful but will pass the regxep below