@madgex/fert 2.0.3 → 2.0.5
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.
|
@@ -102,7 +102,7 @@ module.exports = async function buildCssFromTokens(srcTokensPath, buildPath) {
|
|
|
102
102
|
// Use StyleDictionary to build a tokens SCSS file
|
|
103
103
|
const StyleDictionary = StyleDictionaryPackage.extend(styleDictionaryConfig);
|
|
104
104
|
|
|
105
|
-
const tokenBaseFontSize = brandObj?.font?.size?.base; // will default to 16px if undefined
|
|
105
|
+
const tokenBaseFontSize = brandObj?.font?.size?.base?.value; // will default to 16px if undefined
|
|
106
106
|
await registerTransforms(StyleDictionary, tokenBaseFontSize);
|
|
107
107
|
await runSilently(StyleDictionary.buildAllPlatforms.bind(StyleDictionary));
|
|
108
108
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@madgex/fert",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "Tool to help build the V6 branding",
|
|
5
5
|
"bin": {
|
|
6
6
|
"fert": "./bin/cli.js"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@hapi/inert": "^7.1.0",
|
|
31
31
|
"@hapi/vision": "^7.0.3",
|
|
32
32
|
"@hapipal/toys": "^4.0.0",
|
|
33
|
-
"@madgex/design-system": "^6.1.
|
|
33
|
+
"@madgex/design-system": "^6.1.4",
|
|
34
34
|
"@madgex/design-system-v5": "npm:@madgex/design-system@^5.0.0",
|
|
35
35
|
"@private/header-footer-podlet-server": "github:wiley/madgex-header-footer-podlet",
|
|
36
36
|
"axios": "^1.6.2",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"rimraf": "^5.0.5",
|
|
50
50
|
"sass": "^1.69.5",
|
|
51
51
|
"simple-update-notifier": "^2.0.0",
|
|
52
|
-
"style-dictionary": "
|
|
52
|
+
"style-dictionary": "3.9.0",
|
|
53
53
|
"uuid-validate": "^0.0.3",
|
|
54
54
|
"vite": "^4.4.9",
|
|
55
55
|
"vite-plugin-static-copy": "^0.17.1"
|