@adobe/spectrum-tokens 12.0.0-beta.65 → 12.0.0-beta.67
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 +8 -2
- package/README.md +2 -6
- package/commitlint.config.cjs +1 -1
- package/dist/json/drover.json +29 -1
- package/dist/json/variables.json +212 -1
- package/jest.config.cjs +1 -1
- package/package.json +2 -2
- package/src/color-component.json +28 -0
- package/src/layout-component.json +133 -0
- package/src/layout.json +3 -0
- package/src/typography.json +1 -1
- package/tasks/buildSpectrumTokens.js +6 -1
- package/tasks/diff.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
# [12.0.0-beta.
|
|
1
|
+
# [12.0.0-beta.67](https://github.com/adobe/spectrum-tokens/compare/v12.0.0-beta.66...v12.0.0-beta.67) (2023-01-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* token name typo ([007da82](https://github.com/adobe/spectrum-tokens/commit/007da828661f97ea7f8880b795d8571f3a0026d2))
|
|
2
7
|
|
|
3
8
|
|
|
4
9
|
### Features
|
|
5
10
|
|
|
6
|
-
*
|
|
11
|
+
* color loupe tokens, DNA-1249 ([4169f4a](https://github.com/adobe/spectrum-tokens/commit/4169f4a9548169b855fdd78ae918f74935cc0306))
|
|
12
|
+
* new card tokens, DNA-1250 ([c9e3bdd](https://github.com/adobe/spectrum-tokens/commit/c9e3bdd24d77659b174e350a5671067bb019a081))
|
package/README.md
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
# Spectrum Tokens
|
|
2
2
|
|
|
3
3
|
---
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
|
|
6
5
|
# Note: This project is in beta right now.
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
---
|
|
7
|
+
---
|
|
11
8
|
|
|
12
9
|
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
10
|
|
|
14
11
|
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
12
|
|
|
16
|
-
|
|
17
13
|
## Getting started
|
|
18
14
|
|
|
19
15
|
Start by installing all the project dependencies.
|
package/commitlint.config.cjs
CHANGED
package/dist/json/drover.json
CHANGED
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"blue-background-color-default": "rgb(2, 101, 220)",
|
|
57
57
|
"blue-visual-color": "rgb(20, 122, 243)",
|
|
58
58
|
"border-width-100": "1px",
|
|
59
|
+
"card-selection-background-color": "rgb(248, 248, 248)",
|
|
59
60
|
"celery-100": "rgb(205, 252, 191)",
|
|
60
61
|
"celery-1000": "rgb(0, 103, 15)",
|
|
61
62
|
"celery-1100": "rgb(0, 83, 13)",
|
|
@@ -90,6 +91,9 @@
|
|
|
90
91
|
"chartreuse-visual-color": "rgb(135, 177, 3)",
|
|
91
92
|
"color-area-border-color": "rgb(0, 0, 0)",
|
|
92
93
|
"color-area-border-width": "1px",
|
|
94
|
+
"color-loupe-drop-shadow-color": "rgba(0, 0, 0, 0.25)",
|
|
95
|
+
"color-loupe-inner-border": "rgba(0, 0, 0, 0.1)",
|
|
96
|
+
"color-loupe-outer-border": "rgb(255, 255, 255)",
|
|
93
97
|
"color-slider-border-color": "rgb(0, 0, 0)",
|
|
94
98
|
"cyan-100": "rgb(197, 248, 255)",
|
|
95
99
|
"cyan-1000": "rgb(0, 93, 137)",
|
|
@@ -462,6 +466,7 @@
|
|
|
462
466
|
"blue-background-color-default": "rgb(52, 143, 244)",
|
|
463
467
|
"blue-visual-color": "rgb(114, 183, 249)",
|
|
464
468
|
"border-width-100": "1px",
|
|
469
|
+
"card-selection-background-color": "rgb(50, 50, 50)",
|
|
465
470
|
"celery-100": "rgb(0, 69, 10)",
|
|
466
471
|
"celery-1000": "rgb(105, 220, 99)",
|
|
467
472
|
"celery-1100": "rgb(142, 235, 127)",
|
|
@@ -496,6 +501,9 @@
|
|
|
496
501
|
"chartreuse-visual-color": "rgb(148, 192, 8)",
|
|
497
502
|
"color-area-border-color": "rgb(255, 255, 255)",
|
|
498
503
|
"color-area-border-width": "1px",
|
|
504
|
+
"color-loupe-drop-shadow-color": "rgba(0, 0, 0, 0.25)",
|
|
505
|
+
"color-loupe-inner-border": "rgba(0, 0, 0, 0.1)",
|
|
506
|
+
"color-loupe-outer-border": "rgb(255, 255, 255)",
|
|
499
507
|
"color-slider-border-color": "rgb(255, 255, 255)",
|
|
500
508
|
"cyan-100": "rgb(0, 61, 98)",
|
|
501
509
|
"cyan-1000": "rgb(84, 211, 241)",
|
|
@@ -868,6 +876,7 @@
|
|
|
868
876
|
"blue-background-color-default": "rgb(29, 128, 245)",
|
|
869
877
|
"blue-visual-color": "rgb(94, 170, 247)",
|
|
870
878
|
"border-width-100": "1px",
|
|
879
|
+
"card-selection-background-color": "rgb(29, 29, 29)",
|
|
871
880
|
"celery-100": "rgb(0, 47, 7)",
|
|
872
881
|
"celery-1000": "rgb(80, 208, 82)",
|
|
873
882
|
"celery-1100": "rgb(115, 224, 107)",
|
|
@@ -902,6 +911,9 @@
|
|
|
902
911
|
"chartreuse-visual-color": "rgb(138, 180, 3)",
|
|
903
912
|
"color-area-border-color": "rgb(255, 255, 255)",
|
|
904
913
|
"color-area-border-width": "1px",
|
|
914
|
+
"color-loupe-drop-shadow-color": "rgba(0, 0, 0, 0.25)",
|
|
915
|
+
"color-loupe-inner-border": "rgba(0, 0, 0, 0.1)",
|
|
916
|
+
"color-loupe-outer-border": "rgb(255, 255, 255)",
|
|
905
917
|
"color-slider-border-color": "rgb(255, 255, 255)",
|
|
906
918
|
"cyan-100": "rgb(0, 41, 68)",
|
|
907
919
|
"cyan-1000": "rgb(57, 199, 234)",
|
|
@@ -1295,6 +1307,10 @@
|
|
|
1295
1307
|
"breadcrumbs-truncated-menu-to-bottom-text": "0px",
|
|
1296
1308
|
"breadcrumbs-truncated-menu-to-separator-icon": "0px",
|
|
1297
1309
|
"button-minimum-width-multiplier": "2.25",
|
|
1310
|
+
"card-minimum-width": "100px",
|
|
1311
|
+
"card-preview-minimum-height": "130px",
|
|
1312
|
+
"card-selection-background-color-opacity": "0.95",
|
|
1313
|
+
"card-selection-background-size": "40px",
|
|
1298
1314
|
"character-count-to-field-quiet-extra-large": "-4px",
|
|
1299
1315
|
"character-count-to-field-quiet-large": "-3px",
|
|
1300
1316
|
"character-count-to-field-quiet-medium": "-3px",
|
|
@@ -1324,6 +1340,13 @@
|
|
|
1324
1340
|
"color-area-minimum-width": "64px",
|
|
1325
1341
|
"color-area-width": "192px",
|
|
1326
1342
|
"color-control-track-width": "24px",
|
|
1343
|
+
"color-loupe-bottom-to-color-handle": "12px",
|
|
1344
|
+
"color-loupe-drop-shadow-blur": "8px",
|
|
1345
|
+
"color-loupe-drop-shadow-y": "2px",
|
|
1346
|
+
"color-loupe-height": "64px",
|
|
1347
|
+
"color-loupe-inner-border-width": "2px",
|
|
1348
|
+
"color-loupe-outer-border-width": "2px",
|
|
1349
|
+
"color-loupe-width": "48px",
|
|
1327
1350
|
"color-slider-border-opacity": "0.1",
|
|
1328
1351
|
"color-slider-border-rounding": "4px",
|
|
1329
1352
|
"color-slider-border-width": "1px",
|
|
@@ -1395,7 +1418,7 @@
|
|
|
1395
1418
|
"detail-letter-spacing": "0.06em",
|
|
1396
1419
|
"detail-line-height": "1.3",
|
|
1397
1420
|
"detail-margin-bottom-multiplier": "0.25",
|
|
1398
|
-
"detail-margin-top-
|
|
1421
|
+
"detail-margin-top-multiplier": "0.88888889",
|
|
1399
1422
|
"detail-size-l": "14px",
|
|
1400
1423
|
"detail-size-m": "12px",
|
|
1401
1424
|
"detail-size-s": "11px",
|
|
@@ -1426,6 +1449,7 @@
|
|
|
1426
1449
|
"field-edge-to-validation-icon-medium": "12px",
|
|
1427
1450
|
"field-edge-to-validation-icon-quiet": "0px",
|
|
1428
1451
|
"field-edge-to-validation-icon-small": "9px",
|
|
1452
|
+
"field-edge-to-visual-quiet": "0px",
|
|
1429
1453
|
"field-label-text-to-asterisk-extra-large": "5px",
|
|
1430
1454
|
"field-label-text-to-asterisk-large": "5px",
|
|
1431
1455
|
"field-label-text-to-asterisk-medium": "4px",
|
|
@@ -1512,6 +1536,10 @@
|
|
|
1512
1536
|
"help-text-top-to-workflow-icon-large": "6px",
|
|
1513
1537
|
"help-text-top-to-workflow-icon-medium": "3px",
|
|
1514
1538
|
"help-text-top-to-workflow-icon-small": "4px",
|
|
1539
|
+
"illustrated-message-body-size": "14px",
|
|
1540
|
+
"illustrated-message-cjk-title-size": "20px",
|
|
1541
|
+
"illustrated-message-maximum-width": "380px",
|
|
1542
|
+
"illustrated-message-title-size": "22px",
|
|
1515
1543
|
"in-line-alert-minimum-width": "240px",
|
|
1516
1544
|
"line-height-100": "1.3",
|
|
1517
1545
|
"line-height-200": "1.5",
|
package/dist/json/variables.json
CHANGED
|
@@ -5853,6 +5853,44 @@
|
|
|
5853
5853
|
"color-slider-border-opacity": {
|
|
5854
5854
|
"value": "0.1"
|
|
5855
5855
|
},
|
|
5856
|
+
"color-loupe-drop-shadow-color": {
|
|
5857
|
+
"ref": "{transparent-black-300}",
|
|
5858
|
+
"value": "rgba(0, 0, 0, 0.25)"
|
|
5859
|
+
},
|
|
5860
|
+
"color-loupe-drop-shadow-y": {
|
|
5861
|
+
"value": "2px"
|
|
5862
|
+
},
|
|
5863
|
+
"color-loupe-drop-shadow-blur": {
|
|
5864
|
+
"value": "8px"
|
|
5865
|
+
},
|
|
5866
|
+
"color-loupe-inner-border": {
|
|
5867
|
+
"ref": "{transparent-black-200}",
|
|
5868
|
+
"value": "rgba(0, 0, 0, 0.1)"
|
|
5869
|
+
},
|
|
5870
|
+
"color-loupe-outer-border": {
|
|
5871
|
+
"ref": "{white}",
|
|
5872
|
+
"value": "rgb(255, 255, 255)"
|
|
5873
|
+
},
|
|
5874
|
+
"card-selection-background-color": {
|
|
5875
|
+
"ref": "{gray-100}",
|
|
5876
|
+
"sets": {
|
|
5877
|
+
"light": {
|
|
5878
|
+
"value": "rgb(248, 248, 248)"
|
|
5879
|
+
},
|
|
5880
|
+
"dark": {
|
|
5881
|
+
"value": "rgb(50, 50, 50)"
|
|
5882
|
+
},
|
|
5883
|
+
"darkest": {
|
|
5884
|
+
"value": "rgb(29, 29, 29)"
|
|
5885
|
+
},
|
|
5886
|
+
"wireframe": {
|
|
5887
|
+
"value": "rgb(244, 246, 252)"
|
|
5888
|
+
}
|
|
5889
|
+
}
|
|
5890
|
+
},
|
|
5891
|
+
"card-selection-background-color-opacity": {
|
|
5892
|
+
"value": "0.95"
|
|
5893
|
+
},
|
|
5856
5894
|
"white": {
|
|
5857
5895
|
"value": "rgb(255, 255, 255)"
|
|
5858
5896
|
},
|
|
@@ -11586,6 +11624,176 @@
|
|
|
11586
11624
|
"floating-action-button-drop-shadow-blur": {
|
|
11587
11625
|
"value": "12px"
|
|
11588
11626
|
},
|
|
11627
|
+
"illustrated-message-maximum-width": {
|
|
11628
|
+
"value": "380px"
|
|
11629
|
+
},
|
|
11630
|
+
"illustrated-message-title-size": {
|
|
11631
|
+
"sets": {
|
|
11632
|
+
"desktop": {
|
|
11633
|
+
"ref": "{heading-size-m}",
|
|
11634
|
+
"sets": {
|
|
11635
|
+
"desktop": {
|
|
11636
|
+
"value": "22px"
|
|
11637
|
+
},
|
|
11638
|
+
"mobile": {
|
|
11639
|
+
"value": "27px"
|
|
11640
|
+
}
|
|
11641
|
+
}
|
|
11642
|
+
},
|
|
11643
|
+
"mobile": {
|
|
11644
|
+
"ref": "{heading-size-s}",
|
|
11645
|
+
"sets": {
|
|
11646
|
+
"desktop": {
|
|
11647
|
+
"value": "18px"
|
|
11648
|
+
},
|
|
11649
|
+
"mobile": {
|
|
11650
|
+
"value": "22px"
|
|
11651
|
+
}
|
|
11652
|
+
}
|
|
11653
|
+
}
|
|
11654
|
+
}
|
|
11655
|
+
},
|
|
11656
|
+
"illustrated-message-cjk-title-size": {
|
|
11657
|
+
"sets": {
|
|
11658
|
+
"desktop": {
|
|
11659
|
+
"ref": "{heading-cjk-size-m}",
|
|
11660
|
+
"sets": {
|
|
11661
|
+
"desktop": {
|
|
11662
|
+
"value": "20px"
|
|
11663
|
+
},
|
|
11664
|
+
"mobile": {
|
|
11665
|
+
"value": "24px"
|
|
11666
|
+
}
|
|
11667
|
+
}
|
|
11668
|
+
},
|
|
11669
|
+
"mobile": {
|
|
11670
|
+
"ref": "{heading-cjk-size-s}",
|
|
11671
|
+
"sets": {
|
|
11672
|
+
"desktop": {
|
|
11673
|
+
"value": "18px"
|
|
11674
|
+
},
|
|
11675
|
+
"mobile": {
|
|
11676
|
+
"value": "22px"
|
|
11677
|
+
}
|
|
11678
|
+
}
|
|
11679
|
+
}
|
|
11680
|
+
}
|
|
11681
|
+
},
|
|
11682
|
+
"illustrated-message-body-size": {
|
|
11683
|
+
"sets": {
|
|
11684
|
+
"desktop": {
|
|
11685
|
+
"ref": "{body-size-s}",
|
|
11686
|
+
"sets": {
|
|
11687
|
+
"desktop": {
|
|
11688
|
+
"value": "14px"
|
|
11689
|
+
},
|
|
11690
|
+
"mobile": {
|
|
11691
|
+
"value": "17px"
|
|
11692
|
+
}
|
|
11693
|
+
}
|
|
11694
|
+
},
|
|
11695
|
+
"mobile": {
|
|
11696
|
+
"ref": "{body-size-xs}",
|
|
11697
|
+
"sets": {
|
|
11698
|
+
"desktop": {
|
|
11699
|
+
"value": "12px"
|
|
11700
|
+
},
|
|
11701
|
+
"mobile": {
|
|
11702
|
+
"value": "15px"
|
|
11703
|
+
}
|
|
11704
|
+
}
|
|
11705
|
+
}
|
|
11706
|
+
}
|
|
11707
|
+
},
|
|
11708
|
+
"search-field-minimum-width-multiplier": {
|
|
11709
|
+
"value": "3"
|
|
11710
|
+
},
|
|
11711
|
+
"color-loupe-height": {
|
|
11712
|
+
"sets": {
|
|
11713
|
+
"spectrum": {
|
|
11714
|
+
"sets": {
|
|
11715
|
+
"desktop": {
|
|
11716
|
+
"value": "64px"
|
|
11717
|
+
}
|
|
11718
|
+
}
|
|
11719
|
+
},
|
|
11720
|
+
"express": {
|
|
11721
|
+
"sets": {
|
|
11722
|
+
"desktop": {
|
|
11723
|
+
"value": "40px"
|
|
11724
|
+
}
|
|
11725
|
+
}
|
|
11726
|
+
}
|
|
11727
|
+
}
|
|
11728
|
+
},
|
|
11729
|
+
"color-loupe-width": {
|
|
11730
|
+
"sets": {
|
|
11731
|
+
"spectrum": {
|
|
11732
|
+
"sets": {
|
|
11733
|
+
"desktop": {
|
|
11734
|
+
"value": "48px"
|
|
11735
|
+
}
|
|
11736
|
+
}
|
|
11737
|
+
},
|
|
11738
|
+
"express": {
|
|
11739
|
+
"sets": {
|
|
11740
|
+
"desktop": {
|
|
11741
|
+
"value": "32px"
|
|
11742
|
+
}
|
|
11743
|
+
}
|
|
11744
|
+
}
|
|
11745
|
+
}
|
|
11746
|
+
},
|
|
11747
|
+
"color-loupe-bottom-to-color-handle": {
|
|
11748
|
+
"sets": {
|
|
11749
|
+
"spectrum": {
|
|
11750
|
+
"sets": {
|
|
11751
|
+
"desktop": {
|
|
11752
|
+
"value": "12px"
|
|
11753
|
+
}
|
|
11754
|
+
}
|
|
11755
|
+
},
|
|
11756
|
+
"express": {
|
|
11757
|
+
"sets": {
|
|
11758
|
+
"desktop": {
|
|
11759
|
+
"value": "6px"
|
|
11760
|
+
}
|
|
11761
|
+
}
|
|
11762
|
+
}
|
|
11763
|
+
}
|
|
11764
|
+
},
|
|
11765
|
+
"color-loupe-outer-border-width": {
|
|
11766
|
+
"ref": "{border-width-200}",
|
|
11767
|
+
"value": "2px"
|
|
11768
|
+
},
|
|
11769
|
+
"color-loupe-inner-border-width": {
|
|
11770
|
+
"sets": {
|
|
11771
|
+
"spectrum": {
|
|
11772
|
+
"sets": {
|
|
11773
|
+
"desktop": {
|
|
11774
|
+
"ref": "{border-width-200}",
|
|
11775
|
+
"value": "2px"
|
|
11776
|
+
}
|
|
11777
|
+
}
|
|
11778
|
+
},
|
|
11779
|
+
"express": {
|
|
11780
|
+
"sets": {
|
|
11781
|
+
"desktop": {
|
|
11782
|
+
"value": "3px"
|
|
11783
|
+
}
|
|
11784
|
+
}
|
|
11785
|
+
}
|
|
11786
|
+
}
|
|
11787
|
+
},
|
|
11788
|
+
"card-minimum-width": {
|
|
11789
|
+
"value": "100px"
|
|
11790
|
+
},
|
|
11791
|
+
"card-preview-minimum-height": {
|
|
11792
|
+
"value": "130px"
|
|
11793
|
+
},
|
|
11794
|
+
"card-selection-background-size": {
|
|
11795
|
+
"value": "40px"
|
|
11796
|
+
},
|
|
11589
11797
|
"corner-radius-75": {
|
|
11590
11798
|
"sets": {
|
|
11591
11799
|
"spectrum": {
|
|
@@ -12444,6 +12652,9 @@
|
|
|
12444
12652
|
"field-edge-to-text-quiet": {
|
|
12445
12653
|
"value": "0px"
|
|
12446
12654
|
},
|
|
12655
|
+
"field-edge-to-visual-quiet": {
|
|
12656
|
+
"value": "0px"
|
|
12657
|
+
},
|
|
12447
12658
|
"field-edge-to-border-quiet": {
|
|
12448
12659
|
"value": "0px"
|
|
12449
12660
|
},
|
|
@@ -15637,7 +15848,7 @@
|
|
|
15637
15848
|
"ref": "{cjk-line-height-100}",
|
|
15638
15849
|
"value": "1.5"
|
|
15639
15850
|
},
|
|
15640
|
-
"detail-margin-top-
|
|
15851
|
+
"detail-margin-top-multiplier": {
|
|
15641
15852
|
"value": "0.88888889"
|
|
15642
15853
|
},
|
|
15643
15854
|
"detail-margin-bottom-multiplier": {
|
package/jest.config.cjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/spectrum-tokens",
|
|
3
|
-
"version": "12.0.0-beta.
|
|
3
|
+
"version": "12.0.0-beta.67",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "config.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"diffLastRelease": ". tasks/diffOutput.sh",
|
|
14
14
|
"generateDiffResult": "node tasks/diff.js",
|
|
15
15
|
"clean": "rm -rf dist",
|
|
16
|
-
"pre-commit": "lint-staged
|
|
16
|
+
"pre-commit": "lint-staged",
|
|
17
17
|
"prepare": "husky install && yarn run build",
|
|
18
18
|
"semantic-release": "semantic-release"
|
|
19
19
|
},
|
package/src/color-component.json
CHANGED
|
@@ -64,5 +64,33 @@
|
|
|
64
64
|
"color-slider-border-opacity": {
|
|
65
65
|
"component": "color-slider",
|
|
66
66
|
"value": "0.1"
|
|
67
|
+
},
|
|
68
|
+
"color-loupe-drop-shadow-color": {
|
|
69
|
+
"component": "color-loupe",
|
|
70
|
+
"value": "{transparent-black-300}"
|
|
71
|
+
},
|
|
72
|
+
"color-loupe-drop-shadow-y": {
|
|
73
|
+
"component": "color-loupe",
|
|
74
|
+
"value": "2px"
|
|
75
|
+
},
|
|
76
|
+
"color-loupe-drop-shadow-blur": {
|
|
77
|
+
"component": "color-loupe",
|
|
78
|
+
"value": "8px"
|
|
79
|
+
},
|
|
80
|
+
"color-loupe-inner-border": {
|
|
81
|
+
"component": "color-loupe",
|
|
82
|
+
"value": "{transparent-black-200}"
|
|
83
|
+
},
|
|
84
|
+
"color-loupe-outer-border": {
|
|
85
|
+
"component": "color-loupe",
|
|
86
|
+
"value": "{white}"
|
|
87
|
+
},
|
|
88
|
+
"card-selection-background-color": {
|
|
89
|
+
"component": "cards",
|
|
90
|
+
"value": "{gray-100}"
|
|
91
|
+
},
|
|
92
|
+
"card-selection-background-color-opacity": {
|
|
93
|
+
"component": "cards",
|
|
94
|
+
"value": "0.95"
|
|
67
95
|
}
|
|
68
96
|
}
|
|
@@ -2769,5 +2769,138 @@
|
|
|
2769
2769
|
"floating-action-button-drop-shadow-blur": {
|
|
2770
2770
|
"component": "floating-action-button",
|
|
2771
2771
|
"value": "12px"
|
|
2772
|
+
},
|
|
2773
|
+
"illustrated-message-maximum-width": {
|
|
2774
|
+
"component": "illustrated-message",
|
|
2775
|
+
"value": "380px"
|
|
2776
|
+
},
|
|
2777
|
+
"illustrated-message-title-size": {
|
|
2778
|
+
"component": "illustrated-message",
|
|
2779
|
+
"sets": {
|
|
2780
|
+
"desktop": {
|
|
2781
|
+
"value": "{heading-size-m}"
|
|
2782
|
+
},
|
|
2783
|
+
"mobile": {
|
|
2784
|
+
"value": "{heading-size-s}"
|
|
2785
|
+
}
|
|
2786
|
+
}
|
|
2787
|
+
},
|
|
2788
|
+
"illustrated-message-cjk-title-size": {
|
|
2789
|
+
"component": "illustrated-message",
|
|
2790
|
+
"sets": {
|
|
2791
|
+
"desktop": {
|
|
2792
|
+
"value": "{heading-cjk-size-m}"
|
|
2793
|
+
},
|
|
2794
|
+
"mobile": {
|
|
2795
|
+
"value": "{heading-cjk-size-s}"
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
},
|
|
2799
|
+
"illustrated-message-body-size": {
|
|
2800
|
+
"component": "illustrated-message",
|
|
2801
|
+
"sets": {
|
|
2802
|
+
"desktop": {
|
|
2803
|
+
"value": "{body-size-s}"
|
|
2804
|
+
},
|
|
2805
|
+
"mobile": {
|
|
2806
|
+
"value": "{body-size-xs}"
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
},
|
|
2810
|
+
"search-field-minimum-width-multiplier": {
|
|
2811
|
+
"component": "search-field",
|
|
2812
|
+
"value": "3"
|
|
2813
|
+
},
|
|
2814
|
+
"color-loupe-height": {
|
|
2815
|
+
"component": "color-loupe",
|
|
2816
|
+
"sets": {
|
|
2817
|
+
"spectrum": {
|
|
2818
|
+
"sets": {
|
|
2819
|
+
"desktop": {
|
|
2820
|
+
"value": "64px"
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
},
|
|
2824
|
+
"express": {
|
|
2825
|
+
"sets": {
|
|
2826
|
+
"desktop": {
|
|
2827
|
+
"value": "40px"
|
|
2828
|
+
}
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
"color-loupe-width": {
|
|
2834
|
+
"component": "color-loupe",
|
|
2835
|
+
"sets": {
|
|
2836
|
+
"spectrum": {
|
|
2837
|
+
"sets": {
|
|
2838
|
+
"desktop": {
|
|
2839
|
+
"value": "48px"
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2842
|
+
},
|
|
2843
|
+
"express": {
|
|
2844
|
+
"sets": {
|
|
2845
|
+
"desktop": {
|
|
2846
|
+
"value": "32px"
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
},
|
|
2852
|
+
"color-loupe-bottom-to-color-handle": {
|
|
2853
|
+
"component": "color-loupe",
|
|
2854
|
+
"sets": {
|
|
2855
|
+
"spectrum": {
|
|
2856
|
+
"sets": {
|
|
2857
|
+
"desktop": {
|
|
2858
|
+
"value": "12px"
|
|
2859
|
+
}
|
|
2860
|
+
}
|
|
2861
|
+
},
|
|
2862
|
+
"express": {
|
|
2863
|
+
"sets": {
|
|
2864
|
+
"desktop": {
|
|
2865
|
+
"value": "6px"
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2870
|
+
},
|
|
2871
|
+
"color-loupe-outer-border-width": {
|
|
2872
|
+
"component": "color-loupe",
|
|
2873
|
+
"value": "{border-width-200}"
|
|
2874
|
+
},
|
|
2875
|
+
"color-loupe-inner-border-width": {
|
|
2876
|
+
"component": "color-loupe",
|
|
2877
|
+
"sets": {
|
|
2878
|
+
"spectrum": {
|
|
2879
|
+
"sets": {
|
|
2880
|
+
"desktop": {
|
|
2881
|
+
"value": "{border-width-200}"
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2884
|
+
},
|
|
2885
|
+
"express": {
|
|
2886
|
+
"sets": {
|
|
2887
|
+
"desktop": {
|
|
2888
|
+
"value": "3px"
|
|
2889
|
+
}
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
},
|
|
2894
|
+
"card-minimum-width": {
|
|
2895
|
+
"component": "cards",
|
|
2896
|
+
"value": "100px"
|
|
2897
|
+
},
|
|
2898
|
+
"card-preview-minimum-height": {
|
|
2899
|
+
"component": "cards",
|
|
2900
|
+
"value": "130px"
|
|
2901
|
+
},
|
|
2902
|
+
"card-selection-background-size": {
|
|
2903
|
+
"component": "cards",
|
|
2904
|
+
"value": "40px"
|
|
2772
2905
|
}
|
|
2773
2906
|
}
|
package/src/layout.json
CHANGED
package/src/typography.json
CHANGED
|
@@ -11,7 +11,12 @@ governing permissions and limitations under the License.
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import StyleDictionary from "style-dictionary";
|
|
14
|
-
import {
|
|
14
|
+
import {
|
|
15
|
+
JsonSetsFormatter,
|
|
16
|
+
NameKebabTransfom,
|
|
17
|
+
DroverJsonFormatter,
|
|
18
|
+
AttributeSetsTransform,
|
|
19
|
+
} from "style-dictionary-sets";
|
|
15
20
|
|
|
16
21
|
StyleDictionary.registerTransform(AttributeSetsTransform);
|
|
17
22
|
StyleDictionary.registerTransform(NameKebabTransfom);
|
package/tasks/diff.js
CHANGED
|
@@ -84,7 +84,9 @@ function logResultCategory(diffResult, categoryKey, msg) {
|
|
|
84
84
|
Array.isArray(results[oldTokenName]) &&
|
|
85
85
|
results[oldTokenName].length > 1
|
|
86
86
|
) {
|
|
87
|
-
console.log(
|
|
87
|
+
console.log(
|
|
88
|
+
` - Old name: \`${oldTokenName}\`, new name options:`
|
|
89
|
+
);
|
|
88
90
|
results[oldTokenName].forEach((newTokenName) =>
|
|
89
91
|
console.log(` - \`${newTokenName}\``)
|
|
90
92
|
);
|