@phcdevworks/spectre-tokens 4.15.0 → 4.17.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/README.md +50 -2
- package/dist/index.cjs +162 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +131 -54
- package/dist/index.d.cts +106 -0
- package/dist/index.d.ts +106 -0
- package/dist/index.js +162 -23
- package/dist/index.js.map +1 -1
- package/dist/tokens.dtcg.json +331 -14
- package/package.json +11 -11
- package/tokens/modes.json +60 -0
- package/tokens/palette.json +26 -0
- package/tokens/primitives.json +2 -1
- package/tokens/semantic-roles.json +53 -0
- package/tokens/typography.json +17 -15
package/dist/index.css
CHANGED
|
@@ -592,6 +592,7 @@
|
|
|
592
592
|
--sp-action-on-page: var(--sp-action-700);
|
|
593
593
|
--sp-action-on-surface: var(--sp-action-700);
|
|
594
594
|
--sp-action-rail: var(--sp-action-700);
|
|
595
|
+
--sp-gradient-action: linear-gradient(135deg, var(--sp-action-500) 0%, var(--sp-action-700) 100%);
|
|
595
596
|
--sp-color-brand-50: #eef4ff;
|
|
596
597
|
--sp-color-brand-100: #d9e7ff;
|
|
597
598
|
--sp-color-brand-200: #b9d2ff;
|
|
@@ -1033,6 +1034,28 @@
|
|
|
1033
1034
|
--sp-color-palette-phcdevworks-paper-800: #2b251b;
|
|
1034
1035
|
--sp-color-palette-phcdevworks-paper-900: #1f190e;
|
|
1035
1036
|
--sp-color-palette-phcdevworks-paper-950: #0e0a05;
|
|
1037
|
+
--sp-color-palette-bradpotts-teal-50: #f1fdfc;
|
|
1038
|
+
--sp-color-palette-bradpotts-teal-100: #cef9f7;
|
|
1039
|
+
--sp-color-palette-bradpotts-teal-200: #9cf4f0;
|
|
1040
|
+
--sp-color-palette-bradpotts-teal-300: #5ae8e5;
|
|
1041
|
+
--sp-color-palette-bradpotts-teal-400: #34d1cf;
|
|
1042
|
+
--sp-color-palette-bradpotts-teal-500: #2db7b6;
|
|
1043
|
+
--sp-color-palette-bradpotts-teal-600: #249394;
|
|
1044
|
+
--sp-color-palette-bradpotts-teal-700: #1c7578;
|
|
1045
|
+
--sp-color-palette-bradpotts-teal-800: #165d61;
|
|
1046
|
+
--sp-color-palette-bradpotts-teal-900: #174d50;
|
|
1047
|
+
--sp-color-palette-bradpotts-teal-950: #092e31;
|
|
1048
|
+
--sp-color-palette-bradpotts-ink-50: #f7fafb;
|
|
1049
|
+
--sp-color-palette-bradpotts-ink-100: #f0f6f8;
|
|
1050
|
+
--sp-color-palette-bradpotts-ink-200: #dfe9ee;
|
|
1051
|
+
--sp-color-palette-bradpotts-ink-300: #c6d7df;
|
|
1052
|
+
--sp-color-palette-bradpotts-ink-400: #85a5b3;
|
|
1053
|
+
--sp-color-palette-bradpotts-ink-500: #557987;
|
|
1054
|
+
--sp-color-palette-bradpotts-ink-600: #395966;
|
|
1055
|
+
--sp-color-palette-bradpotts-ink-700: #244552;
|
|
1056
|
+
--sp-color-palette-bradpotts-ink-800: #0f2d38;
|
|
1057
|
+
--sp-color-palette-bradpotts-ink-900: #001b25;
|
|
1058
|
+
--sp-color-palette-bradpotts-ink-950: #00090f;
|
|
1036
1059
|
--sp-action-50: #eef4ff;
|
|
1037
1060
|
--sp-action-100: #d9e7ff;
|
|
1038
1061
|
--sp-action-200: #b9d2ff;
|
|
@@ -1231,6 +1254,8 @@
|
|
|
1231
1254
|
--sp-font-family-sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
|
|
1232
1255
|
--sp-font-family-serif: 'Times New Roman', Times, serif;
|
|
1233
1256
|
--sp-font-family-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
1257
|
+
--sp-font-family-heading: var(--sp-font-family-sans);
|
|
1258
|
+
--sp-font-family-body: var(--sp-font-family-sans);
|
|
1234
1259
|
--sp-font-xs-size: 0.75rem;
|
|
1235
1260
|
--sp-font-xs-line-height: 1.25rem;
|
|
1236
1261
|
--sp-font-xs-weight: 400;
|
|
@@ -1283,72 +1308,72 @@
|
|
|
1283
1308
|
--sp-font-7xl-letter-spacing: 0em;
|
|
1284
1309
|
--sp-font-8xl-letter-spacing: 0em;
|
|
1285
1310
|
--sp-font-9xl-letter-spacing: 0em;
|
|
1286
|
-
--sp-heading-h1-family:
|
|
1311
|
+
--sp-heading-h1-family: var(--sp-font-family-heading);
|
|
1287
1312
|
--sp-heading-h1-size: 2.25rem;
|
|
1288
1313
|
--sp-heading-h1-line-height: 2.75rem;
|
|
1289
1314
|
--sp-heading-h1-weight: 800;
|
|
1290
1315
|
--sp-heading-h1-letter-spacing: 0em;
|
|
1291
|
-
--sp-heading-h2-family:
|
|
1316
|
+
--sp-heading-h2-family: var(--sp-font-family-heading);
|
|
1292
1317
|
--sp-heading-h2-size: 1.875rem;
|
|
1293
1318
|
--sp-heading-h2-line-height: 2.5rem;
|
|
1294
1319
|
--sp-heading-h2-weight: 700;
|
|
1295
1320
|
--sp-heading-h2-letter-spacing: 0em;
|
|
1296
|
-
--sp-heading-h3-family:
|
|
1321
|
+
--sp-heading-h3-family: var(--sp-font-family-heading);
|
|
1297
1322
|
--sp-heading-h3-size: 1.5rem;
|
|
1298
1323
|
--sp-heading-h3-line-height: 2.125rem;
|
|
1299
1324
|
--sp-heading-h3-weight: 700;
|
|
1300
1325
|
--sp-heading-h3-letter-spacing: 0em;
|
|
1301
|
-
--sp-heading-h4-family:
|
|
1326
|
+
--sp-heading-h4-family: var(--sp-font-family-heading);
|
|
1302
1327
|
--sp-heading-h4-size: 1.25rem;
|
|
1303
1328
|
--sp-heading-h4-line-height: 2rem;
|
|
1304
1329
|
--sp-heading-h4-weight: 600;
|
|
1305
1330
|
--sp-heading-h4-letter-spacing: 0em;
|
|
1306
|
-
--sp-heading-h5-family:
|
|
1331
|
+
--sp-heading-h5-family: var(--sp-font-family-heading);
|
|
1307
1332
|
--sp-heading-h5-size: 1.25rem;
|
|
1308
1333
|
--sp-heading-h5-line-height: 2rem;
|
|
1309
1334
|
--sp-heading-h5-weight: 600;
|
|
1310
1335
|
--sp-heading-h5-letter-spacing: 0em;
|
|
1311
|
-
--sp-heading-h6-family:
|
|
1336
|
+
--sp-heading-h6-family: var(--sp-font-family-heading);
|
|
1312
1337
|
--sp-heading-h6-size: 1.25rem;
|
|
1313
1338
|
--sp-heading-h6-line-height: 2rem;
|
|
1314
1339
|
--sp-heading-h6-weight: 600;
|
|
1315
1340
|
--sp-heading-h6-letter-spacing: 0em;
|
|
1316
|
-
--sp-body-family:
|
|
1341
|
+
--sp-body-family: var(--sp-font-family-body);
|
|
1317
1342
|
--sp-body-size: 1rem;
|
|
1318
1343
|
--sp-body-line-height: 1.75rem;
|
|
1319
1344
|
--sp-body-weight: 400;
|
|
1320
1345
|
--sp-body-letter-spacing: 0em;
|
|
1321
|
-
--sp-display-1-family:
|
|
1346
|
+
--sp-display-1-family: var(--sp-font-family-heading);
|
|
1322
1347
|
--sp-display-1-size: 2.25rem;
|
|
1323
1348
|
--sp-display-1-line-height: 2.75rem;
|
|
1324
1349
|
--sp-display-1-weight: 800;
|
|
1325
1350
|
--sp-display-1-letter-spacing: 0em;
|
|
1326
|
-
--sp-display-2-family:
|
|
1351
|
+
--sp-display-2-family: var(--sp-font-family-heading);
|
|
1327
1352
|
--sp-display-2-size: 2.25rem;
|
|
1328
1353
|
--sp-display-2-line-height: 2.75rem;
|
|
1329
1354
|
--sp-display-2-weight: 800;
|
|
1330
1355
|
--sp-display-2-letter-spacing: 0em;
|
|
1331
|
-
--sp-display-3-family:
|
|
1356
|
+
--sp-display-3-family: var(--sp-font-family-heading);
|
|
1332
1357
|
--sp-display-3-size: 2.25rem;
|
|
1333
1358
|
--sp-display-3-line-height: 2.75rem;
|
|
1334
1359
|
--sp-display-3-weight: 700;
|
|
1335
1360
|
--sp-display-3-letter-spacing: 0em;
|
|
1336
|
-
--sp-display-4-family:
|
|
1361
|
+
--sp-display-4-family: var(--sp-font-family-heading);
|
|
1337
1362
|
--sp-display-4-size: 2.25rem;
|
|
1338
1363
|
--sp-display-4-line-height: 2.75rem;
|
|
1339
1364
|
--sp-display-4-weight: 700;
|
|
1340
1365
|
--sp-display-4-letter-spacing: 0em;
|
|
1341
|
-
--sp-display-5-family:
|
|
1366
|
+
--sp-display-5-family: var(--sp-font-family-heading);
|
|
1342
1367
|
--sp-display-5-size: 1.875rem;
|
|
1343
1368
|
--sp-display-5-line-height: 2.5rem;
|
|
1344
1369
|
--sp-display-5-weight: 600;
|
|
1345
1370
|
--sp-display-5-letter-spacing: 0em;
|
|
1346
|
-
--sp-display-6-family:
|
|
1371
|
+
--sp-display-6-family: var(--sp-font-family-heading);
|
|
1347
1372
|
--sp-display-6-size: 1.5rem;
|
|
1348
1373
|
--sp-display-6-line-height: 2.125rem;
|
|
1349
1374
|
--sp-display-6-weight: 600;
|
|
1350
1375
|
--sp-display-6-letter-spacing: 0em;
|
|
1351
|
-
--sp-lead-family:
|
|
1376
|
+
--sp-lead-family: var(--sp-font-family-body);
|
|
1352
1377
|
--sp-lead-size: 1.25rem;
|
|
1353
1378
|
--sp-lead-line-height: 2rem;
|
|
1354
1379
|
--sp-lead-weight: 400;
|
|
@@ -1404,6 +1429,7 @@
|
|
|
1404
1429
|
--sp-duration-slower: 700ms;
|
|
1405
1430
|
--sp-duration-long: 1000ms;
|
|
1406
1431
|
--sp-duration-slowest: 1200ms;
|
|
1432
|
+
--sp-duration-ambient: 7000ms;
|
|
1407
1433
|
--sp-easing-linear: linear;
|
|
1408
1434
|
--sp-easing-in: cubic-bezier(0.4, 0, 1, 1);
|
|
1409
1435
|
--sp-easing-out: cubic-bezier(0, 0, 0.2, 1);
|
|
@@ -1417,6 +1443,29 @@
|
|
|
1417
1443
|
--sp-opacity-focus: 1;
|
|
1418
1444
|
--sp-opacity-overlay: 0.5;
|
|
1419
1445
|
--sp-opacity-tooltip: 0.95;
|
|
1446
|
+
--sp-pattern-cell-sm: 0.75rem;
|
|
1447
|
+
--sp-pattern-cell-md: 1.25rem;
|
|
1448
|
+
--sp-pattern-cell-lg: 2rem;
|
|
1449
|
+
--sp-pattern-cell-xl: 3rem;
|
|
1450
|
+
--sp-pattern-dot-radius-sm: 0.0625rem;
|
|
1451
|
+
--sp-pattern-dot-radius-md: 0.125rem;
|
|
1452
|
+
--sp-pattern-dot-radius-lg: 0.25rem;
|
|
1453
|
+
--sp-pattern-line-weight-sm: 0.0625rem;
|
|
1454
|
+
--sp-pattern-line-weight-md: 0.125rem;
|
|
1455
|
+
--sp-pattern-line-weight-lg: 0.25rem;
|
|
1456
|
+
--sp-pattern-opacity-subtle: 0.25;
|
|
1457
|
+
--sp-pattern-opacity-muted: 0.5;
|
|
1458
|
+
--sp-pattern-opacity-strong: 0.75;
|
|
1459
|
+
--sp-fade-edge-solid: 0%;
|
|
1460
|
+
--sp-fade-edge-clear: 100%;
|
|
1461
|
+
--sp-fade-corner-solid: 0%;
|
|
1462
|
+
--sp-fade-corner-clear: 50%;
|
|
1463
|
+
--sp-fade-radial-solid: 25%;
|
|
1464
|
+
--sp-fade-radial-clear: 75%;
|
|
1465
|
+
--sp-shimmer-band-start: 35%;
|
|
1466
|
+
--sp-shimmer-band-peak: 50%;
|
|
1467
|
+
--sp-shimmer-band-end: 65%;
|
|
1468
|
+
--sp-shimmer-travel: 60%;
|
|
1420
1469
|
--sp-focus-ring-width: 2px;
|
|
1421
1470
|
--sp-focus-ring-offset: 2px;
|
|
1422
1471
|
--sp-focus-ring-style: solid;
|
|
@@ -2195,6 +2244,17 @@
|
|
|
2195
2244
|
--sp-action-on-page: var(--sp-action-400);
|
|
2196
2245
|
--sp-action-on-surface: var(--sp-action-400);
|
|
2197
2246
|
--sp-action-rail: var(--sp-action-400);
|
|
2247
|
+
--sp-gradient-action: linear-gradient(135deg, var(--sp-action-300) 0%, var(--sp-action-500) 100%);
|
|
2248
|
+
--sp-button-secondary-bg: transparent;
|
|
2249
|
+
--sp-button-secondary-bghover: #222b38;
|
|
2250
|
+
--sp-button-secondary-bgactive: #374253;
|
|
2251
|
+
--sp-button-secondary-bgdisabled: transparent;
|
|
2252
|
+
--sp-button-secondary-text: #7dd3fc;
|
|
2253
|
+
--sp-button-secondary-textdisabled: #657287;
|
|
2254
|
+
--sp-button-secondary-border: #38bdf8;
|
|
2255
|
+
--sp-button-secondary-borderdisabled: #374253;
|
|
2256
|
+
--sp-button-secondary-focusring: rgba(14, 165, 233, 0.4);
|
|
2257
|
+
--sp-button-secondary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
2198
2258
|
--sp-form-valid-border: #22c55e;
|
|
2199
2259
|
--sp-form-valid-bg: #f0fdf4;
|
|
2200
2260
|
--sp-form-valid-text: #15803d;
|
|
@@ -2209,16 +2269,6 @@
|
|
|
2209
2269
|
--sp-button-primary-textdisabled: #8a96ad;
|
|
2210
2270
|
--sp-button-primary-focusring: rgba(14, 165, 233, 0.4);
|
|
2211
2271
|
--sp-button-primary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
2212
|
-
--sp-button-secondary-bg: #ffffff;
|
|
2213
|
-
--sp-button-secondary-bghover: #f7f8fb;
|
|
2214
|
-
--sp-button-secondary-bgactive: #eef1f6;
|
|
2215
|
-
--sp-button-secondary-bgdisabled: #f7f8fb;
|
|
2216
|
-
--sp-button-secondary-text: #075985;
|
|
2217
|
-
--sp-button-secondary-textdisabled: #8a96ad;
|
|
2218
|
-
--sp-button-secondary-border: #075985;
|
|
2219
|
-
--sp-button-secondary-borderdisabled: #d9dfeb;
|
|
2220
|
-
--sp-button-secondary-focusring: rgba(14, 165, 233, 0.4);
|
|
2221
|
-
--sp-button-secondary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
2222
2272
|
--sp-button-ghost-bg: transparent;
|
|
2223
2273
|
--sp-button-ghost-bghover: #f0f9ff;
|
|
2224
2274
|
--sp-button-ghost-bgactive: #e0f2fe;
|
|
@@ -2913,6 +2963,17 @@
|
|
|
2913
2963
|
--sp-action-on-page: var(--sp-action-900);
|
|
2914
2964
|
--sp-action-on-surface: var(--sp-action-900);
|
|
2915
2965
|
--sp-action-rail: var(--sp-action-900);
|
|
2966
|
+
--sp-gradient-action: linear-gradient(135deg, var(--sp-action-700) 0%, var(--sp-action-900) 100%);
|
|
2967
|
+
--sp-button-secondary-bg: #ffffff;
|
|
2968
|
+
--sp-button-secondary-bghover: #f7f8fb;
|
|
2969
|
+
--sp-button-secondary-bgactive: #eef1f6;
|
|
2970
|
+
--sp-button-secondary-bgdisabled: #f7f8fb;
|
|
2971
|
+
--sp-button-secondary-text: #0c4a6e;
|
|
2972
|
+
--sp-button-secondary-textdisabled: #8a96ad;
|
|
2973
|
+
--sp-button-secondary-border: #0c4a6e;
|
|
2974
|
+
--sp-button-secondary-borderdisabled: #d9dfeb;
|
|
2975
|
+
--sp-button-secondary-focusring: rgba(14, 165, 233, 0.4);
|
|
2976
|
+
--sp-button-secondary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
2916
2977
|
--sp-form-valid-border: #15803d;
|
|
2917
2978
|
--sp-form-valid-bg: #f0fdf4;
|
|
2918
2979
|
--sp-form-valid-text: #14532d;
|
|
@@ -2927,16 +2988,6 @@
|
|
|
2927
2988
|
--sp-button-primary-textdisabled: #8a96ad;
|
|
2928
2989
|
--sp-button-primary-focusring: rgba(14, 165, 233, 0.4);
|
|
2929
2990
|
--sp-button-primary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
2930
|
-
--sp-button-secondary-bg: #ffffff;
|
|
2931
|
-
--sp-button-secondary-bghover: #f7f8fb;
|
|
2932
|
-
--sp-button-secondary-bgactive: #eef1f6;
|
|
2933
|
-
--sp-button-secondary-bgdisabled: #f7f8fb;
|
|
2934
|
-
--sp-button-secondary-text: #0c4a6e;
|
|
2935
|
-
--sp-button-secondary-textdisabled: #8a96ad;
|
|
2936
|
-
--sp-button-secondary-border: #0c4a6e;
|
|
2937
|
-
--sp-button-secondary-borderdisabled: #d9dfeb;
|
|
2938
|
-
--sp-button-secondary-focusring: rgba(14, 165, 233, 0.4);
|
|
2939
|
-
--sp-button-secondary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
2940
2991
|
--sp-button-ghost-bg: transparent;
|
|
2941
2992
|
--sp-button-ghost-bghover: #f0f9ff;
|
|
2942
2993
|
--sp-button-ghost-bgactive: #e0f2fe;
|
|
@@ -3633,6 +3684,17 @@
|
|
|
3633
3684
|
--sp-action-on-page: var(--sp-action-700);
|
|
3634
3685
|
--sp-action-on-surface: var(--sp-action-700);
|
|
3635
3686
|
--sp-action-rail: var(--sp-action-700);
|
|
3687
|
+
--sp-gradient-action: linear-gradient(135deg, var(--sp-action-500) 0%, var(--sp-action-700) 100%);
|
|
3688
|
+
--sp-button-secondary-bg: #ffffff;
|
|
3689
|
+
--sp-button-secondary-bghover: #f7f8fb;
|
|
3690
|
+
--sp-button-secondary-bgactive: #eef1f6;
|
|
3691
|
+
--sp-button-secondary-bgdisabled: #f7f8fb;
|
|
3692
|
+
--sp-button-secondary-text: #075985;
|
|
3693
|
+
--sp-button-secondary-textdisabled: #8a96ad;
|
|
3694
|
+
--sp-button-secondary-border: #075985;
|
|
3695
|
+
--sp-button-secondary-borderdisabled: #d9dfeb;
|
|
3696
|
+
--sp-button-secondary-focusring: rgba(14, 165, 233, 0.4);
|
|
3697
|
+
--sp-button-secondary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
3636
3698
|
--sp-form-valid-border: #22c55e;
|
|
3637
3699
|
--sp-form-valid-bg: #f0fdf4;
|
|
3638
3700
|
--sp-form-valid-text: #15803d;
|
|
@@ -3647,16 +3709,6 @@
|
|
|
3647
3709
|
--sp-button-primary-textdisabled: #8a96ad;
|
|
3648
3710
|
--sp-button-primary-focusring: rgba(14, 165, 233, 0.4);
|
|
3649
3711
|
--sp-button-primary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
3650
|
-
--sp-button-secondary-bg: #ffffff;
|
|
3651
|
-
--sp-button-secondary-bghover: #f7f8fb;
|
|
3652
|
-
--sp-button-secondary-bgactive: #eef1f6;
|
|
3653
|
-
--sp-button-secondary-bgdisabled: #f7f8fb;
|
|
3654
|
-
--sp-button-secondary-text: #075985;
|
|
3655
|
-
--sp-button-secondary-textdisabled: #8a96ad;
|
|
3656
|
-
--sp-button-secondary-border: #075985;
|
|
3657
|
-
--sp-button-secondary-borderdisabled: #d9dfeb;
|
|
3658
|
-
--sp-button-secondary-focusring: rgba(14, 165, 233, 0.4);
|
|
3659
|
-
--sp-button-secondary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
3660
3712
|
--sp-button-ghost-bg: transparent;
|
|
3661
3713
|
--sp-button-ghost-bghover: #f0f9ff;
|
|
3662
3714
|
--sp-button-ghost-bgactive: #e0f2fe;
|
|
@@ -4352,6 +4404,17 @@
|
|
|
4352
4404
|
--sp-action-on-page: var(--sp-action-400);
|
|
4353
4405
|
--sp-action-on-surface: var(--sp-action-400);
|
|
4354
4406
|
--sp-action-rail: var(--sp-action-400);
|
|
4407
|
+
--sp-gradient-action: linear-gradient(135deg, var(--sp-action-300) 0%, var(--sp-action-500) 100%);
|
|
4408
|
+
--sp-button-secondary-bg: transparent;
|
|
4409
|
+
--sp-button-secondary-bghover: #222b38;
|
|
4410
|
+
--sp-button-secondary-bgactive: #374253;
|
|
4411
|
+
--sp-button-secondary-bgdisabled: transparent;
|
|
4412
|
+
--sp-button-secondary-text: #7dd3fc;
|
|
4413
|
+
--sp-button-secondary-textdisabled: #657287;
|
|
4414
|
+
--sp-button-secondary-border: #38bdf8;
|
|
4415
|
+
--sp-button-secondary-borderdisabled: #374253;
|
|
4416
|
+
--sp-button-secondary-focusring: rgba(14, 165, 233, 0.4);
|
|
4417
|
+
--sp-button-secondary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
4355
4418
|
--sp-form-valid-border: #22c55e;
|
|
4356
4419
|
--sp-form-valid-bg: #f0fdf4;
|
|
4357
4420
|
--sp-form-valid-text: #15803d;
|
|
@@ -4366,16 +4429,6 @@
|
|
|
4366
4429
|
--sp-button-primary-textdisabled: #8a96ad;
|
|
4367
4430
|
--sp-button-primary-focusring: rgba(14, 165, 233, 0.4);
|
|
4368
4431
|
--sp-button-primary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
4369
|
-
--sp-button-secondary-bg: #ffffff;
|
|
4370
|
-
--sp-button-secondary-bghover: #f7f8fb;
|
|
4371
|
-
--sp-button-secondary-bgactive: #eef1f6;
|
|
4372
|
-
--sp-button-secondary-bgdisabled: #f7f8fb;
|
|
4373
|
-
--sp-button-secondary-text: #075985;
|
|
4374
|
-
--sp-button-secondary-textdisabled: #8a96ad;
|
|
4375
|
-
--sp-button-secondary-border: #075985;
|
|
4376
|
-
--sp-button-secondary-borderdisabled: #d9dfeb;
|
|
4377
|
-
--sp-button-secondary-focusring: rgba(14, 165, 233, 0.4);
|
|
4378
|
-
--sp-button-secondary-focusvisible: rgba(14, 165, 233, 0.4);
|
|
4379
4432
|
--sp-button-ghost-bg: transparent;
|
|
4380
4433
|
--sp-button-ghost-bghover: #f0f9ff;
|
|
4381
4434
|
--sp-button-ghost-bgactive: #e0f2fe;
|
|
@@ -4884,6 +4937,30 @@
|
|
|
4884
4937
|
--sp-action-800: #2b251b;
|
|
4885
4938
|
--sp-action-900: #1f190e;
|
|
4886
4939
|
}
|
|
4940
|
+
:root[data-spectre-action="bradpotts-teal"] {
|
|
4941
|
+
--sp-action-50: #f1fdfc;
|
|
4942
|
+
--sp-action-100: #cef9f7;
|
|
4943
|
+
--sp-action-200: #9cf4f0;
|
|
4944
|
+
--sp-action-300: #5ae8e5;
|
|
4945
|
+
--sp-action-400: #34d1cf;
|
|
4946
|
+
--sp-action-500: #2db7b6;
|
|
4947
|
+
--sp-action-600: #249394;
|
|
4948
|
+
--sp-action-700: #1c7578;
|
|
4949
|
+
--sp-action-800: #165d61;
|
|
4950
|
+
--sp-action-900: #174d50;
|
|
4951
|
+
}
|
|
4952
|
+
:root[data-spectre-action="bradpotts-ink"] {
|
|
4953
|
+
--sp-action-50: #f7fafb;
|
|
4954
|
+
--sp-action-100: #f0f6f8;
|
|
4955
|
+
--sp-action-200: #dfe9ee;
|
|
4956
|
+
--sp-action-300: #c6d7df;
|
|
4957
|
+
--sp-action-400: #85a5b3;
|
|
4958
|
+
--sp-action-500: #557987;
|
|
4959
|
+
--sp-action-600: #395966;
|
|
4960
|
+
--sp-action-700: #244552;
|
|
4961
|
+
--sp-action-800: #0f2d38;
|
|
4962
|
+
--sp-action-900: #001b25;
|
|
4963
|
+
}
|
|
4887
4964
|
[data-spectre-density="compact"] {
|
|
4888
4965
|
--sp-control-sm-height: var(--sp-control-compact-sm-height);
|
|
4889
4966
|
--sp-control-sm-padding-inline: var(--sp-control-compact-sm-padding-inline);
|
package/dist/index.d.cts
CHANGED
|
@@ -1926,6 +1926,11 @@ interface SpectreGeneratedTokens {
|
|
|
1926
1926
|
};
|
|
1927
1927
|
};
|
|
1928
1928
|
dark: {
|
|
1929
|
+
decorative: {
|
|
1930
|
+
gradient: {
|
|
1931
|
+
action: string;
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1929
1934
|
action: {
|
|
1930
1935
|
onPage: string;
|
|
1931
1936
|
onSurface: string;
|
|
@@ -2800,8 +2805,27 @@ interface SpectreGeneratedTokens {
|
|
|
2800
2805
|
underline: string;
|
|
2801
2806
|
underlineHover: string;
|
|
2802
2807
|
};
|
|
2808
|
+
buttons: {
|
|
2809
|
+
secondary: {
|
|
2810
|
+
bg: string;
|
|
2811
|
+
bgHover: string;
|
|
2812
|
+
bgActive: string;
|
|
2813
|
+
bgDisabled: string;
|
|
2814
|
+
text: string;
|
|
2815
|
+
textDisabled: string;
|
|
2816
|
+
border: string;
|
|
2817
|
+
borderDisabled: string;
|
|
2818
|
+
focusRing: string;
|
|
2819
|
+
focusVisible: string;
|
|
2820
|
+
};
|
|
2821
|
+
};
|
|
2803
2822
|
};
|
|
2804
2823
|
highContrast: {
|
|
2824
|
+
decorative: {
|
|
2825
|
+
gradient: {
|
|
2826
|
+
action: string;
|
|
2827
|
+
};
|
|
2828
|
+
};
|
|
2805
2829
|
action: {
|
|
2806
2830
|
bg: string;
|
|
2807
2831
|
bgHover: string;
|
|
@@ -4360,6 +4384,32 @@ interface SpectreGeneratedTokens {
|
|
|
4360
4384
|
'900': string;
|
|
4361
4385
|
'950': string;
|
|
4362
4386
|
};
|
|
4387
|
+
'bradpotts-teal': {
|
|
4388
|
+
'50': string;
|
|
4389
|
+
'100': string;
|
|
4390
|
+
'200': string;
|
|
4391
|
+
'300': string;
|
|
4392
|
+
'400': string;
|
|
4393
|
+
'500': string;
|
|
4394
|
+
'600': string;
|
|
4395
|
+
'700': string;
|
|
4396
|
+
'800': string;
|
|
4397
|
+
'900': string;
|
|
4398
|
+
'950': string;
|
|
4399
|
+
};
|
|
4400
|
+
'bradpotts-ink': {
|
|
4401
|
+
'50': string;
|
|
4402
|
+
'100': string;
|
|
4403
|
+
'200': string;
|
|
4404
|
+
'300': string;
|
|
4405
|
+
'400': string;
|
|
4406
|
+
'500': string;
|
|
4407
|
+
'600': string;
|
|
4408
|
+
'700': string;
|
|
4409
|
+
'800': string;
|
|
4410
|
+
'900': string;
|
|
4411
|
+
'950': string;
|
|
4412
|
+
};
|
|
4363
4413
|
};
|
|
4364
4414
|
};
|
|
4365
4415
|
space: {
|
|
@@ -4445,6 +4495,7 @@ interface SpectreGeneratedTokens {
|
|
|
4445
4495
|
slower: string;
|
|
4446
4496
|
long: string;
|
|
4447
4497
|
slowest: string;
|
|
4498
|
+
ambient: string;
|
|
4448
4499
|
};
|
|
4449
4500
|
easing: {
|
|
4450
4501
|
linear: string;
|
|
@@ -4827,6 +4878,56 @@ interface SpectreGeneratedTokens {
|
|
|
4827
4878
|
zIndex: string;
|
|
4828
4879
|
};
|
|
4829
4880
|
};
|
|
4881
|
+
decorative: {
|
|
4882
|
+
pattern: {
|
|
4883
|
+
cell: {
|
|
4884
|
+
sm: string;
|
|
4885
|
+
md: string;
|
|
4886
|
+
lg: string;
|
|
4887
|
+
xl: string;
|
|
4888
|
+
};
|
|
4889
|
+
dotRadius: {
|
|
4890
|
+
sm: string;
|
|
4891
|
+
md: string;
|
|
4892
|
+
lg: string;
|
|
4893
|
+
};
|
|
4894
|
+
lineWeight: {
|
|
4895
|
+
sm: string;
|
|
4896
|
+
md: string;
|
|
4897
|
+
lg: string;
|
|
4898
|
+
};
|
|
4899
|
+
opacity: {
|
|
4900
|
+
subtle: string;
|
|
4901
|
+
muted: string;
|
|
4902
|
+
strong: string;
|
|
4903
|
+
};
|
|
4904
|
+
};
|
|
4905
|
+
fade: {
|
|
4906
|
+
edge: {
|
|
4907
|
+
solid: string;
|
|
4908
|
+
clear: string;
|
|
4909
|
+
};
|
|
4910
|
+
corner: {
|
|
4911
|
+
solid: string;
|
|
4912
|
+
clear: string;
|
|
4913
|
+
};
|
|
4914
|
+
radial: {
|
|
4915
|
+
solid: string;
|
|
4916
|
+
clear: string;
|
|
4917
|
+
};
|
|
4918
|
+
};
|
|
4919
|
+
shimmer: {
|
|
4920
|
+
band: {
|
|
4921
|
+
start: string;
|
|
4922
|
+
peak: string;
|
|
4923
|
+
end: string;
|
|
4924
|
+
};
|
|
4925
|
+
travel: string;
|
|
4926
|
+
};
|
|
4927
|
+
gradient: {
|
|
4928
|
+
action: string;
|
|
4929
|
+
};
|
|
4930
|
+
};
|
|
4830
4931
|
font: {
|
|
4831
4932
|
xs: {
|
|
4832
4933
|
size: string;
|
|
@@ -4912,6 +5013,8 @@ interface SpectreGeneratedTokens {
|
|
|
4912
5013
|
sans: string;
|
|
4913
5014
|
serif: string;
|
|
4914
5015
|
mono: string;
|
|
5016
|
+
heading: string;
|
|
5017
|
+
body: string;
|
|
4915
5018
|
};
|
|
4916
5019
|
scale: {
|
|
4917
5020
|
xs: {
|
|
@@ -5469,6 +5572,9 @@ interface SpectreModeTokens {
|
|
|
5469
5572
|
};
|
|
5470
5573
|
component: ComponentTokens<SemanticTokenValue>;
|
|
5471
5574
|
action?: Record<string, SemanticTokenValue>;
|
|
5575
|
+
decorative?: {
|
|
5576
|
+
gradient: Record<string, SemanticTokenValue>;
|
|
5577
|
+
};
|
|
5472
5578
|
buttons?: Record<string, Record<string, SemanticTokenValue>>;
|
|
5473
5579
|
link?: Record<string, SemanticTokenValue>;
|
|
5474
5580
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1926,6 +1926,11 @@ interface SpectreGeneratedTokens {
|
|
|
1926
1926
|
};
|
|
1927
1927
|
};
|
|
1928
1928
|
dark: {
|
|
1929
|
+
decorative: {
|
|
1930
|
+
gradient: {
|
|
1931
|
+
action: string;
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1929
1934
|
action: {
|
|
1930
1935
|
onPage: string;
|
|
1931
1936
|
onSurface: string;
|
|
@@ -2800,8 +2805,27 @@ interface SpectreGeneratedTokens {
|
|
|
2800
2805
|
underline: string;
|
|
2801
2806
|
underlineHover: string;
|
|
2802
2807
|
};
|
|
2808
|
+
buttons: {
|
|
2809
|
+
secondary: {
|
|
2810
|
+
bg: string;
|
|
2811
|
+
bgHover: string;
|
|
2812
|
+
bgActive: string;
|
|
2813
|
+
bgDisabled: string;
|
|
2814
|
+
text: string;
|
|
2815
|
+
textDisabled: string;
|
|
2816
|
+
border: string;
|
|
2817
|
+
borderDisabled: string;
|
|
2818
|
+
focusRing: string;
|
|
2819
|
+
focusVisible: string;
|
|
2820
|
+
};
|
|
2821
|
+
};
|
|
2803
2822
|
};
|
|
2804
2823
|
highContrast: {
|
|
2824
|
+
decorative: {
|
|
2825
|
+
gradient: {
|
|
2826
|
+
action: string;
|
|
2827
|
+
};
|
|
2828
|
+
};
|
|
2805
2829
|
action: {
|
|
2806
2830
|
bg: string;
|
|
2807
2831
|
bgHover: string;
|
|
@@ -4360,6 +4384,32 @@ interface SpectreGeneratedTokens {
|
|
|
4360
4384
|
'900': string;
|
|
4361
4385
|
'950': string;
|
|
4362
4386
|
};
|
|
4387
|
+
'bradpotts-teal': {
|
|
4388
|
+
'50': string;
|
|
4389
|
+
'100': string;
|
|
4390
|
+
'200': string;
|
|
4391
|
+
'300': string;
|
|
4392
|
+
'400': string;
|
|
4393
|
+
'500': string;
|
|
4394
|
+
'600': string;
|
|
4395
|
+
'700': string;
|
|
4396
|
+
'800': string;
|
|
4397
|
+
'900': string;
|
|
4398
|
+
'950': string;
|
|
4399
|
+
};
|
|
4400
|
+
'bradpotts-ink': {
|
|
4401
|
+
'50': string;
|
|
4402
|
+
'100': string;
|
|
4403
|
+
'200': string;
|
|
4404
|
+
'300': string;
|
|
4405
|
+
'400': string;
|
|
4406
|
+
'500': string;
|
|
4407
|
+
'600': string;
|
|
4408
|
+
'700': string;
|
|
4409
|
+
'800': string;
|
|
4410
|
+
'900': string;
|
|
4411
|
+
'950': string;
|
|
4412
|
+
};
|
|
4363
4413
|
};
|
|
4364
4414
|
};
|
|
4365
4415
|
space: {
|
|
@@ -4445,6 +4495,7 @@ interface SpectreGeneratedTokens {
|
|
|
4445
4495
|
slower: string;
|
|
4446
4496
|
long: string;
|
|
4447
4497
|
slowest: string;
|
|
4498
|
+
ambient: string;
|
|
4448
4499
|
};
|
|
4449
4500
|
easing: {
|
|
4450
4501
|
linear: string;
|
|
@@ -4827,6 +4878,56 @@ interface SpectreGeneratedTokens {
|
|
|
4827
4878
|
zIndex: string;
|
|
4828
4879
|
};
|
|
4829
4880
|
};
|
|
4881
|
+
decorative: {
|
|
4882
|
+
pattern: {
|
|
4883
|
+
cell: {
|
|
4884
|
+
sm: string;
|
|
4885
|
+
md: string;
|
|
4886
|
+
lg: string;
|
|
4887
|
+
xl: string;
|
|
4888
|
+
};
|
|
4889
|
+
dotRadius: {
|
|
4890
|
+
sm: string;
|
|
4891
|
+
md: string;
|
|
4892
|
+
lg: string;
|
|
4893
|
+
};
|
|
4894
|
+
lineWeight: {
|
|
4895
|
+
sm: string;
|
|
4896
|
+
md: string;
|
|
4897
|
+
lg: string;
|
|
4898
|
+
};
|
|
4899
|
+
opacity: {
|
|
4900
|
+
subtle: string;
|
|
4901
|
+
muted: string;
|
|
4902
|
+
strong: string;
|
|
4903
|
+
};
|
|
4904
|
+
};
|
|
4905
|
+
fade: {
|
|
4906
|
+
edge: {
|
|
4907
|
+
solid: string;
|
|
4908
|
+
clear: string;
|
|
4909
|
+
};
|
|
4910
|
+
corner: {
|
|
4911
|
+
solid: string;
|
|
4912
|
+
clear: string;
|
|
4913
|
+
};
|
|
4914
|
+
radial: {
|
|
4915
|
+
solid: string;
|
|
4916
|
+
clear: string;
|
|
4917
|
+
};
|
|
4918
|
+
};
|
|
4919
|
+
shimmer: {
|
|
4920
|
+
band: {
|
|
4921
|
+
start: string;
|
|
4922
|
+
peak: string;
|
|
4923
|
+
end: string;
|
|
4924
|
+
};
|
|
4925
|
+
travel: string;
|
|
4926
|
+
};
|
|
4927
|
+
gradient: {
|
|
4928
|
+
action: string;
|
|
4929
|
+
};
|
|
4930
|
+
};
|
|
4830
4931
|
font: {
|
|
4831
4932
|
xs: {
|
|
4832
4933
|
size: string;
|
|
@@ -4912,6 +5013,8 @@ interface SpectreGeneratedTokens {
|
|
|
4912
5013
|
sans: string;
|
|
4913
5014
|
serif: string;
|
|
4914
5015
|
mono: string;
|
|
5016
|
+
heading: string;
|
|
5017
|
+
body: string;
|
|
4915
5018
|
};
|
|
4916
5019
|
scale: {
|
|
4917
5020
|
xs: {
|
|
@@ -5469,6 +5572,9 @@ interface SpectreModeTokens {
|
|
|
5469
5572
|
};
|
|
5470
5573
|
component: ComponentTokens<SemanticTokenValue>;
|
|
5471
5574
|
action?: Record<string, SemanticTokenValue>;
|
|
5575
|
+
decorative?: {
|
|
5576
|
+
gradient: Record<string, SemanticTokenValue>;
|
|
5577
|
+
};
|
|
5472
5578
|
buttons?: Record<string, Record<string, SemanticTokenValue>>;
|
|
5473
5579
|
link?: Record<string, SemanticTokenValue>;
|
|
5474
5580
|
}
|