@adobe/spectrum-tokens 12.0.0-beta.14 → 12.0.0-beta.17
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 +3 -3
- package/README.md +15 -1
- package/config.js +1 -1
- package/dist/json/variables.json +288 -0
- package/package.json +1 -1
- package/{tokens → src}/color-alias.json +64 -0
- /package/{tokens → src}/color-semantic.json +0 -0
- /package/{tokens → src}/color.json +0 -0
- /package/{tokens → src}/component-layout.json +0 -0
- /package/{tokens → src}/layout.json +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# [12.0.0-beta.
|
|
1
|
+
# [12.0.0-beta.17](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.16...v12.0.0-beta.17) (2022-04-19)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* typo ([22f8f9e](https://github.com/adobe/spectrum-tokens/commit/22f8f9e71047f09591a534f83a44938a6fc49dc2))
|
package/README.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
# Spectrum
|
|
1
|
+
# Spectrum Tokens
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Note: This project is in beta right now.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
Design tokens are all the values needed to construct and maintain a design system — spacing, color, typography, object styles, animation, etc. — represented as data. These can represent anything defined by design: a color as a RGB value, an opacity as a number, an animation ease as Bezier coordinates. They’re used in place of hard-coded values in order to ensure flexibility and unity across all product experiences.
|
|
13
|
+
|
|
14
|
+
Design tokens are directly integrated into our component libraries, UI kits, and the Spectrum XD plugin. They cover the various options of platform scales, color themes, component states, and more. We also offer teams a variety of token types to use directly within their products if they are not using a Spectrum component library.
|
|
15
|
+
|
|
2
16
|
|
|
3
17
|
## Getting started
|
|
4
18
|
|
package/config.js
CHANGED
package/dist/json/variables.json
CHANGED
|
@@ -1580,6 +1580,294 @@
|
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
1582
|
},
|
|
1583
|
+
"informative-background-color-default": {
|
|
1584
|
+
"sets": {
|
|
1585
|
+
"light": {
|
|
1586
|
+
"ref": "{informative-color-900}",
|
|
1587
|
+
"sets": {
|
|
1588
|
+
"light": {
|
|
1589
|
+
"value": "rgb(2, 101, 220)"
|
|
1590
|
+
},
|
|
1591
|
+
"dark": {
|
|
1592
|
+
"value": "rgb(114, 183, 249)"
|
|
1593
|
+
},
|
|
1594
|
+
"darkest": {
|
|
1595
|
+
"value": "rgb(94, 170, 247)"
|
|
1596
|
+
},
|
|
1597
|
+
"wireframe": {
|
|
1598
|
+
"value": "rgb(154, 177, 227)"
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
},
|
|
1602
|
+
"dark": {
|
|
1603
|
+
"ref": "{informative-color-500}",
|
|
1604
|
+
"sets": {
|
|
1605
|
+
"light": {
|
|
1606
|
+
"value": "rgb(120, 187, 250)"
|
|
1607
|
+
},
|
|
1608
|
+
"dark": {
|
|
1609
|
+
"value": "rgb(3, 103, 224)"
|
|
1610
|
+
},
|
|
1611
|
+
"darkest": {
|
|
1612
|
+
"value": "rgb(0, 92, 200)"
|
|
1613
|
+
},
|
|
1614
|
+
"wireframe": {
|
|
1615
|
+
"value": "rgb(216, 225, 244)"
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
"darkest": {
|
|
1620
|
+
"ref": "{informative-color-600}",
|
|
1621
|
+
"sets": {
|
|
1622
|
+
"light": {
|
|
1623
|
+
"value": "rgb(89, 167, 246)"
|
|
1624
|
+
},
|
|
1625
|
+
"dark": {
|
|
1626
|
+
"value": "rgb(19, 121, 243)"
|
|
1627
|
+
},
|
|
1628
|
+
"darkest": {
|
|
1629
|
+
"value": "rgb(6, 108, 231)"
|
|
1630
|
+
},
|
|
1631
|
+
"wireframe": {
|
|
1632
|
+
"value": "rgb(203, 215, 241)"
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1636
|
+
"wireframe": {
|
|
1637
|
+
"ref": "{informative-color-900}",
|
|
1638
|
+
"sets": {
|
|
1639
|
+
"light": {
|
|
1640
|
+
"value": "rgb(2, 101, 220)"
|
|
1641
|
+
},
|
|
1642
|
+
"dark": {
|
|
1643
|
+
"value": "rgb(114, 183, 249)"
|
|
1644
|
+
},
|
|
1645
|
+
"darkest": {
|
|
1646
|
+
"value": "rgb(94, 170, 247)"
|
|
1647
|
+
},
|
|
1648
|
+
"wireframe": {
|
|
1649
|
+
"value": "rgb(154, 177, 227)"
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
},
|
|
1655
|
+
"informative-background-color-hover": {
|
|
1656
|
+
"sets": {
|
|
1657
|
+
"light": {
|
|
1658
|
+
"ref": "{informative-color-1000}",
|
|
1659
|
+
"sets": {
|
|
1660
|
+
"light": {
|
|
1661
|
+
"value": "rgb(0, 84, 182)"
|
|
1662
|
+
},
|
|
1663
|
+
"dark": {
|
|
1664
|
+
"value": "rgb(143, 202, 252)"
|
|
1665
|
+
},
|
|
1666
|
+
"darkest": {
|
|
1667
|
+
"value": "rgb(124, 189, 250)"
|
|
1668
|
+
},
|
|
1669
|
+
"wireframe": {
|
|
1670
|
+
"value": "rgb(133, 161, 219)"
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
},
|
|
1674
|
+
"dark": {
|
|
1675
|
+
"ref": "{informative-color-400}",
|
|
1676
|
+
"sets": {
|
|
1677
|
+
"light": {
|
|
1678
|
+
"value": "rgb(150, 206, 253)"
|
|
1679
|
+
},
|
|
1680
|
+
"dark": {
|
|
1681
|
+
"value": "rgb(0, 89, 194)"
|
|
1682
|
+
},
|
|
1683
|
+
"darkest": {
|
|
1684
|
+
"value": "rgb(0, 78, 166)"
|
|
1685
|
+
},
|
|
1686
|
+
"wireframe": {
|
|
1687
|
+
"value": "rgb(226, 232, 247)"
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
"darkest": {
|
|
1692
|
+
"ref": "{informative-color-500}",
|
|
1693
|
+
"sets": {
|
|
1694
|
+
"light": {
|
|
1695
|
+
"value": "rgb(120, 187, 250)"
|
|
1696
|
+
},
|
|
1697
|
+
"dark": {
|
|
1698
|
+
"value": "rgb(3, 103, 224)"
|
|
1699
|
+
},
|
|
1700
|
+
"darkest": {
|
|
1701
|
+
"value": "rgb(0, 92, 200)"
|
|
1702
|
+
},
|
|
1703
|
+
"wireframe": {
|
|
1704
|
+
"value": "rgb(216, 225, 244)"
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
"wireframe": {
|
|
1709
|
+
"ref": "{informative-color-1000}",
|
|
1710
|
+
"sets": {
|
|
1711
|
+
"light": {
|
|
1712
|
+
"value": "rgb(0, 84, 182)"
|
|
1713
|
+
},
|
|
1714
|
+
"dark": {
|
|
1715
|
+
"value": "rgb(143, 202, 252)"
|
|
1716
|
+
},
|
|
1717
|
+
"darkest": {
|
|
1718
|
+
"value": "rgb(124, 189, 250)"
|
|
1719
|
+
},
|
|
1720
|
+
"wireframe": {
|
|
1721
|
+
"value": "rgb(133, 161, 219)"
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1727
|
+
"informative-background-color-down": {
|
|
1728
|
+
"sets": {
|
|
1729
|
+
"light": {
|
|
1730
|
+
"ref": "{informative-color-1100}",
|
|
1731
|
+
"sets": {
|
|
1732
|
+
"light": {
|
|
1733
|
+
"value": "rgb(0, 68, 145)"
|
|
1734
|
+
},
|
|
1735
|
+
"dark": {
|
|
1736
|
+
"value": "rgb(174, 219, 254)"
|
|
1737
|
+
},
|
|
1738
|
+
"darkest": {
|
|
1739
|
+
"value": "rgb(152, 206, 253)"
|
|
1740
|
+
},
|
|
1741
|
+
"wireframe": {
|
|
1742
|
+
"value": "rgb(114, 145, 211)"
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1746
|
+
"dark": {
|
|
1747
|
+
"ref": "{informative-color-300}",
|
|
1748
|
+
"sets": {
|
|
1749
|
+
"light": {
|
|
1750
|
+
"value": "rgb(181, 222, 255)"
|
|
1751
|
+
},
|
|
1752
|
+
"dark": {
|
|
1753
|
+
"value": "rgb(0, 77, 163)"
|
|
1754
|
+
},
|
|
1755
|
+
"darkest": {
|
|
1756
|
+
"value": "rgb(0, 64, 135)"
|
|
1757
|
+
},
|
|
1758
|
+
"wireframe": {
|
|
1759
|
+
"value": "rgb(233, 238, 248)"
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
"darkest": {
|
|
1764
|
+
"ref": "{informative-color-400}",
|
|
1765
|
+
"sets": {
|
|
1766
|
+
"light": {
|
|
1767
|
+
"value": "rgb(150, 206, 253)"
|
|
1768
|
+
},
|
|
1769
|
+
"dark": {
|
|
1770
|
+
"value": "rgb(0, 89, 194)"
|
|
1771
|
+
},
|
|
1772
|
+
"darkest": {
|
|
1773
|
+
"value": "rgb(0, 78, 166)"
|
|
1774
|
+
},
|
|
1775
|
+
"wireframe": {
|
|
1776
|
+
"value": "rgb(226, 232, 247)"
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
},
|
|
1780
|
+
"wireframe": {
|
|
1781
|
+
"ref": "{informative-color-1100}",
|
|
1782
|
+
"sets": {
|
|
1783
|
+
"light": {
|
|
1784
|
+
"value": "rgb(0, 68, 145)"
|
|
1785
|
+
},
|
|
1786
|
+
"dark": {
|
|
1787
|
+
"value": "rgb(174, 219, 254)"
|
|
1788
|
+
},
|
|
1789
|
+
"darkest": {
|
|
1790
|
+
"value": "rgb(152, 206, 253)"
|
|
1791
|
+
},
|
|
1792
|
+
"wireframe": {
|
|
1793
|
+
"value": "rgb(114, 145, 211)"
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
},
|
|
1799
|
+
"informative-background-color-key-focus": {
|
|
1800
|
+
"sets": {
|
|
1801
|
+
"light": {
|
|
1802
|
+
"ref": "{informative-color-1000}",
|
|
1803
|
+
"sets": {
|
|
1804
|
+
"light": {
|
|
1805
|
+
"value": "rgb(0, 84, 182)"
|
|
1806
|
+
},
|
|
1807
|
+
"dark": {
|
|
1808
|
+
"value": "rgb(143, 202, 252)"
|
|
1809
|
+
},
|
|
1810
|
+
"darkest": {
|
|
1811
|
+
"value": "rgb(124, 189, 250)"
|
|
1812
|
+
},
|
|
1813
|
+
"wireframe": {
|
|
1814
|
+
"value": "rgb(133, 161, 219)"
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
"dark": {
|
|
1819
|
+
"ref": "{informative-color-400}",
|
|
1820
|
+
"sets": {
|
|
1821
|
+
"light": {
|
|
1822
|
+
"value": "rgb(150, 206, 253)"
|
|
1823
|
+
},
|
|
1824
|
+
"dark": {
|
|
1825
|
+
"value": "rgb(0, 89, 194)"
|
|
1826
|
+
},
|
|
1827
|
+
"darkest": {
|
|
1828
|
+
"value": "rgb(0, 78, 166)"
|
|
1829
|
+
},
|
|
1830
|
+
"wireframe": {
|
|
1831
|
+
"value": "rgb(226, 232, 247)"
|
|
1832
|
+
}
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
"darkest": {
|
|
1836
|
+
"ref": "{informative-color-500}",
|
|
1837
|
+
"sets": {
|
|
1838
|
+
"light": {
|
|
1839
|
+
"value": "rgb(120, 187, 250)"
|
|
1840
|
+
},
|
|
1841
|
+
"dark": {
|
|
1842
|
+
"value": "rgb(3, 103, 224)"
|
|
1843
|
+
},
|
|
1844
|
+
"darkest": {
|
|
1845
|
+
"value": "rgb(0, 92, 200)"
|
|
1846
|
+
},
|
|
1847
|
+
"wireframe": {
|
|
1848
|
+
"value": "rgb(216, 225, 244)"
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
"wireframe": {
|
|
1853
|
+
"ref": "{informative-color-1000}",
|
|
1854
|
+
"sets": {
|
|
1855
|
+
"light": {
|
|
1856
|
+
"value": "rgb(0, 84, 182)"
|
|
1857
|
+
},
|
|
1858
|
+
"dark": {
|
|
1859
|
+
"value": "rgb(143, 202, 252)"
|
|
1860
|
+
},
|
|
1861
|
+
"darkest": {
|
|
1862
|
+
"value": "rgb(124, 189, 250)"
|
|
1863
|
+
},
|
|
1864
|
+
"wireframe": {
|
|
1865
|
+
"value": "rgb(133, 161, 219)"
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
},
|
|
1583
1871
|
"negative-content-color": {
|
|
1584
1872
|
"ref": "{negative-color-900}",
|
|
1585
1873
|
"sets": {
|
package/package.json
CHANGED
|
@@ -293,6 +293,70 @@
|
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
|
+
"informative-background-color-default": {
|
|
297
|
+
"sets": {
|
|
298
|
+
"light": {
|
|
299
|
+
"value": "{informative-color-900}"
|
|
300
|
+
},
|
|
301
|
+
"dark": {
|
|
302
|
+
"value": "{informative-color-500}"
|
|
303
|
+
},
|
|
304
|
+
"darkest": {
|
|
305
|
+
"value": "{informative-color-600}"
|
|
306
|
+
},
|
|
307
|
+
"wireframe": {
|
|
308
|
+
"value": "{informative-color-900}"
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"informative-background-color-hover": {
|
|
313
|
+
"sets": {
|
|
314
|
+
"light": {
|
|
315
|
+
"value": "{informative-color-1000}"
|
|
316
|
+
},
|
|
317
|
+
"dark": {
|
|
318
|
+
"value": "{informative-color-400}"
|
|
319
|
+
},
|
|
320
|
+
"darkest": {
|
|
321
|
+
"value": "{informative-color-500}"
|
|
322
|
+
},
|
|
323
|
+
"wireframe": {
|
|
324
|
+
"value": "{informative-color-1000}"
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"informative-background-color-down": {
|
|
329
|
+
"sets": {
|
|
330
|
+
"light": {
|
|
331
|
+
"value": "{informative-color-1100}"
|
|
332
|
+
},
|
|
333
|
+
"dark": {
|
|
334
|
+
"value": "{informative-color-300}"
|
|
335
|
+
},
|
|
336
|
+
"darkest": {
|
|
337
|
+
"value": "{informative-color-400}"
|
|
338
|
+
},
|
|
339
|
+
"wireframe": {
|
|
340
|
+
"value": "{informative-color-1100}"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"informative-background-color-key-focus": {
|
|
345
|
+
"sets": {
|
|
346
|
+
"light": {
|
|
347
|
+
"value": "{informative-color-1000}"
|
|
348
|
+
},
|
|
349
|
+
"dark": {
|
|
350
|
+
"value": "{informative-color-400}"
|
|
351
|
+
},
|
|
352
|
+
"darkest": {
|
|
353
|
+
"value": "{informative-color-500}"
|
|
354
|
+
},
|
|
355
|
+
"wireframe": {
|
|
356
|
+
"value": "{informative-color-1000}"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
},
|
|
296
360
|
|
|
297
361
|
"negative-content-color": {
|
|
298
362
|
"value": "{negative-color-900}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|