@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
package/.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
GIT_ACCESS_TOKEN=robert.guehne:7ynai46dt4gsnc6vrcb2xwsgcpwbuihlsqyhsafxbsb2eyq5hvoa
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# 0.4.0 (2024-10-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **branch:** moved to new branch ([8ce9224](https://github.com/wfp/designsystem/commit/8ce92249afad9fab40ae03527e0736b117bb7f5f))
|
|
12
|
+
* **Empty:** changed font-sizing ([ae92996](https://github.com/wfp/designsystem/commit/ae929965928941cbd75002d7307b65a1aa362120))
|
|
13
|
+
* **grid:** removed for deploying ([ba4e27a](https://github.com/wfp/designsystem/commit/ba4e27a4be846e51ac38631770779f3398d1a214))
|
|
14
|
+
* **grid:** removed to be able to build scss ([8ca900a](https://github.com/wfp/designsystem/commit/8ca900a7c4cfac63af5910acde3d15f5df0f107d))
|
|
15
|
+
* **lerna:** changelog updated ([2367526](https://github.com/wfp/designsystem/commit/236752651f113088dc7bee3921e5c06213c1f72e))
|
|
16
|
+
* **Loading:** moved into a functional component and website improvements ([695298a](https://github.com/wfp/designsystem/commit/695298a491a460848fea6cc997678f35fd83fe6e))
|
|
17
|
+
* **MainNavigation:** minor proptypes fixes ([f7a6b81](https://github.com/wfp/designsystem/commit/f7a6b81148636adb9d1d01b50eb6c28974780a75))
|
|
18
|
+
* **MainNavigation:** removed onChangeSub from Storybook preview ([4674d20](https://github.com/wfp/designsystem/commit/4674d20af9c1c9f7dcae21236f5d3c985b53d59d))
|
|
19
|
+
* **Mdx:** code view fixed ([151fd1e](https://github.com/wfp/designsystem/commit/151fd1e59002357d91143969fcb8bc7cb4417bf6))
|
|
20
|
+
* **packages:** fixed yarn lock errors and inconsitencies in themes ([14ace8c](https://github.com/wfp/designsystem/commit/14ace8cc950c85a8b7220c516d7eaca2cbc8df48))
|
|
21
|
+
* **pipeline:** testing the build ([d36f286](https://github.com/wfp/designsystem/commit/d36f286898346a57b9f6f3996fe47b79305c0552))
|
|
22
|
+
* **rename:** scope renaming from [@un](https://github.com/un) to [@wfp](https://github.com/wfp) ([e00fda8](https://github.com/wfp/designsystem/commit/e00fda84ab7bc9096697337836abc3c66f95273e))
|
|
23
|
+
* **scss:** global default imports fixed ([a71e500](https://github.com/wfp/designsystem/commit/a71e5007b6c3a0c419701395edc802ddee5ed3d5))
|
|
24
|
+
* **Types:** fixing types based on the pull requests from [@norbertsongin](https://github.com/norbertsongin) ([09ec53d](https://github.com/wfp/designsystem/commit/09ec53d16249d22b8d553b7220466c9e1165e757))
|
|
25
|
+
* **version:** release new version ([22a9125](https://github.com/wfp/designsystem/commit/22a9125c0f8780bd59c6cc34d11428963133e66e))
|
|
26
|
+
* **versions:** updated lerna packages ([28dcd9a](https://github.com/wfp/designsystem/commit/28dcd9ab66702b269224101644903a938c4eade3))
|
|
27
|
+
* **website:** improved documentation ([06c6814](https://github.com/wfp/designsystem/commit/06c6814603c286841bdbf78fa0711dbf1a231aa0))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* **font:** flexible main font from fontsource ([53c84d1](https://github.com/wfp/designsystem/commit/53c84d1ef27f6707d9dee2f803fedd3d9128338a))
|
|
33
|
+
* **icons-core:** initial for the icons generator ([d580d18](https://github.com/wfp/designsystem/commit/d580d183bf4f2c4eae2ed5a3dfb297d8e5a94a8e))
|
|
34
|
+
* **Modal:** moved modal into functional components ([615f2dd](https://github.com/wfp/designsystem/commit/615f2dd5504582a733f58873e9b18605e53587ec))
|
|
35
|
+
* **packages:** cleandup and icon builder ([da1fe25](https://github.com/wfp/designsystem/commit/da1fe25a57fbfedbcf715002dc96313e745fffe2))
|
|
36
|
+
* **packages:** naming added ([5e6ea53](https://github.com/wfp/designsystem/commit/5e6ea5374f132d54782987e09a5b8e1d18da1cd1))
|
|
37
|
+
* **packages:** removes type and theme package ([f05d769](https://github.com/wfp/designsystem/commit/f05d7690b8fffd72e28e8b45580353f11e7e0086))
|
|
38
|
+
* **packages:** updated package structure ([f974246](https://github.com/wfp/designsystem/commit/f9742461d620765d40a581aa4d576465d4b61938))
|
|
39
|
+
* **Pictograms:** added support for generating pictograms from react ([00a74f2](https://github.com/wfp/designsystem/commit/00a74f2dde0d1cb404a5ebd3a09a70a169f13e0d))
|
|
40
|
+
* **react:** added tests, documentation and more ([93479c3](https://github.com/wfp/designsystem/commit/93479c3295ed5499edc38a5f702371cb78ae7b10))
|
|
41
|
+
* **react:** added type-script build and minor style changes ([80a708e](https://github.com/wfp/designsystem/commit/80a708eabdbc1a68e7fb08c84a300c4c990d8fcb))
|
|
42
|
+
* **react:** improved tokens, website updated and multiple other changes ([71206fc](https://github.com/wfp/designsystem/commit/71206fc9c34d9fa6d65d81cfb4a24ad7899d695a))
|
|
43
|
+
* **react:** MainNavigation updated ([539ca3d](https://github.com/wfp/designsystem/commit/539ca3d49eba79342a1a0c4e8214f51ea844d387))
|
|
44
|
+
* **react:** multiple component improvements and style updates ([bfe3111](https://github.com/wfp/designsystem/commit/bfe31113442e842e39edeaf366ce194efab5f896))
|
|
45
|
+
* **rename:** renamed scope from [@un](https://github.com/un) to [@wfp](https://github.com/wfp) ([3b66d99](https://github.com/wfp/designsystem/commit/3b66d993797dc3035abef0ecb76359754b670934))
|
|
46
|
+
* **styles:** tokens updated ([ab73774](https://github.com/wfp/designsystem/commit/ab73774843fa00b6a0fe3ec68b517f57c7e56fc3))
|
|
47
|
+
* **styles:** updated variables and spacings ([8b1e3bb](https://github.com/wfp/designsystem/commit/8b1e3bbacd5b4686d4b9e86607bccea3633c4905))
|
|
48
|
+
* **Theme:** color tokens from Figma ([573f818](https://github.com/wfp/designsystem/commit/573f818881ebafb25db7ceeae291bc27f1e85e5e))
|
|
49
|
+
* **themes-core:** added component level tokens, Storybook update and MainNavigation ([b0f0887](https://github.com/wfp/designsystem/commit/b0f0887958338f859cd52264d7402913097ee104))
|
|
50
|
+
* **themes:** added dark mode ([f6d1c2a](https://github.com/wfp/designsystem/commit/f6d1c2a6ab5e647f5dc866898a7991c8ba394350))
|
|
51
|
+
* **themes:** added new tokens ([580a8cb](https://github.com/wfp/designsystem/commit/580a8cb7557580d1ef32f04cc554f36c92f5b0c2))
|
|
52
|
+
* **Tokens:** added sync feature ([945a5d6](https://github.com/wfp/designsystem/commit/945a5d658bd39ec99812cd113ac5231484b92744))
|
|
53
|
+
* **tokens:** added tokens and multiple other updates ([758504d](https://github.com/wfp/designsystem/commit/758504d4f6685e7e6b4e8b63cd7916d8a9698936))
|
|
54
|
+
* **tokens:** updated token tool and docs generation ([d0cbfb7](https://github.com/wfp/designsystem/commit/d0cbfb752386b6cedca7243d961d20b7e35846a1))
|
|
55
|
+
* **website:** added documentation and Accordion components ([e476a54](https://github.com/wfp/designsystem/commit/e476a5483f64c42048499753b6aeb95f66c9e755))
|
|
56
|
+
* **Website:** added website ([14c721f](https://github.com/wfp/designsystem/commit/14c721f9b8cff7f854d0d5aa1298ae1d65d1d25d))
|
|
57
|
+
* **website:** DatePicker updated and design fixes ([299784f](https://github.com/wfp/designsystem/commit/299784f434e49655e87c6f604bcf3f33a133896e))
|
|
58
|
+
* **Website:** improved comonents, tokens and docs ([4c6ab20](https://github.com/wfp/designsystem/commit/4c6ab204e137a78b100178207b7513354588ac91))
|
|
59
|
+
* **website:** improved documentation ([eb4d120](https://github.com/wfp/designsystem/commit/eb4d120c8e4148bf887cff45d29494fd41f446c5))
|
|
60
|
+
* **website:** improved documentation and added Modal onBlur customization ([074ff28](https://github.com/wfp/designsystem/commit/074ff280f7793decd115d34e14517d5aacf918eb))
|
|
61
|
+
* **website:** proptype and component documentation updated ([6d3ac0e](https://github.com/wfp/designsystem/commit/6d3ac0e8c2b2cac1f6d801708d8f24778c1cfb41))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## 0.3.23 (2024-03-19)
|
|
68
|
+
|
|
69
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## 0.3.22 (2024-03-11)
|
|
76
|
+
|
|
77
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## 0.3.21 (2024-03-11)
|
|
84
|
+
|
|
85
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
## 0.3.20 (2024-03-06)
|
|
92
|
+
|
|
93
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
## 0.3.19 (2024-02-28)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Bug Fixes
|
|
103
|
+
|
|
104
|
+
* **website:** PropTypes table updated ([96c632a](https://github.com/wfp/designsystem/commit/96c632a4fe5c32399eb020af685811eb3b07d360))
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## 0.3.18 (2024-02-27)
|
|
111
|
+
|
|
112
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
## 0.3.17 (2024-02-27)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
### Bug Fixes
|
|
122
|
+
|
|
123
|
+
* **release:** env release vars ([ad6a891](https://github.com/wfp/designsystem/commit/ad6a89125796c7d31d993dacaa0597918a006cba))
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
## 0.3.16 (2024-02-27)
|
|
130
|
+
|
|
131
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## 0.3.15 (2024-02-27)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### Bug Fixes
|
|
141
|
+
|
|
142
|
+
* **release:** develop release ([1e2847a](https://github.com/wfp/designsystem/commit/1e2847a2879d1c988f8af87adb307272aeaf2c63))
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
## 0.3.14 (2024-02-27)
|
|
149
|
+
|
|
150
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
## 0.3.13 (2024-02-26)
|
|
157
|
+
|
|
158
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
## 0.3.12 (2024-02-13)
|
|
165
|
+
|
|
166
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
## 0.3.11 (2024-02-13)
|
|
173
|
+
|
|
174
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
## 0.3.10 (2024-01-26)
|
|
181
|
+
|
|
182
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
## 0.3.9 (2024-01-23)
|
|
189
|
+
|
|
190
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
## 0.3.8 (2024-01-22)
|
|
197
|
+
|
|
198
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
## 0.3.7 (2024-01-19)
|
|
205
|
+
|
|
206
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
## 0.3.6 (2024-01-08)
|
|
213
|
+
|
|
214
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
## 0.3.5 (2024-01-02)
|
|
221
|
+
|
|
222
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
## 0.3.4 (2024-01-02)
|
|
229
|
+
|
|
230
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
## 0.3.3 (2024-01-02)
|
|
237
|
+
|
|
238
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
## 0.3.2 (2023-12-11)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### Bug Fixes
|
|
248
|
+
|
|
249
|
+
* **react:** ignore stats in build ([0085db3](https://github.com/wfp/designsystem/commit/0085db3e659a70d839f8832ac6a6ec6e1060f7e7))
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
## 0.3.1 (2023-12-11)
|
|
256
|
+
|
|
257
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
# 0.3.0 (2023-12-10)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
### Features
|
|
267
|
+
|
|
268
|
+
* **react:** added tests, documentation and more ([93479c3](https://github.com/wfp/designsystem/commit/93479c3295ed5499edc38a5f702371cb78ae7b10))
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
# 0.2.0 (2023-12-04)
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
### Features
|
|
278
|
+
|
|
279
|
+
* **packages:** renamed packages @un/icons and more ([233b6ec](https://github.com/wfp/designsystem/commit/233b6ecc195f3ff7f52344033d1e858f73c09020))
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
## 0.1.8 (2023-12-04)
|
|
286
|
+
|
|
287
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
288
|
+
|
|
289
|
+
## 0.1.7 (2023-12-01)
|
|
290
|
+
|
|
291
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
292
|
+
|
|
293
|
+
## 0.1.6 (2023-12-01)
|
|
294
|
+
|
|
295
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
296
|
+
|
|
297
|
+
## 0.1.5 (2023-12-01)
|
|
298
|
+
|
|
299
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
300
|
+
|
|
301
|
+
## 0.1.4 (2023-11-30)
|
|
302
|
+
|
|
303
|
+
### Bug Fixes
|
|
304
|
+
|
|
305
|
+
- **packages:** fixed yarn lock errors and inconsitencies in themes ([14ace8c](https://github.com/wfp/designsystem/commit/14ace8cc950c85a8b7220c516d7eaca2cbc8df48))
|
|
306
|
+
|
|
307
|
+
## 0.1.3 (2023-11-30)
|
|
308
|
+
|
|
309
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
310
|
+
|
|
311
|
+
## 0.1.2 (2023-11-29)
|
|
312
|
+
|
|
313
|
+
### Bug Fixes
|
|
314
|
+
|
|
315
|
+
- **Storybook:** fixed TypeScript errors and publishing it ([ca94293](https://github.com/carbon-design-system/carbon/commit/ca942938534e06d98a5799340d21aa0a58cb6847))
|
|
316
|
+
|
|
317
|
+
## 0.1.1 (2023-11-28)
|
|
318
|
+
|
|
319
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
320
|
+
|
|
321
|
+
# 0.1.0 (2023-11-06)
|
|
322
|
+
|
|
323
|
+
### Features
|
|
324
|
+
|
|
325
|
+
- **website:** added color contrast checker ([cc12261](https://github.com/carbon-design-system/carbon/commit/cc122617dc46fcfe8c8913b405837d549ad2f8f0))
|
|
326
|
+
|
|
327
|
+
## 0.0.48 (2023-11-06)
|
|
328
|
+
|
|
329
|
+
### Bug Fixes
|
|
330
|
+
|
|
331
|
+
- **website:** types fixed in TokenExplorer ([69f0514](https://github.com/carbon-design-system/carbon/commit/69f051402c3fe011e026aae5ffee006c9412ae8f))
|
|
332
|
+
|
|
333
|
+
## 0.0.47 (2023-10-31)
|
|
334
|
+
|
|
335
|
+
### Bug Fixes
|
|
336
|
+
|
|
337
|
+
- **website:** build type errors fixed ([c72a344](https://github.com/carbon-design-system/carbon/commit/c72a3440fc4ef3f29fdacb24e853e315bc54fe0b))
|
|
338
|
+
|
|
339
|
+
## 0.0.46 (2023-10-24)
|
|
340
|
+
|
|
341
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
342
|
+
|
|
343
|
+
## 0.0.45 (2023-10-24)
|
|
344
|
+
|
|
345
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
346
|
+
|
|
347
|
+
## 0.0.44 (2023-10-24)
|
|
348
|
+
|
|
349
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
350
|
+
|
|
351
|
+
## 0.0.43 (2023-10-24)
|
|
352
|
+
|
|
353
|
+
### Bug Fixes
|
|
354
|
+
|
|
355
|
+
- **website:** no longer commit types ([13b98ca](https://github.com/carbon-design-system/carbon/commit/13b98ca873487caa77dbc0828da85c9c136ce6a5))
|
|
356
|
+
|
|
357
|
+
## 0.0.42 (2023-10-09)
|
|
358
|
+
|
|
359
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
360
|
+
|
|
361
|
+
## 0.0.41 (2023-09-19)
|
|
362
|
+
|
|
363
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
364
|
+
|
|
365
|
+
## 0.0.40 (2023-09-19)
|
|
366
|
+
|
|
367
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
368
|
+
|
|
369
|
+
## 0.0.38 (2023-08-07)
|
|
370
|
+
|
|
371
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
372
|
+
|
|
373
|
+
## 0.0.37 (2023-08-01)
|
|
374
|
+
|
|
375
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
376
|
+
|
|
377
|
+
## 0.0.36 (2023-08-01)
|
|
378
|
+
|
|
379
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
380
|
+
|
|
381
|
+
## 0.0.35 (2023-08-01)
|
|
382
|
+
|
|
383
|
+
### Bug Fixes
|
|
384
|
+
|
|
385
|
+
- **website:** removed old files ([83e091c](https://github.com/carbon-design-system/carbon/commit/83e091c04153ac227dbad158e999cb4f247c58ce))
|
|
386
|
+
|
|
387
|
+
## 0.0.34 (2023-08-01)
|
|
388
|
+
|
|
389
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
390
|
+
|
|
391
|
+
## 0.0.33 (2023-07-24)
|
|
392
|
+
|
|
393
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
394
|
+
|
|
395
|
+
## 0.0.32 (2023-07-17)
|
|
396
|
+
|
|
397
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
398
|
+
|
|
399
|
+
## 0.0.31 (2023-07-17)
|
|
400
|
+
|
|
401
|
+
### Bug Fixes
|
|
402
|
+
|
|
403
|
+
- **website:** mdx loader updated ([60c83bb](https://github.com/carbon-design-system/carbon/commit/60c83bba74621ba5a93c9718bc49e4cdfbc807b6))
|
|
404
|
+
|
|
405
|
+
## 0.0.30 (2023-07-16)
|
|
406
|
+
|
|
407
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
408
|
+
|
|
409
|
+
## 0.0.29 (2023-07-16)
|
|
410
|
+
|
|
411
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
412
|
+
|
|
413
|
+
## 0.0.23 (2022-12-06)
|
|
414
|
+
|
|
415
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
416
|
+
|
|
417
|
+
## 0.0.22 (2022-12-06)
|
|
418
|
+
|
|
419
|
+
### Bug Fixes
|
|
420
|
+
|
|
421
|
+
- **lerna:** registry added ([73dd7e3](https://github.com/carbon-design-system/carbon/commit/73dd7e367e91bc1a372aa7e3f841f7f24a1b6934))
|
|
422
|
+
|
|
423
|
+
## 0.0.21 (2022-12-06)
|
|
424
|
+
|
|
425
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
426
|
+
|
|
427
|
+
## [0.0.20](https://github.com/carbon-design-system/carbon/compare/@wfp/themes-core@0.0.19...@wfp/themes-core@0.0.20) (2022-12-06)
|
|
428
|
+
|
|
429
|
+
**Note:** Version bump only for package @wfp/themes-core
|
|
430
|
+
|
|
431
|
+
## [0.0.11](https://github.com/carbon-design-system/carbon/compare/@wfp/themes-core@0.0.10...@wfp/themes-core@0.0.11) (2022-06-28)
|
|
432
|
+
|
|
433
|
+
### Bug Fixes
|
|
434
|
+
|
|
435
|
+
- **lerna:** changelog updated ([2367526](https://github.com/carbon-design-system/carbon/commit/236752651f113088dc7bee3921e5c06213c1f72e))
|
package/README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
## themes-core
|
|
2
|
+
|
|
3
|
+
The themes core generates design tokens by using [Style Dictionary](https://amzn.github.io/style-dictionary/#).
|
|
4
|
+
|
|
5
|
+
### Using existing theme
|
|
6
|
+
|
|
7
|
+
TODO: Add paragraph
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
import variables from @progressiveui/themes-core/scss/variables;
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Building a theme
|
|
14
|
+
|
|
15
|
+
### Generate Source json on your own
|
|
16
|
+
|
|
17
|
+
The source can be `json`, preferably generated from Figma using [Design Tokens](https://github.com/lukasoppermann/design-tokens).
|
|
18
|
+
|
|
19
|
+
An example can be found in `tokens/design-tokens.tokens.json`
|
|
20
|
+
|
|
21
|
+
```jsx
|
|
22
|
+
// Add this to your package.json to generate a theme
|
|
23
|
+
scripts: {
|
|
24
|
+
"build:theme": "node buildTheme.js",
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
```jsx
|
|
29
|
+
// buildTheme.js configuration
|
|
30
|
+
const { config } = require("@progressiveui/themes-core/config.js");
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
config() can be configured
|
|
34
|
+
source: defines the lookup for finding
|
|
35
|
+
Example can be found in tokens/design-tokens.tokens.json
|
|
36
|
+
*/
|
|
37
|
+
const source = "tokens/**/*.json";
|
|
38
|
+
|
|
39
|
+
// BuildPath: Output for the build
|
|
40
|
+
const buildPath = "dist";
|
|
41
|
+
|
|
42
|
+
config({ source, buildPath });
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Development
|
|
46
|
+
|
|
47
|
+
### `build`
|
|
48
|
+
|
|
49
|
+
Builds themes from existing raw tokens.
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
yarn build
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### `build:tokens`
|
|
56
|
+
|
|
57
|
+
A shorthand command that executes `sync:tokens`, `filter:theme`, and `build`. This script does the synchronization of design tokens, filtering of theme data, and the final theme build.
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
yarn build:tokens
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### `sync:tokens`
|
|
64
|
+
|
|
65
|
+
Downloads the latest `tokens.json` (Figma Tokens) from the tokens repository.
|
|
66
|
+
|
|
67
|
+
Create a `.env` with [GIT_ACCESS_TOKEN](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate).
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
yarn sync:tokens
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### `filter:theme`
|
|
74
|
+
|
|
75
|
+
TODO: Remove this once the token source is cleaned up.
|
|
76
|
+
|
|
77
|
+
Prepares raw tokens and cleans them up.
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
yarn filter:theme
|
|
81
|
+
```
|