@spectrum-css/tokens
Advanced tools
Comparing version 7.6.1 to 7.7.0
@@ -6,2 +6,14 @@ # Change Log | ||
<a name="7.7.0"></a> | ||
# 7.7.0 | ||
🗓 2023-03-31 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/tokens@7.6.1...@spectrum-css/tokens@7.7.0) | ||
### ✨ Features | ||
* **tokens:** add open type conversion to style-dictionary ([7a423aa](https://github.com/adobe/spectrum-css/commit/7a423aa)) | ||
<a name="7.6.1"></a> | ||
@@ -8,0 +20,0 @@ ## 7.6.1 |
@@ -18,2 +18,3 @@ /* | ||
const AttributeSetsTransform = require('style-dictionary-sets').AttributeSetsTransform; | ||
const CSSOpenTypeTransform = require('style-dictionary-sets').CSSOpenTypeTransform; | ||
@@ -30,2 +31,3 @@ /** | ||
StyleDictionary.registerTransform(AttributeSetsTransform); | ||
StyleDictionary.registerTransform(CSSOpenTypeTransform); | ||
StyleDictionary.registerFormat(CSSSetsFormatter); | ||
@@ -144,3 +146,3 @@ | ||
buildPath: 'dist/css/', | ||
transforms: [AttributeSetsTransform.name, NameKebabTransfom.name], | ||
transforms: [AttributeSetsTransform.name, NameKebabTransfom.name, CSSOpenTypeTransform.name], | ||
prefix: 'spectrum', | ||
@@ -147,0 +149,0 @@ files: [ |
{ | ||
"name": "@spectrum-css/tokens", | ||
"version": "7.6.1", | ||
"version": "7.7.0", | ||
"description": "The Spectrum CSS tokens package", | ||
@@ -28,3 +28,3 @@ "license": "Apache-2.0", | ||
"style-dictionary": "^3.7.0", | ||
"style-dictionary-sets": "^2.0.2" | ||
"style-dictionary-sets": "^2.1.1" | ||
}, | ||
@@ -34,3 +34,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "26743ac9161610533d6b2010c002e61ed2dbcef2" | ||
"gitHead": "9e3b5b4b46d1fa9e5de7370b1ba99daf21df4197" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
328014
5578