@progressiveui/themes-core 0.4.0
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/.env +1 -0
- package/CHANGELOG.md +435 -0
- package/README.md +81 -0
- package/dist/json/variables-full.json +19116 -0
- package/dist/scss/default-css-theme.scss +761 -0
- package/dist/scss/tokens.scss +430 -0
- package/dist/scss/tokensMapDeep.scss +1175 -0
- package/dist/scss/tokensMapFlat.scss +438 -0
- package/distDark/json/variables-full.json +2790 -0
- package/distDark/scss/default-css-theme.scss +67 -0
- package/distDark/scss/tokens.scss +141 -0
- package/distDark/scss/tokensMapDeep.scss +67 -0
- package/distDark/scss/tokensMapFlat.scss +68 -0
- package/figmaTokenStudio/tokens.json +2425 -0
- package/package.json +39 -0
- package/scripts/config.js +315 -0
- package/scripts/filterJson.js +99 -0
- package/scripts/runTheme.js +7 -0
- package/scripts/syncTokens.js +46 -0
- package/tokens/design-tokens.tokens.json.legacy +2942 -0
- package/tokens/design-tokens.tokens.new.json +2542 -0
- package/tokens/font-sizes.json +186 -0
- package/tokens/spacings.json.legacy +52 -0
- package/tokens/typeScale.json +145 -0
- package/tokensDark/color/base.json.legacy +13 -0
- package/tokensDark/design-tokens.tokens.json +2846 -0
- package/tokensDark/tokens.json.raw +2834 -0
- package/tokensDark/typeScale.json +133 -0
- package/yarn-error.log +61 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"typography": {
|
|
3
|
+
"caption": {
|
|
4
|
+
"fontSize": {
|
|
5
|
+
"type": "dimension",
|
|
6
|
+
"value": 14
|
|
7
|
+
},
|
|
8
|
+
"fontWeight": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"value": "regular"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"helper": {
|
|
14
|
+
"fontSize": {
|
|
15
|
+
"type": "dimension",
|
|
16
|
+
"value": 14
|
|
17
|
+
},
|
|
18
|
+
"fontWeight": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"value": "regular"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"input": {
|
|
24
|
+
"fontSize": {
|
|
25
|
+
"type": "dimension",
|
|
26
|
+
"value": 16
|
|
27
|
+
},
|
|
28
|
+
"fontWeight": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"value": "regular"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"story-title": {
|
|
34
|
+
"fontSize": {
|
|
35
|
+
"type": "dimension",
|
|
36
|
+
"value": 50
|
|
37
|
+
},
|
|
38
|
+
"fontWeight": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"value": "300"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"story-h1": {
|
|
44
|
+
"fontSize": {
|
|
45
|
+
"type": "dimension",
|
|
46
|
+
"value": 29
|
|
47
|
+
},
|
|
48
|
+
"fontWeight": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"value": "600"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"story-h2": {
|
|
54
|
+
"fontSize": {
|
|
55
|
+
"type": "dimension",
|
|
56
|
+
"value": 25
|
|
57
|
+
},
|
|
58
|
+
"fontWeight": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"value": "600"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"story-h3": {
|
|
64
|
+
"fontSize": {
|
|
65
|
+
"type": "dimension",
|
|
66
|
+
"value": 22
|
|
67
|
+
},
|
|
68
|
+
"fontWeight": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"value": "600"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"story-h4": {
|
|
74
|
+
"fontSize": {
|
|
75
|
+
"type": "dimension",
|
|
76
|
+
"value": 20
|
|
77
|
+
},
|
|
78
|
+
"fontWeight": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"value": "600"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"story-h5": {
|
|
84
|
+
"fontSize": {
|
|
85
|
+
"type": "dimension",
|
|
86
|
+
"value": 18
|
|
87
|
+
},
|
|
88
|
+
"fontWeight": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"value": "600"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"story-h6": {
|
|
94
|
+
"fontSize": {
|
|
95
|
+
"type": "dimension",
|
|
96
|
+
"value": 16
|
|
97
|
+
},
|
|
98
|
+
"fontWeight": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"value": "600"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"story-sub-title": {
|
|
104
|
+
"fontSize": {
|
|
105
|
+
"type": "dimension",
|
|
106
|
+
"value": 12
|
|
107
|
+
},
|
|
108
|
+
"fontWeight": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"value": "500"
|
|
111
|
+
},
|
|
112
|
+
"letterSpacing": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"value": "0.05em"
|
|
115
|
+
},
|
|
116
|
+
"textTransform": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"value": "uppercase"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"body-regular": {
|
|
122
|
+
"fontSize": {
|
|
123
|
+
"type": "dimension",
|
|
124
|
+
"value": 12
|
|
125
|
+
},
|
|
126
|
+
"fontWeight": {
|
|
127
|
+
"description": "This is a description",
|
|
128
|
+
"type": "string",
|
|
129
|
+
"value": "regular"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
package/yarn-error.log
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
Arguments:
|
|
2
|
+
/Users/utzel/.nvm/versions/node/v16.13.0/bin/node /Users/utzel/htdocs/un-core-v1/.yarn/releases/yarn-1.19.0.cjs build
|
|
3
|
+
|
|
4
|
+
PATH:
|
|
5
|
+
/Users/utzel/.yarn/bin:/Users/utzel/.config/yarn/global/node_modules/.bin:/Users/utzel/.nvm/versions/node/v16.13.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/utzel/.yarn/bin:/Users/utzel/.config/yarn/global/node_modules/.bin:/Users/utzel/.nvm/versions/node/v16.13.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/utzel/tools/flutter/bin:/Users/utzel/tools/flutter/bin
|
|
6
|
+
|
|
7
|
+
Yarn version:
|
|
8
|
+
1.19.0
|
|
9
|
+
|
|
10
|
+
Node version:
|
|
11
|
+
16.13.0
|
|
12
|
+
|
|
13
|
+
Platform:
|
|
14
|
+
darwin arm64
|
|
15
|
+
|
|
16
|
+
Trace:
|
|
17
|
+
SyntaxError: /Users/utzel/htdocs/un-core-v1/packages/themes-core/package.json: Unexpected token / in JSON at position 488
|
|
18
|
+
at JSON.parse (<anonymous>)
|
|
19
|
+
at /Users/utzel/htdocs/un-core-v1/.yarn/releases/yarn-1.19.0.cjs:1098:57
|
|
20
|
+
at Generator.next (<anonymous>)
|
|
21
|
+
at step (/Users/utzel/htdocs/un-core-v1/.yarn/releases/yarn-1.19.0.cjs:310:30)
|
|
22
|
+
at /Users/utzel/htdocs/un-core-v1/.yarn/releases/yarn-1.19.0.cjs:321:13
|
|
23
|
+
|
|
24
|
+
npm manifest:
|
|
25
|
+
{
|
|
26
|
+
"name": "@wfp/themes-core",
|
|
27
|
+
"description": "Themes for un core",
|
|
28
|
+
"version": "0.0.1",
|
|
29
|
+
"license": "Apache-2.0",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/carbon-design-system/carbon.git",
|
|
33
|
+
"directory": "packages/styles"
|
|
34
|
+
},
|
|
35
|
+
"bugs": "https://github.com/carbon-design-system/carbon/issues",
|
|
36
|
+
"keywords": [
|
|
37
|
+
"colors",
|
|
38
|
+
"themes",
|
|
39
|
+
"un",
|
|
40
|
+
"un core",
|
|
41
|
+
"components",
|
|
42
|
+
"react"
|
|
43
|
+
],
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build:legacy": "node config.js",
|
|
46
|
+
// "build": "style-dictionary build --config ./config.js",
|
|
47
|
+
"generate-theme": "node config.js"
|
|
48
|
+
},
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"style-dictionary": "^3.7.0"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
yarn manifest:
|
|
58
|
+
No manifest
|
|
59
|
+
|
|
60
|
+
Lockfile:
|
|
61
|
+
No lockfile
|