@ndla/preset-panda 0.0.26 → 0.0.28

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/styles.css CHANGED
@@ -14,6 +14,7 @@
14
14
 
15
15
  body {
16
16
  background: var(--colors-background-default);
17
+ color: var(--colors-text-default);
17
18
  }
18
19
 
19
20
  a,summary,[tabindex]:not([tabindex='-1']) {
@@ -509,6 +510,7 @@
509
510
  --sizes-surface-page-max: 1128px;
510
511
  --sizes-surface-content-max: 744px;
511
512
  --sizes-surface-article-max: 928px;
513
+ --sizes-surface-wide-max: 1440px;
512
514
  --colors-background-default: var(--colors-white);
513
515
  --colors-background-subtle: var(--colors-grey-100);
514
516
  --colors-background-strong: var(--colors-purple-50);
package/es/globalCss.js CHANGED
@@ -19,7 +19,8 @@ export const globalCss = defineGlobalStyles({
19
19
  fontFeatureSettings: "'ss03' on, 'liga' off, 'clig' off"
20
20
  },
21
21
  body: {
22
- background: "background.default"
22
+ background: "background.default",
23
+ color: "text.default"
23
24
  },
24
25
  "a, summary,[tabindex]:not([tabindex='-1'])": {
25
26
  outline: "none",
package/es/index.js CHANGED
@@ -41,7 +41,8 @@ const preset = definePreset({
41
41
  shadows: boxShadows,
42
42
  zIndex: zIndex
43
43
  },
44
- semanticTokens: semanticTokens
44
+ semanticTokens: semanticTokens,
45
+ containerSizes: breakpoints
45
46
  }
46
47
  });
47
48
  export { forwardCssPropPlugin } from "./plugins/forwardCssPropPlugin";
@@ -166,6 +166,9 @@ export const semanticTokens = defineSemanticTokens({
166
166
  },
167
167
  articleMax: {
168
168
  value: "928px"
169
+ },
170
+ wideMax: {
171
+ value: "1440px"
169
172
  }
170
173
  }
171
174
  },
package/lib/globalCss.js CHANGED
@@ -25,7 +25,8 @@ const globalCss = exports.globalCss = (0, _dev.defineGlobalStyles)({
25
25
  fontFeatureSettings: "'ss03' on, 'liga' off, 'clig' off"
26
26
  },
27
27
  body: {
28
- background: "background.default"
28
+ background: "background.default",
29
+ color: "text.default"
29
30
  },
30
31
  "a, summary,[tabindex]:not([tabindex='-1'])": {
31
32
  outline: "none",
package/lib/index.js CHANGED
@@ -54,7 +54,8 @@ const preset = (0, _dev.definePreset)({
54
54
  shadows: _boxShadows.boxShadows,
55
55
  zIndex: _zIndex.zIndex
56
56
  },
57
- semanticTokens: _semanticTokens.semanticTokens
57
+ semanticTokens: _semanticTokens.semanticTokens,
58
+ containerSizes: _core.breakpoints
58
59
  }
59
60
  });
60
61
  var _default = exports.default = preset;
@@ -165,6 +165,9 @@ export declare const semanticTokens: {
165
165
  articleMax: {
166
166
  value: string;
167
167
  };
168
+ wideMax: {
169
+ value: string;
170
+ };
168
171
  };
169
172
  };
170
173
  colors: {
@@ -172,6 +172,9 @@ const semanticTokens = exports.semanticTokens = (0, _dev.defineSemanticTokens)({
172
172
  },
173
173
  articleMax: {
174
174
  value: "928px"
175
+ },
176
+ wideMax: {
177
+ value: "1440px"
175
178
  }
176
179
  }
177
180
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/preset-panda",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "Panda preset for NDLA.",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "7713c89290c9b308be47bce300ad7db4a52a42dd"
40
+ "gitHead": "45c12a953606ca3eb14c8d09c25401c8bc24ed22"
41
41
  }