@adobe/spectrum-tokens 12.0.0-beta.11 → 12.0.0-beta.14
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 +2 -17
- package/config.js +4 -2
- package/dist/json/variables.json +1850 -980
- package/package.json +2 -2
- package/tokens/color-alias.json +250 -193
- package/tokens/color-semantic.json +42 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,6 @@
|
|
|
1
|
-
# [12.0.0-beta.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* bad var name for negative-color-400 ([c5362ea](https://github.com/adobe/spectrum-tokens/commit/c5362eacd9b590a35708115cfea9a42b48df5668))
|
|
1
|
+
# [12.0.0-beta.14](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.13...v12.0.0-beta.14) (2022-04-08)
|
|
7
2
|
|
|
8
3
|
|
|
9
4
|
### Features
|
|
10
5
|
|
|
11
|
-
*
|
|
12
|
-
* changes to static focus ring alias ([a641e62](https://github.com/adobe/spectrum-tokens/commit/a641e622c8dd3a20ca14e506df388ef16d9e3700))
|
|
13
|
-
* for DNA-1106 adds disabled-background-color ([ca88724](https://github.com/adobe/spectrum-tokens/commit/ca88724e12189192fb7578ed4ed1c5f9f8928b62))
|
|
14
|
-
* for DNA-1107 adds disabled-static-white-background-color ([15ad0aa](https://github.com/adobe/spectrum-tokens/commit/15ad0aa0250b93585b910fa15f2fee49faa2925c))
|
|
15
|
-
* for DNA-1108 adds disabled-static-black-background-color ([8d68297](https://github.com/adobe/spectrum-tokens/commit/8d6829719bc2e72931369890e47062b2e496fb26))
|
|
16
|
-
* for DNA-1109 adds disabled-static-white-content-color ([b1f7f81](https://github.com/adobe/spectrum-tokens/commit/b1f7f81a4b3c8b62642ec767da79eed8509211b0))
|
|
17
|
-
* for DNA-1110 adds disabled-static-black-content-color ([075ecad](https://github.com/adobe/spectrum-tokens/commit/075ecadfa4da354077e96554f5a9f5945b96d3c6))
|
|
18
|
-
* for DNA-1111 adds disabled-border-color ([1187246](https://github.com/adobe/spectrum-tokens/commit/1187246830847f16860a2e4c9da394463c21f006))
|
|
19
|
-
* for DNA-1112 adds disabled-static-white-border-color ([6ade919](https://github.com/adobe/spectrum-tokens/commit/6ade9195e6478d1705f8d5a304c0c7b2b28176f1))
|
|
20
|
-
* for DNA-1113 adds disabled-static-black-border-color ([c51898f](https://github.com/adobe/spectrum-tokens/commit/c51898f919c200694a0a6bfc1d0ee731e81ff8d3))
|
|
21
|
-
* for DNA-1145 adds negative background color ([60539c7](https://github.com/adobe/spectrum-tokens/commit/60539c724296ac28ee274e9c60e8b640b5731cd8))
|
|
6
|
+
* adds positive color semantic for DNA-1151 ([f55e57d](https://github.com/adobe/spectrum-tokens/commit/f55e57d37e50ba838dd6b3ac946102afe07ae83b))
|
package/config.js
CHANGED
|
@@ -12,7 +12,9 @@ governing permissions and limitations under the License.
|
|
|
12
12
|
|
|
13
13
|
const StyleDictionary = require("style-dictionary");
|
|
14
14
|
const JsonSetsFormatter = require("style-dictionary-sets").JsonSetsFormatter;
|
|
15
|
+
const NameKebabTransfom = require("style-dictionary-sets").NameKebabTransfom;
|
|
15
16
|
|
|
17
|
+
StyleDictionary.registerTransform(NameKebabTransfom);
|
|
16
18
|
StyleDictionary.registerFormat(JsonSetsFormatter);
|
|
17
19
|
|
|
18
20
|
module.exports = {
|
|
@@ -20,11 +22,11 @@ module.exports = {
|
|
|
20
22
|
platforms: {
|
|
21
23
|
JSON: {
|
|
22
24
|
buildPath: "dist/json/",
|
|
23
|
-
transforms: [
|
|
25
|
+
transforms: [NameKebabTransfom.name],
|
|
24
26
|
files: [
|
|
25
27
|
{
|
|
26
28
|
destination: "variables.json",
|
|
27
|
-
format:
|
|
29
|
+
format: JsonSetsFormatter.name,
|
|
28
30
|
options: {
|
|
29
31
|
showFileHeader: false,
|
|
30
32
|
outputReferences: true,
|