@adobe/spectrum-tokens 12.0.0-beta.13 → 12.0.0-beta.16

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,6 +1,6 @@
1
- # [12.0.0-beta.13](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.12...v12.0.0-beta.13) (2022-04-06)
1
+ # [12.0.0-beta.16](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.15...v12.0.0-beta.16) (2022-04-08)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * adding accent and negative background color ([#16](https://github.com/adobe/spectrum-tokens/issues/16)) ([91afe66](https://github.com/adobe/spectrum-tokens/commit/91afe66f072d98722036caac9cde3c71c972f595))
6
+ * adds informative background aliases ([f44be04](https://github.com/adobe/spectrum-tokens/commit/f44be04cf5220ecf8b90af72a27fa09909fc5c4d))
package/README.md CHANGED
@@ -1,4 +1,18 @@
1
- # Spectrum Style Dictionary
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
@@ -18,7 +18,7 @@ StyleDictionary.registerTransform(NameKebabTransfom);
18
18
  StyleDictionary.registerFormat(JsonSetsFormatter);
19
19
 
20
20
  module.exports = {
21
- source: ["tokens/**/*.json"],
21
+ source: ["src/**/*.json"],
22
22
  platforms: {
23
23
  JSON: {
24
24
  buildPath: "dist/json/",
@@ -1580,6 +1580,280 @@
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
+ "value": "informativet-color-500}"
1837
+ },
1838
+ "wireframe": {
1839
+ "ref": "{informative-color-1000}",
1840
+ "sets": {
1841
+ "light": {
1842
+ "value": "rgb(0, 84, 182)"
1843
+ },
1844
+ "dark": {
1845
+ "value": "rgb(143, 202, 252)"
1846
+ },
1847
+ "darkest": {
1848
+ "value": "rgb(124, 189, 250)"
1849
+ },
1850
+ "wireframe": {
1851
+ "value": "rgb(133, 161, 219)"
1852
+ }
1853
+ }
1854
+ }
1855
+ }
1856
+ },
1583
1857
  "negative-content-color": {
1584
1858
  "ref": "{negative-color-900}",
1585
1859
  "sets": {
@@ -3270,6 +3544,244 @@
3270
3544
  }
3271
3545
  }
3272
3546
  },
3547
+ "positive-color-100": {
3548
+ "ref": "{green-100}",
3549
+ "sets": {
3550
+ "light": {
3551
+ "value": "rgb(206, 248, 224)"
3552
+ },
3553
+ "dark": {
3554
+ "value": "rgb(4, 67, 41)"
3555
+ },
3556
+ "darkest": {
3557
+ "value": "rgb(10, 44, 28)"
3558
+ },
3559
+ "wireframe": {
3560
+ "value": "rgb(242, 245, 251)"
3561
+ }
3562
+ }
3563
+ },
3564
+ "positive-color-200": {
3565
+ "ref": "{green-200}",
3566
+ "sets": {
3567
+ "light": {
3568
+ "value": "rgb(173, 244, 206)"
3569
+ },
3570
+ "dark": {
3571
+ "value": "rgb(0, 78, 47)"
3572
+ },
3573
+ "darkest": {
3574
+ "value": "rgb(7, 59, 36)"
3575
+ },
3576
+ "wireframe": {
3577
+ "value": "rgb(237, 241, 250)"
3578
+ }
3579
+ }
3580
+ },
3581
+ "positive-color-300": {
3582
+ "ref": "{green-300}",
3583
+ "sets": {
3584
+ "light": {
3585
+ "value": "rgb(137, 236, 188)"
3586
+ },
3587
+ "dark": {
3588
+ "value": "rgb(0, 92, 56)"
3589
+ },
3590
+ "darkest": {
3591
+ "value": "rgb(0, 76, 46)"
3592
+ },
3593
+ "wireframe": {
3594
+ "value": "rgb(233, 238, 248)"
3595
+ }
3596
+ }
3597
+ },
3598
+ "positive-color-400": {
3599
+ "ref": "{green-400}",
3600
+ "sets": {
3601
+ "light": {
3602
+ "value": "rgb(103, 222, 168)"
3603
+ },
3604
+ "dark": {
3605
+ "value": "rgb(0, 108, 67)"
3606
+ },
3607
+ "darkest": {
3608
+ "value": "rgb(0, 93, 57)"
3609
+ },
3610
+ "wireframe": {
3611
+ "value": "rgb(226, 232, 247)"
3612
+ }
3613
+ }
3614
+ },
3615
+ "positive-color-500": {
3616
+ "ref": "{green-500}",
3617
+ "sets": {
3618
+ "light": {
3619
+ "value": "rgb(73, 204, 147)"
3620
+ },
3621
+ "dark": {
3622
+ "value": "rgb(0, 125, 78)"
3623
+ },
3624
+ "darkest": {
3625
+ "value": "rgb(0, 111, 69)"
3626
+ },
3627
+ "wireframe": {
3628
+ "value": "rgb(216, 225, 244)"
3629
+ }
3630
+ }
3631
+ },
3632
+ "positive-color-600": {
3633
+ "ref": "{green-600}",
3634
+ "sets": {
3635
+ "light": {
3636
+ "value": "rgb(47, 184, 128)"
3637
+ },
3638
+ "dark": {
3639
+ "value": "rgb(0, 143, 93)"
3640
+ },
3641
+ "darkest": {
3642
+ "value": "rgb(0, 130, 82)"
3643
+ },
3644
+ "wireframe": {
3645
+ "value": "rgb(203, 215, 241)"
3646
+ }
3647
+ }
3648
+ },
3649
+ "positive-color-700": {
3650
+ "ref": "{green-700}",
3651
+ "sets": {
3652
+ "light": {
3653
+ "value": "rgb(21, 164, 110)"
3654
+ },
3655
+ "dark": {
3656
+ "value": "rgb(18, 162, 108)"
3657
+ },
3658
+ "darkest": {
3659
+ "value": "rgb(0, 149, 98)"
3660
+ },
3661
+ "wireframe": {
3662
+ "value": "rgb(190, 205, 237)"
3663
+ }
3664
+ }
3665
+ },
3666
+ "positive-color-800": {
3667
+ "ref": "{green-800}",
3668
+ "sets": {
3669
+ "light": {
3670
+ "value": "rgb(0, 143, 93)"
3671
+ },
3672
+ "dark": {
3673
+ "value": "rgb(43, 180, 125)"
3674
+ },
3675
+ "darkest": {
3676
+ "value": "rgb(28, 168, 114)"
3677
+ },
3678
+ "wireframe": {
3679
+ "value": "rgb(173, 192, 233)"
3680
+ }
3681
+ }
3682
+ },
3683
+ "positive-color-900": {
3684
+ "ref": "{green-900}",
3685
+ "sets": {
3686
+ "light": {
3687
+ "value": "rgb(0, 122, 77)"
3688
+ },
3689
+ "dark": {
3690
+ "value": "rgb(67, 199, 143)"
3691
+ },
3692
+ "darkest": {
3693
+ "value": "rgb(52, 187, 132)"
3694
+ },
3695
+ "wireframe": {
3696
+ "value": "rgb(154, 177, 227)"
3697
+ }
3698
+ }
3699
+ },
3700
+ "positive-color-1000": {
3701
+ "ref": "{green-1000}",
3702
+ "sets": {
3703
+ "light": {
3704
+ "value": "rgb(0, 101, 62)"
3705
+ },
3706
+ "dark": {
3707
+ "value": "rgb(94, 217, 162)"
3708
+ },
3709
+ "darkest": {
3710
+ "value": "rgb(75, 205, 149)"
3711
+ },
3712
+ "wireframe": {
3713
+ "value": "rgb(133, 161, 219)"
3714
+ }
3715
+ }
3716
+ },
3717
+ "positive-color-1100": {
3718
+ "ref": "{green-1100}",
3719
+ "sets": {
3720
+ "light": {
3721
+ "value": "rgb(0, 81, 50)"
3722
+ },
3723
+ "dark": {
3724
+ "value": "rgb(129, 233, 184)"
3725
+ },
3726
+ "darkest": {
3727
+ "value": "rgb(103, 222, 168)"
3728
+ },
3729
+ "wireframe": {
3730
+ "value": "rgb(114, 145, 211)"
3731
+ }
3732
+ }
3733
+ },
3734
+ "positive-color-1200": {
3735
+ "ref": "{green-1200}",
3736
+ "sets": {
3737
+ "light": {
3738
+ "value": "rgb(5, 63, 39)"
3739
+ },
3740
+ "dark": {
3741
+ "value": "rgb(177, 244, 209)"
3742
+ },
3743
+ "darkest": {
3744
+ "value": "rgb(137, 236, 188)"
3745
+ },
3746
+ "wireframe": {
3747
+ "value": "rgb(96, 130, 201)"
3748
+ }
3749
+ }
3750
+ },
3751
+ "positive-color-1300": {
3752
+ "ref": "{green-1300}",
3753
+ "sets": {
3754
+ "light": {
3755
+ "value": "rgb(10, 46, 29)"
3756
+ },
3757
+ "dark": {
3758
+ "value": "rgb(223, 250, 234)"
3759
+ },
3760
+ "darkest": {
3761
+ "value": "rgb(177, 244, 209)"
3762
+ },
3763
+ "wireframe": {
3764
+ "value": "rgb(82, 117, 192)"
3765
+ }
3766
+ }
3767
+ },
3768
+ "positive-color-1400": {
3769
+ "ref": "{green-1400}",
3770
+ "sets": {
3771
+ "light": {
3772
+ "value": "rgb(10, 32, 21)"
3773
+ },
3774
+ "dark": {
3775
+ "value": "rgb(254, 255, 252)"
3776
+ },
3777
+ "darkest": {
3778
+ "value": "rgb(214, 249, 228)"
3779
+ },
3780
+ "wireframe": {
3781
+ "value": "rgb(74, 109, 184)"
3782
+ }
3783
+ }
3784
+ },
3273
3785
  "black": {
3274
3786
  "value": "rgb(0, 0, 0)"
3275
3787
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "12.0.0-beta.13",
3
+ "version": "12.0.0-beta.16",
4
4
  "description": "",
5
5
  "main": "config.js",
6
6
  "scripts": {
@@ -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": "informativet-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}"
@@ -264,5 +264,47 @@
264
264
  },
265
265
  "notice-color-1400": {
266
266
  "value": "{orange-1400}"
267
+ },
268
+ "positive-color-100": {
269
+ "value": "{green-100}"
270
+ },
271
+ "positive-color-200": {
272
+ "value": "{green-200}"
273
+ },
274
+ "positive-color-300": {
275
+ "value": "{green-300}"
276
+ },
277
+ "positive-color-400": {
278
+ "value": "{green-400}"
279
+ },
280
+ "positive-color-500": {
281
+ "value": "{green-500}"
282
+ },
283
+ "positive-color-600": {
284
+ "value": "{green-600}"
285
+ },
286
+ "positive-color-700": {
287
+ "value": "{green-700}"
288
+ },
289
+ "positive-color-800": {
290
+ "value": "{green-800}"
291
+ },
292
+ "positive-color-900": {
293
+ "value": "{green-900}"
294
+ },
295
+ "positive-color-1000": {
296
+ "value": "{green-1000}"
297
+ },
298
+ "positive-color-1100": {
299
+ "value": "{green-1100}"
300
+ },
301
+ "positive-color-1200": {
302
+ "value": "{green-1200}"
303
+ },
304
+ "positive-color-1300": {
305
+ "value": "{green-1300}"
306
+ },
307
+ "positive-color-1400": {
308
+ "value": "{green-1400}"
267
309
  }
268
310
  }
File without changes
File without changes
File without changes