@alea-design/tokens 0.2.0 → 0.3.1
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/README.md +1 -1
- package/dist/alea.css-data.json +18 -14
- package/dist/figma.json +26 -20
- package/dist/index.d.ts +1 -1
- package/dist/index.js +20 -16
- package/dist/tokens.css +19 -18
- package/dist/tokens.json +20 -16
- package/package.json +3 -3
- package/src/base.json +4 -0
- package/src/look-primitives.json +242 -332
- package/src/semantic.json +15 -15
package/src/semantic.json
CHANGED
|
@@ -216,12 +216,12 @@
|
|
|
216
216
|
"$type": "color",
|
|
217
217
|
"default": {
|
|
218
218
|
"$value": "{color.purple.400}",
|
|
219
|
-
"$description": "accent
|
|
219
|
+
"$description": "The accent for fills, borders, glows and decoration. It is not a text color: on light surfaces it is under 4.5:1. Text and links use accent.strong",
|
|
220
220
|
"$extensions": {
|
|
221
221
|
"com.figma": {
|
|
222
222
|
"modes": {
|
|
223
223
|
"Dark": "{color.purple.400}",
|
|
224
|
-
"Light": "{color.purple.
|
|
224
|
+
"Light": "{color.purple.500}"
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
}
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"com.figma": {
|
|
300
300
|
"modes": {
|
|
301
301
|
"Dark": "{accent.default}",
|
|
302
|
-
"Light": "{
|
|
302
|
+
"Light": "{color.purple.400}"
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
}
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
"opacity": 54.9
|
|
448
448
|
},
|
|
449
449
|
"Light": {
|
|
450
|
-
"alias": "{color.purple.
|
|
450
|
+
"alias": "{color.purple.500}",
|
|
451
451
|
"opacity": 54.9
|
|
452
452
|
}
|
|
453
453
|
}
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
"opacity": 70.2
|
|
469
469
|
},
|
|
470
470
|
"Light": {
|
|
471
|
-
"alias": "{color.purple.
|
|
471
|
+
"alias": "{color.purple.500}",
|
|
472
472
|
"opacity": 70.2
|
|
473
473
|
}
|
|
474
474
|
}
|
|
@@ -521,12 +521,12 @@
|
|
|
521
521
|
}
|
|
522
522
|
},
|
|
523
523
|
"danger": {
|
|
524
|
-
"$value": "#
|
|
524
|
+
"$value": "#ff9595",
|
|
525
525
|
"$extensions": {
|
|
526
526
|
"com.figma": {
|
|
527
527
|
"modes": {
|
|
528
|
-
"Dark": "#
|
|
529
|
-
"Light": "
|
|
528
|
+
"Dark": "#ff9595",
|
|
529
|
+
"Light": "#a22020"
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
}
|
|
@@ -551,7 +551,7 @@
|
|
|
551
551
|
"com.figma": {
|
|
552
552
|
"modes": {
|
|
553
553
|
"Dark": "{color.amber.300}",
|
|
554
|
-
"Light": "
|
|
554
|
+
"Light": "#7a4e00"
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
}
|
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
"com.figma": {
|
|
580
580
|
"modes": {
|
|
581
581
|
"Dark": "{color.blue.300}",
|
|
582
|
-
"Light": "
|
|
582
|
+
"Light": "#1752b0"
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
}
|
|
@@ -663,11 +663,11 @@
|
|
|
663
663
|
},
|
|
664
664
|
"danger-solid": {
|
|
665
665
|
"$value": "{color.red.600}",
|
|
666
|
-
"$description": "Filled danger surfaces: destructive buttons, solid alerts, notification counts",
|
|
666
|
+
"$description": "Filled danger surfaces: destructive buttons, solid alerts, notification counts. Dark uses a lighter red with dark text, so status.on and status.danger-on-solid both pass 4.5:1 on it",
|
|
667
667
|
"$extensions": {
|
|
668
668
|
"com.figma": {
|
|
669
669
|
"modes": {
|
|
670
|
-
"Dark": "{color.red.
|
|
670
|
+
"Dark": "{color.red.500}",
|
|
671
671
|
"Light": "{color.red.600}"
|
|
672
672
|
}
|
|
673
673
|
}
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
"$extensions": {
|
|
680
680
|
"com.figma": {
|
|
681
681
|
"modes": {
|
|
682
|
-
"Dark": "{color.red.
|
|
682
|
+
"Dark": "{color.red.400}",
|
|
683
683
|
"Light": "{color.red.700}"
|
|
684
684
|
}
|
|
685
685
|
}
|
|
@@ -687,11 +687,11 @@
|
|
|
687
687
|
},
|
|
688
688
|
"danger-on-solid": {
|
|
689
689
|
"$value": "{color.white}",
|
|
690
|
-
"$description": "Text and icons on danger-solid",
|
|
690
|
+
"$description": "Text and icons on danger-solid: dark in Dark, white in Light",
|
|
691
691
|
"$extensions": {
|
|
692
692
|
"com.figma": {
|
|
693
693
|
"modes": {
|
|
694
|
-
"Dark": "{color.
|
|
694
|
+
"Dark": "{color.black}",
|
|
695
695
|
"Light": "{color.white}"
|
|
696
696
|
}
|
|
697
697
|
}
|