ionbase-ui 0.26.0 → 0.27.0
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/components/Avatar.d.ts +33 -0
- package/dist/components/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar.js +43 -4
- package/dist/components/Avatar.js.map +1 -1
- package/dist/components/AvatarGradient.d.ts +41 -0
- package/dist/components/AvatarGradient.d.ts.map +1 -0
- package/dist/components/AvatarGradient.js +32 -0
- package/dist/components/AvatarGradient.js.map +1 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/figma-descriptions.json +34 -29
- package/dist/figma-map.json +96 -3
- package/dist/meta/Avatar.json +137 -7
- package/dist/meta/AvatarGradient.json +239 -0
- package/dist/meta/AvatarGroup.json +26 -3
- package/dist/meta/components.json +403 -11
- package/dist/meta/contrast.json +542 -162
- package/dist/meta/index.json +41 -1
- package/dist/meta/patterns/index.json +1 -1
- package/dist/styles/avatar-gradient.css +226 -0
- package/dist/styles/avatar.css +185 -19
- package/dist/styles/index.css +1 -0
- package/llms.txt +2 -2
- package/package.json +1 -1
package/dist/meta/contrast.json
CHANGED
|
@@ -344,6 +344,104 @@
|
|
|
344
344
|
"ratio": 3.44,
|
|
345
345
|
"min": 4.5
|
|
346
346
|
},
|
|
347
|
+
{
|
|
348
|
+
"component": "avatar",
|
|
349
|
+
"context": "ion-avatar__indicator--information ion-avatar__indicator--information",
|
|
350
|
+
"state": "default",
|
|
351
|
+
"fg": "--text-on-color",
|
|
352
|
+
"bg": "--surface-information",
|
|
353
|
+
"backdrop": null,
|
|
354
|
+
"kind": "text",
|
|
355
|
+
"mode": "Dark",
|
|
356
|
+
"fgHex": "#000000",
|
|
357
|
+
"bgHex": "#5a4cd6",
|
|
358
|
+
"ratio": 3.44,
|
|
359
|
+
"min": 4.5
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"component": "avatar-gradient",
|
|
363
|
+
"context": "ion-avatar-gradient--pink",
|
|
364
|
+
"state": "default",
|
|
365
|
+
"fg": "--color-base-white",
|
|
366
|
+
"bg": "--color-pink-500",
|
|
367
|
+
"backdrop": "--color-pink-500",
|
|
368
|
+
"kind": "text",
|
|
369
|
+
"mode": "Light",
|
|
370
|
+
"fgHex": "#ffffff",
|
|
371
|
+
"bgHex": "#f04299",
|
|
372
|
+
"ratio": 3.53,
|
|
373
|
+
"min": 4.5
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"component": "avatar-gradient",
|
|
377
|
+
"context": "ion-avatar-gradient--pink",
|
|
378
|
+
"state": "default",
|
|
379
|
+
"fg": "--color-base-white",
|
|
380
|
+
"bg": "--color-pink-500",
|
|
381
|
+
"backdrop": "--color-pink-500",
|
|
382
|
+
"kind": "text",
|
|
383
|
+
"mode": "Dark",
|
|
384
|
+
"fgHex": "#ffffff",
|
|
385
|
+
"bgHex": "#f04299",
|
|
386
|
+
"ratio": 3.53,
|
|
387
|
+
"min": 4.5
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"component": "avatar-gradient",
|
|
391
|
+
"context": "ion-avatar-gradient--orange",
|
|
392
|
+
"state": "default",
|
|
393
|
+
"fg": "--color-base-white",
|
|
394
|
+
"bg": "--color-orange-500",
|
|
395
|
+
"backdrop": "--color-orange-500",
|
|
396
|
+
"kind": "text",
|
|
397
|
+
"mode": "Light",
|
|
398
|
+
"fgHex": "#ffffff",
|
|
399
|
+
"bgHex": "#ea5600",
|
|
400
|
+
"ratio": 3.6,
|
|
401
|
+
"min": 4.5
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"component": "avatar-gradient",
|
|
405
|
+
"context": "ion-avatar-gradient--orange",
|
|
406
|
+
"state": "default",
|
|
407
|
+
"fg": "--color-base-white",
|
|
408
|
+
"bg": "--color-orange-500",
|
|
409
|
+
"backdrop": "--color-orange-500",
|
|
410
|
+
"kind": "text",
|
|
411
|
+
"mode": "Dark",
|
|
412
|
+
"fgHex": "#ffffff",
|
|
413
|
+
"bgHex": "#ea5600",
|
|
414
|
+
"ratio": 3.6,
|
|
415
|
+
"min": 4.5
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"component": "avatar-gradient",
|
|
419
|
+
"context": "ion-avatar-gradient--green",
|
|
420
|
+
"state": "default",
|
|
421
|
+
"fg": "--color-base-white",
|
|
422
|
+
"bg": "--color-green-500",
|
|
423
|
+
"backdrop": "--color-green-500",
|
|
424
|
+
"kind": "text",
|
|
425
|
+
"mode": "Light",
|
|
426
|
+
"fgHex": "#ffffff",
|
|
427
|
+
"bgHex": "#14994e",
|
|
428
|
+
"ratio": 3.69,
|
|
429
|
+
"min": 4.5
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"component": "avatar-gradient",
|
|
433
|
+
"context": "ion-avatar-gradient--green",
|
|
434
|
+
"state": "default",
|
|
435
|
+
"fg": "--color-base-white",
|
|
436
|
+
"bg": "--color-green-500",
|
|
437
|
+
"backdrop": "--color-green-500",
|
|
438
|
+
"kind": "text",
|
|
439
|
+
"mode": "Dark",
|
|
440
|
+
"fgHex": "#ffffff",
|
|
441
|
+
"bgHex": "#14994e",
|
|
442
|
+
"ratio": 3.69,
|
|
443
|
+
"min": 4.5
|
|
444
|
+
},
|
|
347
445
|
{
|
|
348
446
|
"component": "alert",
|
|
349
447
|
"context": "ion-alert ion-alert__dismiss",
|
|
@@ -359,6 +457,34 @@
|
|
|
359
457
|
"ratio": 3.71,
|
|
360
458
|
"min": 3
|
|
361
459
|
},
|
|
460
|
+
{
|
|
461
|
+
"component": "avatar-gradient",
|
|
462
|
+
"context": "ion-avatar-gradient--red",
|
|
463
|
+
"state": "default",
|
|
464
|
+
"fg": "--color-base-white",
|
|
465
|
+
"bg": "--color-red-500",
|
|
466
|
+
"backdrop": "--color-red-500",
|
|
467
|
+
"kind": "text",
|
|
468
|
+
"mode": "Light",
|
|
469
|
+
"fgHex": "#ffffff",
|
|
470
|
+
"bgHex": "#ef4343",
|
|
471
|
+
"ratio": 3.78,
|
|
472
|
+
"min": 4.5
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"component": "avatar-gradient",
|
|
476
|
+
"context": "ion-avatar-gradient--red",
|
|
477
|
+
"state": "default",
|
|
478
|
+
"fg": "--color-base-white",
|
|
479
|
+
"bg": "--color-red-500",
|
|
480
|
+
"backdrop": "--color-red-500",
|
|
481
|
+
"kind": "text",
|
|
482
|
+
"mode": "Dark",
|
|
483
|
+
"fgHex": "#ffffff",
|
|
484
|
+
"bgHex": "#ef4343",
|
|
485
|
+
"ratio": 3.78,
|
|
486
|
+
"min": 4.5
|
|
487
|
+
},
|
|
362
488
|
{
|
|
363
489
|
"component": "toast",
|
|
364
490
|
"context": "ion-toast ion-toast__icon",
|
|
@@ -737,6 +863,20 @@
|
|
|
737
863
|
"ratio": 4.58,
|
|
738
864
|
"min": 4.5
|
|
739
865
|
},
|
|
866
|
+
{
|
|
867
|
+
"component": "avatar",
|
|
868
|
+
"context": "ion-avatar__indicator--primary ion-avatar__indicator--primary",
|
|
869
|
+
"state": "default",
|
|
870
|
+
"fg": "--text-on-color",
|
|
871
|
+
"bg": "--surface-primary",
|
|
872
|
+
"backdrop": null,
|
|
873
|
+
"kind": "text",
|
|
874
|
+
"mode": "Dark",
|
|
875
|
+
"fgHex": "#000000",
|
|
876
|
+
"bgHex": "#286ef0",
|
|
877
|
+
"ratio": 4.58,
|
|
878
|
+
"min": 4.5
|
|
879
|
+
},
|
|
740
880
|
{
|
|
741
881
|
"component": "button",
|
|
742
882
|
"context": "ion-button--primary-brand",
|
|
@@ -751,6 +891,34 @@
|
|
|
751
891
|
"ratio": 4.58,
|
|
752
892
|
"min": 4.5
|
|
753
893
|
},
|
|
894
|
+
{
|
|
895
|
+
"component": "avatar-gradient",
|
|
896
|
+
"context": "ion-avatar-gradient--blue",
|
|
897
|
+
"state": "default",
|
|
898
|
+
"fg": "--color-base-white",
|
|
899
|
+
"bg": "--color-blue-500",
|
|
900
|
+
"backdrop": "--color-blue-500",
|
|
901
|
+
"kind": "text",
|
|
902
|
+
"mode": "Light",
|
|
903
|
+
"fgHex": "#ffffff",
|
|
904
|
+
"bgHex": "#286ef0",
|
|
905
|
+
"ratio": 4.59,
|
|
906
|
+
"min": 4.5
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"component": "avatar-gradient",
|
|
910
|
+
"context": "ion-avatar-gradient--blue",
|
|
911
|
+
"state": "default",
|
|
912
|
+
"fg": "--color-base-white",
|
|
913
|
+
"bg": "--color-blue-500",
|
|
914
|
+
"backdrop": "--color-blue-500",
|
|
915
|
+
"kind": "text",
|
|
916
|
+
"mode": "Dark",
|
|
917
|
+
"fgHex": "#ffffff",
|
|
918
|
+
"bgHex": "#286ef0",
|
|
919
|
+
"ratio": 4.59,
|
|
920
|
+
"min": 4.5
|
|
921
|
+
},
|
|
754
922
|
{
|
|
755
923
|
"component": "button",
|
|
756
924
|
"context": "ion-button--primary-soft",
|
|
@@ -821,6 +989,20 @@
|
|
|
821
989
|
"ratio": 4.8,
|
|
822
990
|
"min": 4.5
|
|
823
991
|
},
|
|
992
|
+
{
|
|
993
|
+
"component": "avatar",
|
|
994
|
+
"context": "ion-avatar__indicator--error ion-avatar__indicator--error",
|
|
995
|
+
"state": "default",
|
|
996
|
+
"fg": "--text-on-color",
|
|
997
|
+
"bg": "--surface-error",
|
|
998
|
+
"backdrop": null,
|
|
999
|
+
"kind": "text",
|
|
1000
|
+
"mode": "Light",
|
|
1001
|
+
"fgHex": "#ffffff",
|
|
1002
|
+
"bgHex": "#dc2828",
|
|
1003
|
+
"ratio": 4.8,
|
|
1004
|
+
"min": 4.5
|
|
1005
|
+
},
|
|
824
1006
|
{
|
|
825
1007
|
"component": "button",
|
|
826
1008
|
"context": "ion-button--destructive",
|
|
@@ -835,6 +1017,146 @@
|
|
|
835
1017
|
"ratio": 4.8,
|
|
836
1018
|
"min": 4.5
|
|
837
1019
|
},
|
|
1020
|
+
{
|
|
1021
|
+
"component": "avatar-gradient",
|
|
1022
|
+
"context": "ion-avatar-gradient",
|
|
1023
|
+
"state": "default",
|
|
1024
|
+
"fg": "--color-base-white",
|
|
1025
|
+
"bg": "--color-gray-500",
|
|
1026
|
+
"backdrop": "--color-gray-500",
|
|
1027
|
+
"kind": "text",
|
|
1028
|
+
"mode": "Light",
|
|
1029
|
+
"fgHex": "#ffffff",
|
|
1030
|
+
"bgHex": "#6b7280",
|
|
1031
|
+
"ratio": 4.83,
|
|
1032
|
+
"min": 4.5
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"component": "avatar-gradient",
|
|
1036
|
+
"context": "ion-avatar-gradient",
|
|
1037
|
+
"state": "default",
|
|
1038
|
+
"fg": "--color-base-white",
|
|
1039
|
+
"bg": "--color-gray-500",
|
|
1040
|
+
"backdrop": "--color-gray-500",
|
|
1041
|
+
"kind": "text",
|
|
1042
|
+
"mode": "Dark",
|
|
1043
|
+
"fgHex": "#ffffff",
|
|
1044
|
+
"bgHex": "#6b7280",
|
|
1045
|
+
"ratio": 4.83,
|
|
1046
|
+
"min": 4.5
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"component": "avatar-gradient",
|
|
1050
|
+
"context": "ion-avatar-gradient--mini",
|
|
1051
|
+
"state": "default",
|
|
1052
|
+
"fg": "--color-base-white",
|
|
1053
|
+
"bg": "--color-gray-500",
|
|
1054
|
+
"backdrop": "--color-gray-500",
|
|
1055
|
+
"kind": "text",
|
|
1056
|
+
"mode": "Light",
|
|
1057
|
+
"fgHex": "#ffffff",
|
|
1058
|
+
"bgHex": "#6b7280",
|
|
1059
|
+
"ratio": 4.83,
|
|
1060
|
+
"min": 4.5
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"component": "avatar-gradient",
|
|
1064
|
+
"context": "ion-avatar-gradient--mini",
|
|
1065
|
+
"state": "default",
|
|
1066
|
+
"fg": "--color-base-white",
|
|
1067
|
+
"bg": "--color-gray-500",
|
|
1068
|
+
"backdrop": "--color-gray-500",
|
|
1069
|
+
"kind": "text",
|
|
1070
|
+
"mode": "Dark",
|
|
1071
|
+
"fgHex": "#ffffff",
|
|
1072
|
+
"bgHex": "#6b7280",
|
|
1073
|
+
"ratio": 4.83,
|
|
1074
|
+
"min": 4.5
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"component": "avatar-gradient",
|
|
1078
|
+
"context": "ion-avatar-gradient--sm",
|
|
1079
|
+
"state": "default",
|
|
1080
|
+
"fg": "--color-base-white",
|
|
1081
|
+
"bg": "--color-gray-500",
|
|
1082
|
+
"backdrop": "--color-gray-500",
|
|
1083
|
+
"kind": "text",
|
|
1084
|
+
"mode": "Light",
|
|
1085
|
+
"fgHex": "#ffffff",
|
|
1086
|
+
"bgHex": "#6b7280",
|
|
1087
|
+
"ratio": 4.83,
|
|
1088
|
+
"min": 4.5
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"component": "avatar-gradient",
|
|
1092
|
+
"context": "ion-avatar-gradient--sm",
|
|
1093
|
+
"state": "default",
|
|
1094
|
+
"fg": "--color-base-white",
|
|
1095
|
+
"bg": "--color-gray-500",
|
|
1096
|
+
"backdrop": "--color-gray-500",
|
|
1097
|
+
"kind": "text",
|
|
1098
|
+
"mode": "Dark",
|
|
1099
|
+
"fgHex": "#ffffff",
|
|
1100
|
+
"bgHex": "#6b7280",
|
|
1101
|
+
"ratio": 4.83,
|
|
1102
|
+
"min": 4.5
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"component": "avatar-gradient",
|
|
1106
|
+
"context": "ion-avatar-gradient--lg",
|
|
1107
|
+
"state": "default",
|
|
1108
|
+
"fg": "--color-base-white",
|
|
1109
|
+
"bg": "--color-gray-500",
|
|
1110
|
+
"backdrop": "--color-gray-500",
|
|
1111
|
+
"kind": "text",
|
|
1112
|
+
"mode": "Light",
|
|
1113
|
+
"fgHex": "#ffffff",
|
|
1114
|
+
"bgHex": "#6b7280",
|
|
1115
|
+
"ratio": 4.83,
|
|
1116
|
+
"min": 4.5
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"component": "avatar-gradient",
|
|
1120
|
+
"context": "ion-avatar-gradient--lg",
|
|
1121
|
+
"state": "default",
|
|
1122
|
+
"fg": "--color-base-white",
|
|
1123
|
+
"bg": "--color-gray-500",
|
|
1124
|
+
"backdrop": "--color-gray-500",
|
|
1125
|
+
"kind": "text",
|
|
1126
|
+
"mode": "Dark",
|
|
1127
|
+
"fgHex": "#ffffff",
|
|
1128
|
+
"bgHex": "#6b7280",
|
|
1129
|
+
"ratio": 4.83,
|
|
1130
|
+
"min": 4.5
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"component": "avatar-gradient",
|
|
1134
|
+
"context": "ion-avatar-gradient--slate",
|
|
1135
|
+
"state": "default",
|
|
1136
|
+
"fg": "--color-base-white",
|
|
1137
|
+
"bg": "--color-gray-500",
|
|
1138
|
+
"backdrop": "--color-gray-500",
|
|
1139
|
+
"kind": "text",
|
|
1140
|
+
"mode": "Light",
|
|
1141
|
+
"fgHex": "#ffffff",
|
|
1142
|
+
"bgHex": "#6b7280",
|
|
1143
|
+
"ratio": 4.83,
|
|
1144
|
+
"min": 4.5
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"component": "avatar-gradient",
|
|
1148
|
+
"context": "ion-avatar-gradient--slate",
|
|
1149
|
+
"state": "default",
|
|
1150
|
+
"fg": "--color-base-white",
|
|
1151
|
+
"bg": "--color-gray-500",
|
|
1152
|
+
"backdrop": "--color-gray-500",
|
|
1153
|
+
"kind": "text",
|
|
1154
|
+
"mode": "Dark",
|
|
1155
|
+
"fgHex": "#ffffff",
|
|
1156
|
+
"bgHex": "#6b7280",
|
|
1157
|
+
"ratio": 4.83,
|
|
1158
|
+
"min": 4.5
|
|
1159
|
+
},
|
|
838
1160
|
{
|
|
839
1161
|
"component": "menu",
|
|
840
1162
|
"context": "ion-menu ion-menu__item",
|
|
@@ -933,6 +1255,20 @@
|
|
|
933
1255
|
"ratio": 5.24,
|
|
934
1256
|
"min": 4.5
|
|
935
1257
|
},
|
|
1258
|
+
{
|
|
1259
|
+
"component": "avatar",
|
|
1260
|
+
"context": "ion-avatar__indicator--success ion-avatar__indicator--success",
|
|
1261
|
+
"state": "default",
|
|
1262
|
+
"fg": "--text-on-color",
|
|
1263
|
+
"bg": "--surface-success",
|
|
1264
|
+
"backdrop": null,
|
|
1265
|
+
"kind": "text",
|
|
1266
|
+
"mode": "Light",
|
|
1267
|
+
"fgHex": "#ffffff",
|
|
1268
|
+
"bgHex": "#0d7d38",
|
|
1269
|
+
"ratio": 5.24,
|
|
1270
|
+
"min": 4.5
|
|
1271
|
+
},
|
|
936
1272
|
{
|
|
937
1273
|
"component": "button",
|
|
938
1274
|
"context": "ion-button--success",
|
|
@@ -1073,6 +1409,20 @@
|
|
|
1073
1409
|
"ratio": 5.38,
|
|
1074
1410
|
"min": 4.5
|
|
1075
1411
|
},
|
|
1412
|
+
{
|
|
1413
|
+
"component": "avatar",
|
|
1414
|
+
"context": "ion-avatar__indicator--primary ion-avatar__indicator--primary",
|
|
1415
|
+
"state": "default",
|
|
1416
|
+
"fg": "--text-on-color",
|
|
1417
|
+
"bg": "--surface-primary",
|
|
1418
|
+
"backdrop": null,
|
|
1419
|
+
"kind": "text",
|
|
1420
|
+
"mode": "Light",
|
|
1421
|
+
"fgHex": "#ffffff",
|
|
1422
|
+
"bgHex": "#1c62e3",
|
|
1423
|
+
"ratio": 5.38,
|
|
1424
|
+
"min": 4.5
|
|
1425
|
+
},
|
|
1076
1426
|
{
|
|
1077
1427
|
"component": "button",
|
|
1078
1428
|
"context": "ion-button--primary-brand",
|
|
@@ -1157,6 +1507,20 @@
|
|
|
1157
1507
|
"ratio": 5.55,
|
|
1158
1508
|
"min": 4.5
|
|
1159
1509
|
},
|
|
1510
|
+
{
|
|
1511
|
+
"component": "avatar",
|
|
1512
|
+
"context": "ion-avatar__indicator--error ion-avatar__indicator--error",
|
|
1513
|
+
"state": "default",
|
|
1514
|
+
"fg": "--text-on-color",
|
|
1515
|
+
"bg": "--surface-error",
|
|
1516
|
+
"backdrop": null,
|
|
1517
|
+
"kind": "text",
|
|
1518
|
+
"mode": "Dark",
|
|
1519
|
+
"fgHex": "#000000",
|
|
1520
|
+
"bgHex": "#ef4343",
|
|
1521
|
+
"ratio": 5.55,
|
|
1522
|
+
"min": 4.5
|
|
1523
|
+
},
|
|
1160
1524
|
{
|
|
1161
1525
|
"component": "button",
|
|
1162
1526
|
"context": "ion-button--destructive",
|
|
@@ -1213,6 +1577,20 @@
|
|
|
1213
1577
|
"ratio": 5.7,
|
|
1214
1578
|
"min": 4.5
|
|
1215
1579
|
},
|
|
1580
|
+
{
|
|
1581
|
+
"component": "avatar",
|
|
1582
|
+
"context": "ion-avatar__indicator--success ion-avatar__indicator--success",
|
|
1583
|
+
"state": "default",
|
|
1584
|
+
"fg": "--text-on-color",
|
|
1585
|
+
"bg": "--surface-success",
|
|
1586
|
+
"backdrop": null,
|
|
1587
|
+
"kind": "text",
|
|
1588
|
+
"mode": "Dark",
|
|
1589
|
+
"fgHex": "#000000",
|
|
1590
|
+
"bgHex": "#14994e",
|
|
1591
|
+
"ratio": 5.7,
|
|
1592
|
+
"min": 4.5
|
|
1593
|
+
},
|
|
1216
1594
|
{
|
|
1217
1595
|
"component": "button",
|
|
1218
1596
|
"context": "ion-button--success",
|
|
@@ -1271,67 +1649,25 @@
|
|
|
1271
1649
|
},
|
|
1272
1650
|
{
|
|
1273
1651
|
"component": "avatar",
|
|
1274
|
-
"context": "ion-
|
|
1275
|
-
"state": "default",
|
|
1276
|
-
"fg": "--text-tertiary",
|
|
1277
|
-
"bg": "--surface-muted",
|
|
1278
|
-
"backdrop": "--surface-muted",
|
|
1279
|
-
"kind": "text",
|
|
1280
|
-
"mode": "Dark",
|
|
1281
|
-
"fgHex": "#9ca3b0",
|
|
1282
|
-
"bgHex": "#1d2735",
|
|
1283
|
-
"ratio": 5.94,
|
|
1284
|
-
"min": 4.5
|
|
1285
|
-
},
|
|
1286
|
-
{
|
|
1287
|
-
"component": "avatar",
|
|
1288
|
-
"context": "ion-avatar--mini",
|
|
1289
|
-
"state": "default",
|
|
1290
|
-
"fg": "--text-tertiary",
|
|
1291
|
-
"bg": "--surface-muted",
|
|
1292
|
-
"backdrop": "--surface-muted",
|
|
1293
|
-
"kind": "text",
|
|
1294
|
-
"mode": "Dark",
|
|
1295
|
-
"fgHex": "#9ca3b0",
|
|
1296
|
-
"bgHex": "#1d2735",
|
|
1297
|
-
"ratio": 5.94,
|
|
1298
|
-
"min": 4.5
|
|
1299
|
-
},
|
|
1300
|
-
{
|
|
1301
|
-
"component": "avatar",
|
|
1302
|
-
"context": "ion-avatar--sm",
|
|
1303
|
-
"state": "default",
|
|
1304
|
-
"fg": "--text-tertiary",
|
|
1305
|
-
"bg": "--surface-muted",
|
|
1306
|
-
"backdrop": "--surface-muted",
|
|
1307
|
-
"kind": "text",
|
|
1308
|
-
"mode": "Dark",
|
|
1309
|
-
"fgHex": "#9ca3b0",
|
|
1310
|
-
"bgHex": "#1d2735",
|
|
1311
|
-
"ratio": 5.94,
|
|
1312
|
-
"min": 4.5
|
|
1313
|
-
},
|
|
1314
|
-
{
|
|
1315
|
-
"component": "avatar",
|
|
1316
|
-
"context": "ion-avatar--lg",
|
|
1652
|
+
"context": "ion-avatar__indicator--warning ion-avatar__indicator--warning",
|
|
1317
1653
|
"state": "default",
|
|
1318
|
-
"fg": "--text-
|
|
1319
|
-
"bg": "--surface-
|
|
1320
|
-
"backdrop":
|
|
1654
|
+
"fg": "--text-on-color",
|
|
1655
|
+
"bg": "--surface-warning",
|
|
1656
|
+
"backdrop": null,
|
|
1321
1657
|
"kind": "text",
|
|
1322
1658
|
"mode": "Dark",
|
|
1323
|
-
"fgHex": "#
|
|
1324
|
-
"bgHex": "#
|
|
1325
|
-
"ratio": 5.
|
|
1659
|
+
"fgHex": "#000000",
|
|
1660
|
+
"bgHex": "#ea5600",
|
|
1661
|
+
"ratio": 5.83,
|
|
1326
1662
|
"min": 4.5
|
|
1327
1663
|
},
|
|
1328
1664
|
{
|
|
1329
1665
|
"component": "avatar",
|
|
1330
|
-
"context": "ion-avatar
|
|
1666
|
+
"context": "ion-avatar ion-avatar__media",
|
|
1331
1667
|
"state": "default",
|
|
1332
1668
|
"fg": "--text-tertiary",
|
|
1333
1669
|
"bg": "--surface-muted",
|
|
1334
|
-
"backdrop":
|
|
1670
|
+
"backdrop": null,
|
|
1335
1671
|
"kind": "text",
|
|
1336
1672
|
"mode": "Dark",
|
|
1337
1673
|
"fgHex": "#9ca3b0",
|
|
@@ -1340,40 +1676,26 @@
|
|
|
1340
1676
|
"min": 4.5
|
|
1341
1677
|
},
|
|
1342
1678
|
{
|
|
1343
|
-
"component": "
|
|
1344
|
-
"context": "ion-
|
|
1679
|
+
"component": "alert",
|
|
1680
|
+
"context": "ion-alert--solid&ion-alert--warning",
|
|
1345
1681
|
"state": "default",
|
|
1346
|
-
"fg": "--text-
|
|
1347
|
-
"bg": "--surface-
|
|
1348
|
-
"backdrop": "--surface-
|
|
1682
|
+
"fg": "--text-on-color",
|
|
1683
|
+
"bg": "--surface-warning",
|
|
1684
|
+
"backdrop": "--surface-warning",
|
|
1349
1685
|
"kind": "text",
|
|
1350
|
-
"mode": "
|
|
1351
|
-
"fgHex": "#
|
|
1352
|
-
"bgHex": "#
|
|
1353
|
-
"ratio": 5.
|
|
1686
|
+
"mode": "Light",
|
|
1687
|
+
"fgHex": "#ffffff",
|
|
1688
|
+
"bgHex": "#af3e0e",
|
|
1689
|
+
"ratio": 5.97,
|
|
1354
1690
|
"min": 4.5
|
|
1355
1691
|
},
|
|
1356
1692
|
{
|
|
1357
1693
|
"component": "avatar",
|
|
1358
|
-
"context": "ion-
|
|
1359
|
-
"state": "default",
|
|
1360
|
-
"fg": "--icon-tertiary",
|
|
1361
|
-
"bg": "--surface-muted",
|
|
1362
|
-
"backdrop": "--surface-muted",
|
|
1363
|
-
"kind": "non-text",
|
|
1364
|
-
"mode": "Dark",
|
|
1365
|
-
"fgHex": "#9ca3b0",
|
|
1366
|
-
"bgHex": "#1d2735",
|
|
1367
|
-
"ratio": 5.94,
|
|
1368
|
-
"min": 3
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
"component": "alert",
|
|
1372
|
-
"context": "ion-alert--solid&ion-alert--warning",
|
|
1694
|
+
"context": "ion-avatar__indicator--warning ion-avatar__indicator--warning",
|
|
1373
1695
|
"state": "default",
|
|
1374
1696
|
"fg": "--text-on-color",
|
|
1375
1697
|
"bg": "--surface-warning",
|
|
1376
|
-
"backdrop":
|
|
1698
|
+
"backdrop": null,
|
|
1377
1699
|
"kind": "text",
|
|
1378
1700
|
"mode": "Light",
|
|
1379
1701
|
"fgHex": "#ffffff",
|
|
@@ -1424,6 +1746,34 @@
|
|
|
1424
1746
|
"ratio": 6.06,
|
|
1425
1747
|
"min": 3
|
|
1426
1748
|
},
|
|
1749
|
+
{
|
|
1750
|
+
"component": "avatar-gradient",
|
|
1751
|
+
"context": "ion-avatar-gradient--violet",
|
|
1752
|
+
"state": "default",
|
|
1753
|
+
"fg": "--color-base-white",
|
|
1754
|
+
"bg": "--color-purple-500",
|
|
1755
|
+
"backdrop": "--color-purple-500",
|
|
1756
|
+
"kind": "text",
|
|
1757
|
+
"mode": "Light",
|
|
1758
|
+
"fgHex": "#ffffff",
|
|
1759
|
+
"bgHex": "#5a4cd6",
|
|
1760
|
+
"ratio": 6.11,
|
|
1761
|
+
"min": 4.5
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"component": "avatar-gradient",
|
|
1765
|
+
"context": "ion-avatar-gradient--violet",
|
|
1766
|
+
"state": "default",
|
|
1767
|
+
"fg": "--color-base-white",
|
|
1768
|
+
"bg": "--color-purple-500",
|
|
1769
|
+
"backdrop": "--color-purple-500",
|
|
1770
|
+
"kind": "text",
|
|
1771
|
+
"mode": "Dark",
|
|
1772
|
+
"fgHex": "#ffffff",
|
|
1773
|
+
"bgHex": "#5a4cd6",
|
|
1774
|
+
"ratio": 6.11,
|
|
1775
|
+
"min": 4.5
|
|
1776
|
+
},
|
|
1427
1777
|
{
|
|
1428
1778
|
"component": "button",
|
|
1429
1779
|
"context": "ion-button--destructive",
|
|
@@ -1510,81 +1860,11 @@
|
|
|
1510
1860
|
},
|
|
1511
1861
|
{
|
|
1512
1862
|
"component": "avatar",
|
|
1513
|
-
"context": "ion-avatar",
|
|
1514
|
-
"state": "default",
|
|
1515
|
-
"fg": "--text-tertiary",
|
|
1516
|
-
"bg": "--surface-muted",
|
|
1517
|
-
"backdrop": "--surface-muted",
|
|
1518
|
-
"kind": "text",
|
|
1519
|
-
"mode": "Light",
|
|
1520
|
-
"fgHex": "#4b5563",
|
|
1521
|
-
"bgHex": "#f0f2f4",
|
|
1522
|
-
"ratio": 6.73,
|
|
1523
|
-
"min": 4.5
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
"component": "avatar",
|
|
1527
|
-
"context": "ion-avatar--mini",
|
|
1528
|
-
"state": "default",
|
|
1529
|
-
"fg": "--text-tertiary",
|
|
1530
|
-
"bg": "--surface-muted",
|
|
1531
|
-
"backdrop": "--surface-muted",
|
|
1532
|
-
"kind": "text",
|
|
1533
|
-
"mode": "Light",
|
|
1534
|
-
"fgHex": "#4b5563",
|
|
1535
|
-
"bgHex": "#f0f2f4",
|
|
1536
|
-
"ratio": 6.73,
|
|
1537
|
-
"min": 4.5
|
|
1538
|
-
},
|
|
1539
|
-
{
|
|
1540
|
-
"component": "avatar",
|
|
1541
|
-
"context": "ion-avatar--sm",
|
|
1542
|
-
"state": "default",
|
|
1543
|
-
"fg": "--text-tertiary",
|
|
1544
|
-
"bg": "--surface-muted",
|
|
1545
|
-
"backdrop": "--surface-muted",
|
|
1546
|
-
"kind": "text",
|
|
1547
|
-
"mode": "Light",
|
|
1548
|
-
"fgHex": "#4b5563",
|
|
1549
|
-
"bgHex": "#f0f2f4",
|
|
1550
|
-
"ratio": 6.73,
|
|
1551
|
-
"min": 4.5
|
|
1552
|
-
},
|
|
1553
|
-
{
|
|
1554
|
-
"component": "avatar",
|
|
1555
|
-
"context": "ion-avatar--lg",
|
|
1556
|
-
"state": "default",
|
|
1557
|
-
"fg": "--text-tertiary",
|
|
1558
|
-
"bg": "--surface-muted",
|
|
1559
|
-
"backdrop": "--surface-muted",
|
|
1560
|
-
"kind": "text",
|
|
1561
|
-
"mode": "Light",
|
|
1562
|
-
"fgHex": "#4b5563",
|
|
1563
|
-
"bgHex": "#f0f2f4",
|
|
1564
|
-
"ratio": 6.73,
|
|
1565
|
-
"min": 4.5
|
|
1566
|
-
},
|
|
1567
|
-
{
|
|
1568
|
-
"component": "avatar",
|
|
1569
|
-
"context": "ion-avatar--circle",
|
|
1570
|
-
"state": "default",
|
|
1571
|
-
"fg": "--text-tertiary",
|
|
1572
|
-
"bg": "--surface-muted",
|
|
1573
|
-
"backdrop": "--surface-muted",
|
|
1574
|
-
"kind": "text",
|
|
1575
|
-
"mode": "Light",
|
|
1576
|
-
"fgHex": "#4b5563",
|
|
1577
|
-
"bgHex": "#f0f2f4",
|
|
1578
|
-
"ratio": 6.73,
|
|
1579
|
-
"min": 4.5
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
"component": "avatar",
|
|
1583
|
-
"context": "ion-avatar ion-avatar__image",
|
|
1863
|
+
"context": "ion-avatar ion-avatar__media",
|
|
1584
1864
|
"state": "default",
|
|
1585
1865
|
"fg": "--text-tertiary",
|
|
1586
1866
|
"bg": "--surface-muted",
|
|
1587
|
-
"backdrop":
|
|
1867
|
+
"backdrop": null,
|
|
1588
1868
|
"kind": "text",
|
|
1589
1869
|
"mode": "Light",
|
|
1590
1870
|
"fgHex": "#4b5563",
|
|
@@ -1592,20 +1872,6 @@
|
|
|
1592
1872
|
"ratio": 6.73,
|
|
1593
1873
|
"min": 4.5
|
|
1594
1874
|
},
|
|
1595
|
-
{
|
|
1596
|
-
"component": "avatar",
|
|
1597
|
-
"context": "ion-avatar ion-avatar__icon",
|
|
1598
|
-
"state": "default",
|
|
1599
|
-
"fg": "--icon-tertiary",
|
|
1600
|
-
"bg": "--surface-muted",
|
|
1601
|
-
"backdrop": "--surface-muted",
|
|
1602
|
-
"kind": "non-text",
|
|
1603
|
-
"mode": "Light",
|
|
1604
|
-
"fgHex": "#4b5563",
|
|
1605
|
-
"bgHex": "#f0f2f4",
|
|
1606
|
-
"ratio": 6.73,
|
|
1607
|
-
"min": 3
|
|
1608
|
-
},
|
|
1609
1875
|
{
|
|
1610
1876
|
"component": "input",
|
|
1611
1877
|
"context": "ion-input ion-input__field",
|
|
@@ -1718,6 +1984,20 @@
|
|
|
1718
1984
|
"ratio": 7.47,
|
|
1719
1985
|
"min": 4.5
|
|
1720
1986
|
},
|
|
1987
|
+
{
|
|
1988
|
+
"component": "avatar",
|
|
1989
|
+
"context": "ion-avatar__indicator--information ion-avatar__indicator--information",
|
|
1990
|
+
"state": "default",
|
|
1991
|
+
"fg": "--text-on-color",
|
|
1992
|
+
"bg": "--surface-information",
|
|
1993
|
+
"backdrop": null,
|
|
1994
|
+
"kind": "text",
|
|
1995
|
+
"mode": "Light",
|
|
1996
|
+
"fgHex": "#ffffff",
|
|
1997
|
+
"bgHex": "#4f3cc8",
|
|
1998
|
+
"ratio": 7.47,
|
|
1999
|
+
"min": 4.5
|
|
2000
|
+
},
|
|
1721
2001
|
{
|
|
1722
2002
|
"component": "toast",
|
|
1723
2003
|
"context": "ion-toast ion-toast__icon",
|
|
@@ -3523,6 +3803,20 @@
|
|
|
3523
3803
|
"ratio": 15.07,
|
|
3524
3804
|
"min": 4.5
|
|
3525
3805
|
},
|
|
3806
|
+
{
|
|
3807
|
+
"component": "avatar",
|
|
3808
|
+
"context": "ion-avatar__indicator--neutral ion-avatar__indicator--neutral",
|
|
3809
|
+
"state": "default",
|
|
3810
|
+
"fg": "--text-on-color",
|
|
3811
|
+
"bg": "--surface-inverse",
|
|
3812
|
+
"backdrop": null,
|
|
3813
|
+
"kind": "text",
|
|
3814
|
+
"mode": "Light",
|
|
3815
|
+
"fgHex": "#ffffff",
|
|
3816
|
+
"bgHex": "#1d2735",
|
|
3817
|
+
"ratio": 15.07,
|
|
3818
|
+
"min": 4.5
|
|
3819
|
+
},
|
|
3526
3820
|
{
|
|
3527
3821
|
"component": "button",
|
|
3528
3822
|
"context": "ion-button--primary-neutral",
|
|
@@ -3635,6 +3929,34 @@
|
|
|
3635
3929
|
"ratio": 15.71,
|
|
3636
3930
|
"min": 4.5
|
|
3637
3931
|
},
|
|
3932
|
+
{
|
|
3933
|
+
"component": "avatar-gradient",
|
|
3934
|
+
"context": "ion-avatar-gradient--light",
|
|
3935
|
+
"state": "default",
|
|
3936
|
+
"fg": "--color-gray-900",
|
|
3937
|
+
"bg": "--color-gray-100",
|
|
3938
|
+
"backdrop": "--color-gray-100",
|
|
3939
|
+
"kind": "text",
|
|
3940
|
+
"mode": "Light",
|
|
3941
|
+
"fgHex": "#131923",
|
|
3942
|
+
"bgHex": "#f0f2f4",
|
|
3943
|
+
"ratio": 15.71,
|
|
3944
|
+
"min": 4.5
|
|
3945
|
+
},
|
|
3946
|
+
{
|
|
3947
|
+
"component": "avatar-gradient",
|
|
3948
|
+
"context": "ion-avatar-gradient--light",
|
|
3949
|
+
"state": "default",
|
|
3950
|
+
"fg": "--color-gray-900",
|
|
3951
|
+
"bg": "--color-gray-100",
|
|
3952
|
+
"backdrop": "--color-gray-100",
|
|
3953
|
+
"kind": "text",
|
|
3954
|
+
"mode": "Dark",
|
|
3955
|
+
"fgHex": "#131923",
|
|
3956
|
+
"bgHex": "#f0f2f4",
|
|
3957
|
+
"ratio": 15.71,
|
|
3958
|
+
"min": 4.5
|
|
3959
|
+
},
|
|
3638
3960
|
{
|
|
3639
3961
|
"component": "approval-gate",
|
|
3640
3962
|
"context": "ion-approval-gate",
|
|
@@ -4504,6 +4826,20 @@
|
|
|
4504
4826
|
"ratio": 21,
|
|
4505
4827
|
"min": 4.5
|
|
4506
4828
|
},
|
|
4829
|
+
{
|
|
4830
|
+
"component": "avatar",
|
|
4831
|
+
"context": "ion-avatar__indicator--neutral ion-avatar__indicator--neutral",
|
|
4832
|
+
"state": "default",
|
|
4833
|
+
"fg": "--text-on-color",
|
|
4834
|
+
"bg": "--surface-inverse",
|
|
4835
|
+
"backdrop": null,
|
|
4836
|
+
"kind": "text",
|
|
4837
|
+
"mode": "Dark",
|
|
4838
|
+
"fgHex": "#000000",
|
|
4839
|
+
"bgHex": "#ffffff",
|
|
4840
|
+
"ratio": 21,
|
|
4841
|
+
"min": 4.5
|
|
4842
|
+
},
|
|
4507
4843
|
{
|
|
4508
4844
|
"component": "button",
|
|
4509
4845
|
"context": "ion-button--primary-neutral",
|
|
@@ -4590,6 +4926,50 @@
|
|
|
4590
4926
|
"affects": [
|
|
4591
4927
|
"StreamingText"
|
|
4592
4928
|
]
|
|
4929
|
+
},
|
|
4930
|
+
{
|
|
4931
|
+
"fg": "--color-base-white",
|
|
4932
|
+
"bg": "--color-pink-500",
|
|
4933
|
+
"mode": "Light",
|
|
4934
|
+
"kind": "defect",
|
|
4935
|
+
"ratio": 3.53,
|
|
4936
|
+
"reason": "Figma-side defect, not a code one. The disc is a vertical gradient from `--color-{hue}-500` down to `--color-{hue}-600`, and the 500 end is too light to carry white initials: measured at the top stop, which is where the text is hardest to read, and it does not clear 4.5:1 at the midpoint either. The four that fail are the four warm/mid-luminance hues; slate, blue, violet and light all pass.\n\nNOT EXEMPT. The initials are `aria-hidden` and the accessible name comes from `alt`, so nothing is lost to a screen reader — but SC 1.4.3 is about visible text, and these are visible text a sighted user is expected to read. Treating an aria-hidden glyph as decorative here would be the wrong reading of the criterion.\n\nThe fix belongs in the Figma component (1054:305): darken both endpoints by a step, or give these four a dark foreground the way `Light` already has one. It is deliberately not fixed in code — this repo does not own these values, and a local override would put the repo and Figma into silent disagreement, which is the failure mode the whole token pipeline exists to prevent.",
|
|
4937
|
+
"affects": [
|
|
4938
|
+
"AvatarGradient"
|
|
4939
|
+
]
|
|
4940
|
+
},
|
|
4941
|
+
{
|
|
4942
|
+
"fg": "--color-base-white",
|
|
4943
|
+
"bg": "--color-orange-500",
|
|
4944
|
+
"mode": "Light",
|
|
4945
|
+
"kind": "defect",
|
|
4946
|
+
"ratio": 3.6,
|
|
4947
|
+
"reason": "Figma-side defect, not a code one. The disc is a vertical gradient from `--color-{hue}-500` down to `--color-{hue}-600`, and the 500 end is too light to carry white initials: measured at the top stop, which is where the text is hardest to read, and it does not clear 4.5:1 at the midpoint either. The four that fail are the four warm/mid-luminance hues; slate, blue, violet and light all pass.\n\nNOT EXEMPT. The initials are `aria-hidden` and the accessible name comes from `alt`, so nothing is lost to a screen reader — but SC 1.4.3 is about visible text, and these are visible text a sighted user is expected to read. Treating an aria-hidden glyph as decorative here would be the wrong reading of the criterion.\n\nThe fix belongs in the Figma component (1054:305): darken both endpoints by a step, or give these four a dark foreground the way `Light` already has one. It is deliberately not fixed in code — this repo does not own these values, and a local override would put the repo and Figma into silent disagreement, which is the failure mode the whole token pipeline exists to prevent.",
|
|
4948
|
+
"affects": [
|
|
4949
|
+
"AvatarGradient"
|
|
4950
|
+
]
|
|
4951
|
+
},
|
|
4952
|
+
{
|
|
4953
|
+
"fg": "--color-base-white",
|
|
4954
|
+
"bg": "--color-green-500",
|
|
4955
|
+
"mode": "Light",
|
|
4956
|
+
"kind": "defect",
|
|
4957
|
+
"ratio": 3.69,
|
|
4958
|
+
"reason": "Figma-side defect, not a code one. The disc is a vertical gradient from `--color-{hue}-500` down to `--color-{hue}-600`, and the 500 end is too light to carry white initials: measured at the top stop, which is where the text is hardest to read, and it does not clear 4.5:1 at the midpoint either. The four that fail are the four warm/mid-luminance hues; slate, blue, violet and light all pass.\n\nNOT EXEMPT. The initials are `aria-hidden` and the accessible name comes from `alt`, so nothing is lost to a screen reader — but SC 1.4.3 is about visible text, and these are visible text a sighted user is expected to read. Treating an aria-hidden glyph as decorative here would be the wrong reading of the criterion.\n\nThe fix belongs in the Figma component (1054:305): darken both endpoints by a step, or give these four a dark foreground the way `Light` already has one. It is deliberately not fixed in code — this repo does not own these values, and a local override would put the repo and Figma into silent disagreement, which is the failure mode the whole token pipeline exists to prevent.",
|
|
4959
|
+
"affects": [
|
|
4960
|
+
"AvatarGradient"
|
|
4961
|
+
]
|
|
4962
|
+
},
|
|
4963
|
+
{
|
|
4964
|
+
"fg": "--color-base-white",
|
|
4965
|
+
"bg": "--color-red-500",
|
|
4966
|
+
"mode": "Light",
|
|
4967
|
+
"kind": "defect",
|
|
4968
|
+
"ratio": 3.78,
|
|
4969
|
+
"reason": "Figma-side defect, not a code one. The disc is a vertical gradient from `--color-{hue}-500` down to `--color-{hue}-600`, and the 500 end is too light to carry white initials: measured at the top stop, which is where the text is hardest to read, and it does not clear 4.5:1 at the midpoint either. The four that fail are the four warm/mid-luminance hues; slate, blue, violet and light all pass.\n\nNOT EXEMPT. The initials are `aria-hidden` and the accessible name comes from `alt`, so nothing is lost to a screen reader — but SC 1.4.3 is about visible text, and these are visible text a sighted user is expected to read. Treating an aria-hidden glyph as decorative here would be the wrong reading of the criterion.\n\nThe fix belongs in the Figma component (1054:305): darken both endpoints by a step, or give these four a dark foreground the way `Light` already has one. It is deliberately not fixed in code — this repo does not own these values, and a local override would put the repo and Figma into silent disagreement, which is the failure mode the whole token pipeline exists to prevent.",
|
|
4970
|
+
"affects": [
|
|
4971
|
+
"AvatarGradient"
|
|
4972
|
+
]
|
|
4593
4973
|
}
|
|
4594
4974
|
],
|
|
4595
4975
|
"deferred": [
|