@nysds/tokens 1.15.1 → 1.16.0-alpha5
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/dist/tokens.css +2 -1
- package/package.json +1 -1
- package/src/tokens.json +59 -6
package/dist/tokens.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* New York State Design System v1.
|
|
2
|
+
* New York State Design System v1.16.0-alpha5
|
|
3
3
|
* Description: A design system for New York State's digital products.
|
|
4
4
|
* Repository: https://github.com/its-hcd/nysds
|
|
5
5
|
* License: MIT
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
--nys-color-environment-green-800: #172a1c;
|
|
77
77
|
--nys-color-environment-green-900: #0b150e;
|
|
78
78
|
--nys-color-focus: var(--nys-color-blue-600);
|
|
79
|
+
--nys-color-focus-reverse: var(--nys-color-blue-300);
|
|
79
80
|
--nys-color-green-10: #f3f8f4;
|
|
80
81
|
--nys-color-green-50: #e8f1ea;
|
|
81
82
|
--nys-color-green-100: #d2e3d5;
|
package/package.json
CHANGED
package/src/tokens.json
CHANGED
|
@@ -523,6 +523,10 @@
|
|
|
523
523
|
"focus": {
|
|
524
524
|
"$value": "{primitive.color.blue.600}",
|
|
525
525
|
"$description": "Focus ring color. MUST be visible on all backgrounds. USE for :focus-visible outlines."
|
|
526
|
+
},
|
|
527
|
+
"focus-reverse": {
|
|
528
|
+
"$value": "{primitive.color.blue.300}",
|
|
529
|
+
"$description": "Focus ring color on dark backgrounds. USE for :focus-visible outlines on dark surfaces."
|
|
526
530
|
}
|
|
527
531
|
}
|
|
528
532
|
},
|
|
@@ -611,22 +615,71 @@
|
|
|
611
615
|
"$description": "Elevation/shadow tokens",
|
|
612
616
|
"raised": {
|
|
613
617
|
"$value": [
|
|
614
|
-
{
|
|
615
|
-
|
|
618
|
+
{
|
|
619
|
+
"offsetX": "0px",
|
|
620
|
+
"offsetY": "4px",
|
|
621
|
+
"blur": "6px",
|
|
622
|
+
"spread": "-1px",
|
|
623
|
+
"color": "#0000001a"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"offsetX": "0px",
|
|
627
|
+
"offsetY": "4px",
|
|
628
|
+
"blur": "6px",
|
|
629
|
+
"spread": "-1px",
|
|
630
|
+
"color": "#00000003"
|
|
631
|
+
}
|
|
616
632
|
]
|
|
617
633
|
},
|
|
618
634
|
"overlay": {
|
|
619
|
-
"$value": {
|
|
635
|
+
"$value": {
|
|
636
|
+
"offsetX": "0px",
|
|
637
|
+
"offsetY": "25px",
|
|
638
|
+
"blur": "50px",
|
|
639
|
+
"spread": "-12px",
|
|
640
|
+
"color": "#0000004d"
|
|
641
|
+
}
|
|
620
642
|
}
|
|
621
643
|
},
|
|
622
644
|
|
|
623
645
|
"font": {
|
|
624
646
|
"family": {
|
|
625
647
|
"$type": "fontFamily",
|
|
626
|
-
"sans": {
|
|
627
|
-
|
|
648
|
+
"sans": {
|
|
649
|
+
"$value": [
|
|
650
|
+
"Proxima Nova",
|
|
651
|
+
"-apple-system",
|
|
652
|
+
"BlinkMacSystemFont",
|
|
653
|
+
"Segoe UI",
|
|
654
|
+
"Roboto",
|
|
655
|
+
"Helvetica",
|
|
656
|
+
"Arial",
|
|
657
|
+
"sans-serif",
|
|
658
|
+
"Apple Color Emoji",
|
|
659
|
+
"Segoe UI Emoji",
|
|
660
|
+
"Segoe UI Symbol"
|
|
661
|
+
]
|
|
662
|
+
},
|
|
663
|
+
"serif": {
|
|
664
|
+
"$value": [
|
|
665
|
+
"Noto Serif",
|
|
666
|
+
"Georgia",
|
|
667
|
+
"Cambria",
|
|
668
|
+
"Times New Roman",
|
|
669
|
+
"Times",
|
|
670
|
+
"serif"
|
|
671
|
+
]
|
|
672
|
+
},
|
|
628
673
|
"alt": { "$value": ["Oswald", "Arial", "sans-serif"] },
|
|
629
|
-
"monospace": {
|
|
674
|
+
"monospace": {
|
|
675
|
+
"$value": [
|
|
676
|
+
"Roboto Mono Web",
|
|
677
|
+
"Bitstream Vera Sans Mono",
|
|
678
|
+
"Consolas",
|
|
679
|
+
"Courier",
|
|
680
|
+
"monospace"
|
|
681
|
+
]
|
|
682
|
+
},
|
|
630
683
|
"agency": { "$value": ["D Sari", "Arial", "sans-serif"] },
|
|
631
684
|
"body": { "$value": "{font.family.sans}" },
|
|
632
685
|
"display": { "$value": "{font.family.sans}" },
|