|
20 | 20 | - [Transforms](#transforms) |
21 | 21 | - [Troubleshooting](#not-sure-how-to-fix-your-issue) |
22 | 22 |
|
23 | | -This package contains custom transforms for [Style-Dictionary](https://amzn.github.io/style-dictionary/#/), |
| 23 | +This package contains custom transforms for [Style-Dictionary](https://styledictionary.com/), |
24 | 24 | to work with Design Tokens that are exported from [Tokens Studio](https://tokens.studio/): |
25 | 25 |
|
26 | 26 | Generic: |
@@ -56,7 +56,7 @@ npm install @tokens-studio/sd-transforms |
56 | 56 |
|
57 | 57 | ## Compatibility |
58 | 58 |
|
59 | | -This package is to be used in combination with [Style Dictionary](https://github.com/amzn/style-dictionary). |
| 59 | +This package is to be used in combination with [Style Dictionary](https://github.com/style-dictionary/style-dictionary). |
60 | 60 |
|
61 | 61 | There are some caveats however, with regards to which versions of Style Dictionary are compatible with which versions of this package: |
62 | 62 |
|
@@ -137,7 +137,7 @@ This allows `fontStyles` to be extracted when they are embedded in `fontWeights` |
137 | 137 | > Expand used to be an sd-transforms exclusive feature but has moved to Style Dictionary itself under a slightly different API. |
138 | 138 | > This made sense due to object-value tokens being part of the DTCG spec and no longer a Tokens Studio specific feature. |
139 | 139 |
|
140 | | -When using the [expand feature of Style Dictionary](https://v4.styledictionary.com/reference/config/#expand) to expand object-value (composite) tokens, |
| 140 | +When using the [expand feature of Style Dictionary](https://styledictionary.com/reference/config/#expand) to expand object-value (composite) tokens, |
141 | 141 | you should pass our additional `expandTypesMap` for Tokens Studio tokens, because these are slightly different from the DTCG tokens: |
142 | 142 |
|
143 | 143 | - shadow tokens are called `boxShadow` and their `offsetX` and `offsetY` props are called `x` and `y` respectively. |
@@ -215,7 +215,7 @@ StyleDictionary.registerTransform({ |
215 | 215 | ### Custom Transform Group |
216 | 216 |
|
217 | 217 | > [!NOTE] |
218 | | -> From Style-Dictionary `4.0.0-prerelease.18`, [`transformGroup` and `transforms` can now be combined in a platform inside your config](https://github.com/amzn/style-dictionary/blob/v4/CHANGELOG.md#400-prerelease18). |
| 218 | +> From Style-Dictionary `4.0.0-prerelease.18`, [`transformGroup` and `transforms` can now be combined in a platform inside your config](https://github.com/style-dictionary/style-dictionary/blob/v4/CHANGELOG.md#400-prerelease18). |
219 | 219 |
|
220 | 220 | You can create a custom `transformGroup` that includes the individual transforms from this package. |
221 | 221 | If you wish to use the `transformGroup`, but adjust or remove a few transforms, your best option is to create a custom transform group: |
|
0 commit comments