@common-origin/design-system 2.17.0 → 2.19.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.
@@ -64,6 +64,42 @@
64
64
  "95": "0.95",
65
65
  "100": "1"
66
66
  },
67
+ "dimension": {
68
+ "0": "0",
69
+ "1": "0.25rem",
70
+ "2": "0.5rem",
71
+ "3": "0.75rem",
72
+ "4": "1rem",
73
+ "5": "1.25rem",
74
+ "6": "1.5rem",
75
+ "7": "1.75rem",
76
+ "8": "2rem",
77
+ "9": "2.25rem",
78
+ "10": "2.5rem",
79
+ "11": "2.75rem",
80
+ "12": "3rem",
81
+ "14": "3.5rem",
82
+ "15": "3.75rem",
83
+ "16": "4rem",
84
+ "18": "4.5rem",
85
+ "20": "5rem",
86
+ "24": "6rem",
87
+ "28": "7rem",
88
+ "30": "7.5rem",
89
+ "32": "8rem",
90
+ "40": "10rem",
91
+ "45": "11.25rem",
92
+ "48": "12rem",
93
+ "50": "12.5rem",
94
+ "56": "14rem",
95
+ "64": "16rem",
96
+ "75": "18.75rem",
97
+ "90": "22.5rem",
98
+ "100": "25rem",
99
+ "140": "35rem",
100
+ "180": "45rem",
101
+ "192": "48rem"
102
+ },
67
103
  "size": {
68
104
  "0": "0",
69
105
  "1": "0.25rem",
@@ -108,6 +144,34 @@
108
144
  },
109
145
  "color": {
110
146
  "transparent": "transparent",
147
+ "gray": {
148
+ "100": "#fcfcfc",
149
+ "200": "#f9f9f9",
150
+ "300": "#f2f2f2",
151
+ "400": "#ebebeb",
152
+ "500": "#e4e4e4",
153
+ "600": "#dcdcdc",
154
+ "700": "#d1d1d1",
155
+ "800": "#909090",
156
+ "900": "#848484",
157
+ "1000": "#797979",
158
+ "1100": "#636363",
159
+ "1200": "#222222"
160
+ },
161
+ "gray-alpha": {
162
+ "100": "rgba(34, 34, 34, 0.014)",
163
+ "200": "rgba(34, 34, 34, 0.027)",
164
+ "300": "rgba(34, 34, 34, 0.059)",
165
+ "400": "rgba(34, 34, 34, 0.09)",
166
+ "500": "rgba(34, 34, 34, 0.122)",
167
+ "600": "rgba(34, 34, 34, 0.158)",
168
+ "700": "rgba(34, 34, 34, 0.208)",
169
+ "800": "rgba(34, 34, 34, 0.502)",
170
+ "900": "rgba(34, 34, 34, 0.557)",
171
+ "1000": "rgba(34, 34, 34, 0.606)",
172
+ "1100": "rgba(34, 34, 34, 0.706)",
173
+ "1200": "rgba(34, 34, 34, 1)"
174
+ },
111
175
  "neutral": {
112
176
  "100": "#f8f9fa",
113
177
  "200": "#e9ecef",
@@ -812,7 +876,8 @@
812
876
  "default": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
813
877
  "hover": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
814
878
  "active": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"
815
- }
879
+ },
880
+ "background": "#ffffff"
816
881
  }
817
882
  },
818
883
  "accountCard": {
@@ -824,7 +889,8 @@
824
889
  "breadcrumbs": {
825
890
  "item": {
826
891
  "maxWidth": "11.25rem"
827
- }
892
+ },
893
+ "font": "400 0.75rem/1.125rem 'Inter', sans-serif"
828
894
  },
829
895
  "cardLarge": {
830
896
  "maxWidth": "48rem"
@@ -859,6 +925,46 @@
859
925
  },
860
926
  "transactionListItem": {
861
927
  "minHeight": "4.5rem"
928
+ },
929
+ "status": {
930
+ "pending": {
931
+ "text": "#825800",
932
+ "background": "#FFF3D6"
933
+ },
934
+ "completed": {
935
+ "text": "#007A4D",
936
+ "background": "#CEF8E0"
937
+ },
938
+ "failed": {
939
+ "text": "#D31510",
940
+ "background": "#FFEBE7"
941
+ },
942
+ "cancelled": {
943
+ "text": "#495057",
944
+ "background": "#e9ecef"
945
+ },
946
+ "processing": {
947
+ "text": "#0265DC",
948
+ "background": "#E0F2FF"
949
+ },
950
+ "scheduled": {
951
+ "text": "#7E2EBD",
952
+ "background": "#F9F0FF"
953
+ }
954
+ },
955
+ "transaction": {
956
+ "credit": "#15A46E",
957
+ "credit-hover": "#008F5D",
958
+ "debit": "#D31510",
959
+ "debit-hover": "#B40000",
960
+ "pending": "#F68511",
961
+ "neutral": "#6c757d"
962
+ },
963
+ "track": {
964
+ "background": "#dee2e6"
965
+ },
966
+ "tooltip": {
967
+ "border": "0.125rem dotted #dee2e6"
862
968
  }
863
969
  },
864
970
  "semantic": {
@@ -880,7 +986,9 @@
880
986
  },
881
987
  "opacity": {
882
988
  "disabled": "0.5",
883
- "full": "1"
989
+ "full": "1",
990
+ "hover": "0.8",
991
+ "pressed": "0.7"
884
992
  },
885
993
  "fontFamily": {
886
994
  "body": "'Inter', sans-serif",
@@ -937,10 +1045,35 @@
937
1045
  "2xl": "1.5rem",
938
1046
  "3xl": "2rem",
939
1047
  "circle": "10rem"
940
- }
1048
+ },
1049
+ "emphasis": "0.0625rem solid #dee2e6",
1050
+ "input-hover": "0.0625rem solid #343a40"
941
1051
  },
942
1052
  "size": {
1053
+ "100": "0.25rem",
1054
+ "200": "0.5rem",
1055
+ "400": "1rem",
1056
+ "500": "1.25rem",
1057
+ "600": "1.5rem",
1058
+ "800": "2rem",
1059
+ "1200": "3rem",
1060
+ "1500": "3.75rem",
1061
+ "1800": "4.5rem",
1062
+ "2000": "5rem",
1063
+ "3000": "7.5rem",
1064
+ "4500": "11.25rem",
1065
+ "5000": "12.5rem",
1066
+ "7500": "18.75rem",
1067
+ "9000": "22.5rem",
1068
+ "10000": "25rem",
1069
+ "19200": "48rem",
1070
+ "pointerTarget": "1.5rem",
943
1071
  "touchTarget": "2.75rem",
1072
+ "control": {
1073
+ "sm": "2rem",
1074
+ "md": "2.5rem",
1075
+ "lg": "3rem"
1076
+ },
944
1077
  "overlay": {
945
1078
  "sm": "25rem",
946
1079
  "md": "35rem",
@@ -1027,7 +1160,7 @@
1027
1160
  "color": {
1028
1161
  "text": {
1029
1162
  "default": "#212529",
1030
- "emphasis": "#343a40",
1163
+ "emphasis": "#16191C",
1031
1164
  "subdued": "#495057",
1032
1165
  "inverse": "#ffffff",
1033
1166
  "disabled": "#adb5bd",
@@ -1036,7 +1169,12 @@
1036
1169
  "interactive-active": "#004491",
1037
1170
  "error": "#D31510",
1038
1171
  "success": "#007A4D",
1039
- "warning": "#B14C00"
1172
+ "warning": "#B14C00",
1173
+ "muted": "#495057",
1174
+ "accent": "#0265DC",
1175
+ "accent-hover": "#0054B6",
1176
+ "accent-pressed": "#004491",
1177
+ "danger": "#D31510"
1040
1178
  },
1041
1179
  "background": {
1042
1180
  "default": "#f8f9fa",
@@ -1081,11 +1219,17 @@
1081
1219
  "error": "#D31510",
1082
1220
  "success": "#007A4D",
1083
1221
  "warning": "#B14C00",
1084
- "none": "transparent"
1222
+ "none": "transparent",
1223
+ "emphasis": "#dee2e6",
1224
+ "input": "#6c757d",
1225
+ "input-hover": "#343a40",
1226
+ "focus": "#343a40",
1227
+ "accent": "#0265DC",
1228
+ "danger": "#D31510"
1085
1229
  },
1086
1230
  "icon": {
1087
1231
  "default": "#212529",
1088
- "emphasis": "#343a40",
1232
+ "emphasis": "#16191C",
1089
1233
  "subdued": "#6c757d",
1090
1234
  "disabled": "#adb5bd",
1091
1235
  "inverse": "#ffffff",
@@ -1094,7 +1238,12 @@
1094
1238
  "interactive-active": "#004491",
1095
1239
  "error": "#D31510",
1096
1240
  "success": "#007A4D",
1097
- "warning": "#B14C00"
1241
+ "warning": "#B14C00",
1242
+ "muted": "#6c757d",
1243
+ "accent": "#0265DC",
1244
+ "accent-hover": "#0054B6",
1245
+ "accent-pressed": "#004491",
1246
+ "danger": "#D31510"
1098
1247
  },
1099
1248
  "financial": {
1100
1249
  "credit": "#15A46E",
@@ -1106,27 +1255,35 @@
1106
1255
  },
1107
1256
  "category": {
1108
1257
  "blue": "#3892F3",
1258
+ "blue-strong": "#0265DC",
1109
1259
  "blue-emphasis": "#0265DC",
1110
1260
  "blue-subtle": "#E0F2FF",
1111
1261
  "purple": "#AD5FE8",
1262
+ "purple-strong": "#7E2EBD",
1112
1263
  "purple-emphasis": "#7E2EBD",
1113
1264
  "purple-subtle": "#F9F0FF",
1114
1265
  "pink": "#FF42AB",
1266
+ "pink-strong": "#DC007B",
1115
1267
  "pink-emphasis": "#DC007B",
1116
1268
  "pink-subtle": "#FFEFF9",
1117
1269
  "yellow": "#D39700",
1270
+ "yellow-strong": "#9D6C00",
1118
1271
  "yellow-emphasis": "#9D6C00",
1119
1272
  "yellow-subtle": "#FFF3D6",
1120
1273
  "green": "#15A46E",
1274
+ "green-strong": "#007A4D",
1121
1275
  "green-emphasis": "#007A4D",
1122
1276
  "green-subtle": "#CEF8E0",
1123
1277
  "red": "#F75C46",
1278
+ "red-strong": "#D31510",
1124
1279
  "red-emphasis": "#D31510",
1125
1280
  "red-subtle": "#FFEBE7",
1126
1281
  "orange": "#E46F00",
1282
+ "orange-strong": "#B14C00",
1127
1283
  "orange-emphasis": "#B14C00",
1128
1284
  "orange-subtle": "#FFECCC",
1129
1285
  "gray": "#495057",
1286
+ "gray-strong": "#212529",
1130
1287
  "gray-emphasis": "#212529",
1131
1288
  "gray-subtle": "#e9ecef",
1132
1289
  "blue-text": "#0265DC",
@@ -1136,7 +1293,15 @@
1136
1293
  "green-text": "#007A4D",
1137
1294
  "red-text": "#D31510",
1138
1295
  "orange-text": "#B14C00",
1139
- "gray-text": "#212529"
1296
+ "gray-text": "#212529",
1297
+ "blue-muted": "#E0F2FF",
1298
+ "purple-muted": "#F9F0FF",
1299
+ "pink-muted": "#FFEFF9",
1300
+ "yellow-muted": "#FFF3D6",
1301
+ "green-muted": "#CEF8E0",
1302
+ "red-muted": "#FFEBE7",
1303
+ "orange-muted": "#FFECCC",
1304
+ "gray-muted": "#e9ecef"
1140
1305
  },
1141
1306
  "status": {
1142
1307
  "pending": "#825800",
@@ -1151,6 +1316,35 @@
1151
1316
  "processing-bg": "#E0F2FF",
1152
1317
  "scheduled": "#7E2EBD",
1153
1318
  "scheduled-bg": "#F9F0FF"
1319
+ },
1320
+ "fill": {
1321
+ "emphasis": "#212529",
1322
+ "emphasis-hover": "#343a40",
1323
+ "emphasis-pressed": "#16191C",
1324
+ "muted": "#e9ecef",
1325
+ "inverse": "#343a40",
1326
+ "accent": "#0265DC",
1327
+ "accent-muted": "#E0F2FF",
1328
+ "accent-muted-hover": "#CAE8FF",
1329
+ "accent-muted-pressed": "#B5DEFF",
1330
+ "accent-hover": "#0054B6",
1331
+ "accent-pressed": "#004491",
1332
+ "danger": "#D31510",
1333
+ "danger-hover": "#B40000",
1334
+ "danger-pressed": "#930000",
1335
+ "danger-muted": "#FFEBE7",
1336
+ "success": "#007A4D",
1337
+ "success-muted": "#CEF8E0",
1338
+ "warning": "#B14C00",
1339
+ "warning-muted": "#FFECCC",
1340
+ "disabled": "#dee2e6",
1341
+ "default": "#dee2e6",
1342
+ "default-hover": "#ced4da",
1343
+ "default-pressed": "#adb5bd",
1344
+ "none": "transparent",
1345
+ "none-hover": "rgba(33, 37, 41, 0.1)",
1346
+ "none-pressed": "rgba(33, 37, 41, 0.15)",
1347
+ "inverse-none-hover": "rgba(255, 255, 255, 0.2)"
1154
1348
  }
1155
1349
  },
1156
1350
  "typography": {
@@ -1176,20 +1370,79 @@
1176
1370
  "duration": {
1177
1371
  "normal": "200ms",
1178
1372
  "fast": "150ms",
1179
- "slow": "300ms"
1373
+ "slow": "300ms",
1374
+ "instant": "0ms",
1375
+ "moderate": "200ms"
1180
1376
  },
1181
1377
  "easing": {
1182
1378
  "easeInOut": "ease-in-out",
1183
- "easeOut": "ease-out"
1379
+ "easeOut": "ease-out",
1380
+ "standard": "ease-in-out",
1381
+ "decelerate": "ease-out",
1382
+ "accelerate": "ease-in"
1184
1383
  },
1185
1384
  "transition": {
1186
1385
  "fast": "all 150ms ease-out",
1187
1386
  "normal": "all 200ms ease-in-out",
1188
- "slow": "all 300ms ease-in-out"
1387
+ "slow": "all 300ms ease-in-out",
1388
+ "feedback": "background-color 150ms ease-out, color 150ms ease-out",
1389
+ "focus": "outline 150ms ease-out, outline-offset 150ms ease-out",
1390
+ "press": "transform 150ms ease-out, opacity 150ms ease-out"
1189
1391
  },
1190
1392
  "hover": "background-color 150ms ease-out, color 150ms ease-out",
1191
1393
  "focus": "outline 150ms ease-out, outline-offset 150ms ease-out",
1192
- "interactive": "transform 150ms ease-out, opacity 150ms ease-out"
1394
+ "interactive": "transform 150ms ease-out, opacity 150ms ease-out",
1395
+ "distance": {
1396
+ "sm": "0.5rem"
1397
+ }
1398
+ },
1399
+ "layer": {
1400
+ "sticky": "10",
1401
+ "dropdown": "1000",
1402
+ "overlay": "1010",
1403
+ "modal": "1020"
1404
+ },
1405
+ "radius": {
1406
+ "none": "0",
1407
+ "xs": "0.125rem",
1408
+ "sm": "0.25rem",
1409
+ "md": "0.5rem",
1410
+ "lg": "0.75rem",
1411
+ "xl": "1rem",
1412
+ "2xl": "1.5rem",
1413
+ "3xl": "2rem",
1414
+ "full": "10rem"
1415
+ },
1416
+ "space": {
1417
+ "0": "0",
1418
+ "100": "0.25rem",
1419
+ "200": "0.5rem",
1420
+ "300": "0.75rem",
1421
+ "400": "1rem",
1422
+ "500": "1.25rem",
1423
+ "600": "1.5rem",
1424
+ "700": "1.75rem",
1425
+ "800": "2rem",
1426
+ "900": "2.25rem",
1427
+ "1000": "2.5rem",
1428
+ "1200": "3rem",
1429
+ "1400": "3.5rem",
1430
+ "1600": "4rem",
1431
+ "2000": "5rem",
1432
+ "2400": "6rem",
1433
+ "inset": {
1434
+ "xs": "0.25rem",
1435
+ "sm": "0.5rem",
1436
+ "md": "0.75rem",
1437
+ "lg": "1rem",
1438
+ "xl": "1.25rem",
1439
+ "2xl": "1.5rem"
1440
+ }
1441
+ },
1442
+ "surface": {
1443
+ "base": "#f8f9fa",
1444
+ "raised": "#ffffff",
1445
+ "scrim": "rgba(33, 37, 41, 0.5)"
1193
1446
  }
1194
1447
  }
1195
1448
  }