tokens-bruecke 3.16.0 → 3.17.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/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## [3.17.0](https://github.com/tokens-bruecke/figma-plugin/compare/v3.16.0...v3.17.0) (2026-10-07)
2
+
3
+ ### Features
4
+
5
+ - **export:** add the type and angle of gradient styles in `$extensions.gradient` ([#115](https://github.com/tokens-bruecke/figma-plugin/issues/115)) ([0677346](https://github.com/tokens-bruecke/figma-plugin/commit/0677346cc2d2ae84b25046d23e5b397f1534e5d9))
6
+
7
+ ### Bug Fixes
8
+
9
+ - **cli:** export variable-bound text style fields from the REST API instead of `#missing#` ([#115](https://github.com/tokens-bruecke/figma-plugin/issues/115)) ([6ffc967](https://github.com/tokens-bruecke/figma-plugin/commit/6ffc967f36541098c729922c42ae7613b5f9f95a))
10
+ - **cli:** default a shadow spread the REST API leaves out to 0 ([#115](https://github.com/tokens-bruecke/figma-plugin/issues/115)) ([7b79605](https://github.com/tokens-bruecke/figma-plugin/commit/7b796057ff10624a0a63b94be3ce18b26f4fdaaa))
11
+ - **gitlab:** fix a typo in the error toast ([#114](https://github.com/tokens-bruecke/figma-plugin/issues/114)) ([ad0f63f](https://github.com/tokens-bruecke/figma-plugin/commit/ad0f63f35821518c0693346a991ae8fdc549a95c))
12
+
13
+ ## [3.16.0](https://github.com/tokens-bruecke/figma-plugin/compare/v3.15.1...v3.16.0) (2026-10-04)
14
+
15
+ ### Features
16
+
17
+ - **api:** expose the converter as tokens-bruecke/api ([25c340b](https://github.com/tokens-bruecke/figma-plugin/commit/25c340b78c583291bd71c41464a4d0db0012fb9e)), closes [#97](https://github.com/tokens-bruecke/figma-plugin/issues/97)
18
+
19
+ ### Bug Fixes
20
+
21
+ - **api:** reject styles for REST input and keep deep imports working ([1aacac9](https://github.com/tokens-bruecke/figma-plugin/commit/1aacac9895ed62b813b80eb83fa285353670de05))
22
+
1
23
  ## [3.15.1](https://github.com/tokens-bruecke/figma-plugin/compare/v3.15.0...v3.15.1) (2026-10-02)
2
24
 
3
25
  ### Bug Fixes
package/README.md CHANGED
@@ -967,10 +967,18 @@ The plugin supports solid colors and gradients (linear, radial, angular, diamond
967
967
  "color": "#eae9e8",
968
968
  "position": 1
969
969
  }
970
- ]
970
+ ],
971
+ "$extensions": {
972
+ "gradient": {
973
+ "type": "linear",
974
+ "angle": 180
975
+ }
976
+ }
971
977
  }
972
978
  ```
973
979
 
980
+ DTCG has no direction or type for a gradient, only the stops, so they are exported in `$extensions.gradient`. `type` is `linear`, `radial`, `angular` or `diamond`. `angle` is only there for a linear gradient, in CSS degrees: `0` is to the top, `90` to the right and `180` to the bottom. It is taken from the handles of the gradient, which are relative to the layer, so it is exact for a gradient along an axis and an approximation for a diagonal one on a layer that is not square.
981
+
974
982
  ### Grids
975
983
 
976
984
  In Figma you can add as many grids in the style as you want. But the plugin will take only first two grids and treat the first one as `column` grid and the second one as `row` grid.