@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/tokens.dtcg.json
CHANGED
|
@@ -5658,6 +5658,24 @@
|
|
|
5658
5658
|
}
|
|
5659
5659
|
},
|
|
5660
5660
|
"dark": {
|
|
5661
|
+
"decorative": {
|
|
5662
|
+
"gradient": {
|
|
5663
|
+
"action": {
|
|
5664
|
+
"$value": [
|
|
5665
|
+
{
|
|
5666
|
+
"color": "{colors.brand.300}",
|
|
5667
|
+
"position": 0
|
|
5668
|
+
},
|
|
5669
|
+
{
|
|
5670
|
+
"color": "{colors.brand.500}",
|
|
5671
|
+
"position": 1
|
|
5672
|
+
}
|
|
5673
|
+
],
|
|
5674
|
+
"$type": "gradient",
|
|
5675
|
+
"$description": "action gradient lifted two steps to read on the dark page"
|
|
5676
|
+
}
|
|
5677
|
+
}
|
|
5678
|
+
},
|
|
5661
5679
|
"action": {
|
|
5662
5680
|
"onPage": {
|
|
5663
5681
|
"$value": "{colors.brand.400}",
|
|
@@ -8207,9 +8225,72 @@
|
|
|
8207
8225
|
"$type": "color",
|
|
8208
8226
|
"$description": "underline colour for inline links on hover"
|
|
8209
8227
|
}
|
|
8228
|
+
},
|
|
8229
|
+
"buttons": {
|
|
8230
|
+
"secondary": {
|
|
8231
|
+
"bg": {
|
|
8232
|
+
"$value": "transparent",
|
|
8233
|
+
"$type": "string",
|
|
8234
|
+
"$description": "outlined on dark surfaces: the page or card shows through"
|
|
8235
|
+
},
|
|
8236
|
+
"bgHover": {
|
|
8237
|
+
"$value": "{colors.neutral.800}",
|
|
8238
|
+
"$type": "color"
|
|
8239
|
+
},
|
|
8240
|
+
"bgActive": {
|
|
8241
|
+
"$value": "{colors.neutral.700}",
|
|
8242
|
+
"$type": "color"
|
|
8243
|
+
},
|
|
8244
|
+
"bgDisabled": {
|
|
8245
|
+
"$value": "transparent",
|
|
8246
|
+
"$type": "string"
|
|
8247
|
+
},
|
|
8248
|
+
"text": {
|
|
8249
|
+
"$value": "{colors.info.300}",
|
|
8250
|
+
"$type": "color"
|
|
8251
|
+
},
|
|
8252
|
+
"textDisabled": {
|
|
8253
|
+
"$value": "{colors.neutral.500}",
|
|
8254
|
+
"$type": "color"
|
|
8255
|
+
},
|
|
8256
|
+
"border": {
|
|
8257
|
+
"$value": "{colors.info.400}",
|
|
8258
|
+
"$type": "color"
|
|
8259
|
+
},
|
|
8260
|
+
"borderDisabled": {
|
|
8261
|
+
"$value": "{colors.neutral.700}",
|
|
8262
|
+
"$type": "color"
|
|
8263
|
+
},
|
|
8264
|
+
"focusRing": {
|
|
8265
|
+
"$value": "{colors.info.500} / 0.4",
|
|
8266
|
+
"$type": "color"
|
|
8267
|
+
},
|
|
8268
|
+
"focusVisible": {
|
|
8269
|
+
"$value": "{colors.info.500} / 0.4",
|
|
8270
|
+
"$type": "color"
|
|
8271
|
+
}
|
|
8272
|
+
}
|
|
8210
8273
|
}
|
|
8211
8274
|
},
|
|
8212
8275
|
"highContrast": {
|
|
8276
|
+
"decorative": {
|
|
8277
|
+
"gradient": {
|
|
8278
|
+
"action": {
|
|
8279
|
+
"$value": [
|
|
8280
|
+
{
|
|
8281
|
+
"color": "{colors.brand.700}",
|
|
8282
|
+
"position": 0
|
|
8283
|
+
},
|
|
8284
|
+
{
|
|
8285
|
+
"color": "{colors.brand.900}",
|
|
8286
|
+
"position": 1
|
|
8287
|
+
}
|
|
8288
|
+
],
|
|
8289
|
+
"$type": "gradient",
|
|
8290
|
+
"$description": "action gradient dropped two steps for high-contrast mode"
|
|
8291
|
+
}
|
|
8292
|
+
}
|
|
8293
|
+
},
|
|
8213
8294
|
"action": {
|
|
8214
8295
|
"bg": {
|
|
8215
8296
|
"$value": "{colors.brand.800}",
|
|
@@ -13136,6 +13217,98 @@
|
|
|
13136
13217
|
"$value": "#0e0a05",
|
|
13137
13218
|
"$type": "color"
|
|
13138
13219
|
}
|
|
13220
|
+
},
|
|
13221
|
+
"bradpotts-teal": {
|
|
13222
|
+
"50": {
|
|
13223
|
+
"$value": "#f1fdfc",
|
|
13224
|
+
"$type": "color"
|
|
13225
|
+
},
|
|
13226
|
+
"100": {
|
|
13227
|
+
"$value": "#cef9f7",
|
|
13228
|
+
"$type": "color"
|
|
13229
|
+
},
|
|
13230
|
+
"200": {
|
|
13231
|
+
"$value": "#9cf4f0",
|
|
13232
|
+
"$type": "color"
|
|
13233
|
+
},
|
|
13234
|
+
"300": {
|
|
13235
|
+
"$value": "#5ae8e5",
|
|
13236
|
+
"$type": "color"
|
|
13237
|
+
},
|
|
13238
|
+
"400": {
|
|
13239
|
+
"$value": "#34d1cf",
|
|
13240
|
+
"$type": "color"
|
|
13241
|
+
},
|
|
13242
|
+
"500": {
|
|
13243
|
+
"$value": "#2db7b6",
|
|
13244
|
+
"$type": "color"
|
|
13245
|
+
},
|
|
13246
|
+
"600": {
|
|
13247
|
+
"$value": "#249394",
|
|
13248
|
+
"$type": "color"
|
|
13249
|
+
},
|
|
13250
|
+
"700": {
|
|
13251
|
+
"$value": "#1c7578",
|
|
13252
|
+
"$type": "color"
|
|
13253
|
+
},
|
|
13254
|
+
"800": {
|
|
13255
|
+
"$value": "#165d61",
|
|
13256
|
+
"$type": "color"
|
|
13257
|
+
},
|
|
13258
|
+
"900": {
|
|
13259
|
+
"$value": "#174d50",
|
|
13260
|
+
"$type": "color"
|
|
13261
|
+
},
|
|
13262
|
+
"950": {
|
|
13263
|
+
"$value": "#092e31",
|
|
13264
|
+
"$type": "color"
|
|
13265
|
+
}
|
|
13266
|
+
},
|
|
13267
|
+
"bradpotts-ink": {
|
|
13268
|
+
"50": {
|
|
13269
|
+
"$value": "#f7fafb",
|
|
13270
|
+
"$type": "color"
|
|
13271
|
+
},
|
|
13272
|
+
"100": {
|
|
13273
|
+
"$value": "#f0f6f8",
|
|
13274
|
+
"$type": "color"
|
|
13275
|
+
},
|
|
13276
|
+
"200": {
|
|
13277
|
+
"$value": "#dfe9ee",
|
|
13278
|
+
"$type": "color"
|
|
13279
|
+
},
|
|
13280
|
+
"300": {
|
|
13281
|
+
"$value": "#c6d7df",
|
|
13282
|
+
"$type": "color"
|
|
13283
|
+
},
|
|
13284
|
+
"400": {
|
|
13285
|
+
"$value": "#85a5b3",
|
|
13286
|
+
"$type": "color"
|
|
13287
|
+
},
|
|
13288
|
+
"500": {
|
|
13289
|
+
"$value": "#557987",
|
|
13290
|
+
"$type": "color"
|
|
13291
|
+
},
|
|
13292
|
+
"600": {
|
|
13293
|
+
"$value": "#395966",
|
|
13294
|
+
"$type": "color"
|
|
13295
|
+
},
|
|
13296
|
+
"700": {
|
|
13297
|
+
"$value": "#244552",
|
|
13298
|
+
"$type": "color"
|
|
13299
|
+
},
|
|
13300
|
+
"800": {
|
|
13301
|
+
"$value": "#0f2d38",
|
|
13302
|
+
"$type": "color"
|
|
13303
|
+
},
|
|
13304
|
+
"900": {
|
|
13305
|
+
"$value": "#001b25",
|
|
13306
|
+
"$type": "color"
|
|
13307
|
+
},
|
|
13308
|
+
"950": {
|
|
13309
|
+
"$value": "#00090f",
|
|
13310
|
+
"$type": "color"
|
|
13311
|
+
}
|
|
13139
13312
|
}
|
|
13140
13313
|
}
|
|
13141
13314
|
},
|
|
@@ -13458,6 +13631,10 @@
|
|
|
13458
13631
|
"slowest": {
|
|
13459
13632
|
"$value": "1200ms",
|
|
13460
13633
|
"$type": "duration"
|
|
13634
|
+
},
|
|
13635
|
+
"ambient": {
|
|
13636
|
+
"$value": "7000ms",
|
|
13637
|
+
"$type": "duration"
|
|
13461
13638
|
}
|
|
13462
13639
|
},
|
|
13463
13640
|
"easing": {
|
|
@@ -14636,6 +14813,138 @@
|
|
|
14636
14813
|
}
|
|
14637
14814
|
}
|
|
14638
14815
|
},
|
|
14816
|
+
"decorative": {
|
|
14817
|
+
"pattern": {
|
|
14818
|
+
"cell": {
|
|
14819
|
+
"sm": {
|
|
14820
|
+
"$value": "{space.12}",
|
|
14821
|
+
"$type": "dimension"
|
|
14822
|
+
},
|
|
14823
|
+
"md": {
|
|
14824
|
+
"$value": "{space.20}",
|
|
14825
|
+
"$type": "dimension"
|
|
14826
|
+
},
|
|
14827
|
+
"lg": {
|
|
14828
|
+
"$value": "{space.32}",
|
|
14829
|
+
"$type": "dimension"
|
|
14830
|
+
},
|
|
14831
|
+
"xl": {
|
|
14832
|
+
"$value": "{space.48}",
|
|
14833
|
+
"$type": "dimension"
|
|
14834
|
+
}
|
|
14835
|
+
},
|
|
14836
|
+
"dotRadius": {
|
|
14837
|
+
"sm": {
|
|
14838
|
+
"$value": "{space.1}",
|
|
14839
|
+
"$type": "dimension"
|
|
14840
|
+
},
|
|
14841
|
+
"md": {
|
|
14842
|
+
"$value": "{space.2}",
|
|
14843
|
+
"$type": "dimension"
|
|
14844
|
+
},
|
|
14845
|
+
"lg": {
|
|
14846
|
+
"$value": "{space.4}",
|
|
14847
|
+
"$type": "dimension"
|
|
14848
|
+
}
|
|
14849
|
+
},
|
|
14850
|
+
"lineWeight": {
|
|
14851
|
+
"sm": {
|
|
14852
|
+
"$value": "{space.1}",
|
|
14853
|
+
"$type": "dimension"
|
|
14854
|
+
},
|
|
14855
|
+
"md": {
|
|
14856
|
+
"$value": "{space.2}",
|
|
14857
|
+
"$type": "dimension"
|
|
14858
|
+
},
|
|
14859
|
+
"lg": {
|
|
14860
|
+
"$value": "{space.4}",
|
|
14861
|
+
"$type": "dimension"
|
|
14862
|
+
}
|
|
14863
|
+
},
|
|
14864
|
+
"opacity": {
|
|
14865
|
+
"subtle": {
|
|
14866
|
+
"$value": 0.25,
|
|
14867
|
+
"$type": "number"
|
|
14868
|
+
},
|
|
14869
|
+
"muted": {
|
|
14870
|
+
"$value": 0.5,
|
|
14871
|
+
"$type": "number"
|
|
14872
|
+
},
|
|
14873
|
+
"strong": {
|
|
14874
|
+
"$value": 0.75,
|
|
14875
|
+
"$type": "number"
|
|
14876
|
+
}
|
|
14877
|
+
}
|
|
14878
|
+
},
|
|
14879
|
+
"fade": {
|
|
14880
|
+
"edge": {
|
|
14881
|
+
"solid": {
|
|
14882
|
+
"$value": "0%",
|
|
14883
|
+
"$type": "dimension"
|
|
14884
|
+
},
|
|
14885
|
+
"clear": {
|
|
14886
|
+
"$value": "100%",
|
|
14887
|
+
"$type": "dimension"
|
|
14888
|
+
}
|
|
14889
|
+
},
|
|
14890
|
+
"corner": {
|
|
14891
|
+
"solid": {
|
|
14892
|
+
"$value": "0%",
|
|
14893
|
+
"$type": "dimension"
|
|
14894
|
+
},
|
|
14895
|
+
"clear": {
|
|
14896
|
+
"$value": "50%",
|
|
14897
|
+
"$type": "dimension"
|
|
14898
|
+
}
|
|
14899
|
+
},
|
|
14900
|
+
"radial": {
|
|
14901
|
+
"solid": {
|
|
14902
|
+
"$value": "25%",
|
|
14903
|
+
"$type": "dimension"
|
|
14904
|
+
},
|
|
14905
|
+
"clear": {
|
|
14906
|
+
"$value": "75%",
|
|
14907
|
+
"$type": "dimension"
|
|
14908
|
+
}
|
|
14909
|
+
}
|
|
14910
|
+
},
|
|
14911
|
+
"shimmer": {
|
|
14912
|
+
"band": {
|
|
14913
|
+
"start": {
|
|
14914
|
+
"$value": "35%",
|
|
14915
|
+
"$type": "dimension"
|
|
14916
|
+
},
|
|
14917
|
+
"peak": {
|
|
14918
|
+
"$value": "50%",
|
|
14919
|
+
"$type": "dimension"
|
|
14920
|
+
},
|
|
14921
|
+
"end": {
|
|
14922
|
+
"$value": "65%",
|
|
14923
|
+
"$type": "dimension"
|
|
14924
|
+
}
|
|
14925
|
+
},
|
|
14926
|
+
"travel": {
|
|
14927
|
+
"$value": "60%",
|
|
14928
|
+
"$type": "dimension"
|
|
14929
|
+
}
|
|
14930
|
+
},
|
|
14931
|
+
"gradient": {
|
|
14932
|
+
"action": {
|
|
14933
|
+
"$value": [
|
|
14934
|
+
{
|
|
14935
|
+
"color": "{colors.brand.500}",
|
|
14936
|
+
"position": 0
|
|
14937
|
+
},
|
|
14938
|
+
{
|
|
14939
|
+
"color": "{colors.brand.700}",
|
|
14940
|
+
"position": 1
|
|
14941
|
+
}
|
|
14942
|
+
],
|
|
14943
|
+
"$type": "gradient",
|
|
14944
|
+
"$description": "decorative gradient from the action ramp, for gradient text, rules, and fills; follows data-spectre-action and the colour mode"
|
|
14945
|
+
}
|
|
14946
|
+
}
|
|
14947
|
+
},
|
|
14639
14948
|
"font": {
|
|
14640
14949
|
"xs": {
|
|
14641
14950
|
"size": {
|
|
@@ -14903,6 +15212,14 @@
|
|
|
14903
15212
|
"monospace"
|
|
14904
15213
|
],
|
|
14905
15214
|
"$type": "fontFamily"
|
|
15215
|
+
},
|
|
15216
|
+
"heading": {
|
|
15217
|
+
"$value": "{typography.families.sans}",
|
|
15218
|
+
"$type": "fontFamily"
|
|
15219
|
+
},
|
|
15220
|
+
"body": {
|
|
15221
|
+
"$value": "{typography.families.sans}",
|
|
15222
|
+
"$type": "fontFamily"
|
|
14906
15223
|
}
|
|
14907
15224
|
},
|
|
14908
15225
|
"scale": {
|
|
@@ -15144,7 +15461,7 @@
|
|
|
15144
15461
|
"heading": {
|
|
15145
15462
|
"h1": {
|
|
15146
15463
|
"fontFamily": {
|
|
15147
|
-
"$value": "{typography.families.
|
|
15464
|
+
"$value": "{typography.families.heading}",
|
|
15148
15465
|
"$type": "fontFamily"
|
|
15149
15466
|
},
|
|
15150
15467
|
"fontSize": {
|
|
@@ -15166,7 +15483,7 @@
|
|
|
15166
15483
|
},
|
|
15167
15484
|
"h2": {
|
|
15168
15485
|
"fontFamily": {
|
|
15169
|
-
"$value": "{typography.families.
|
|
15486
|
+
"$value": "{typography.families.heading}",
|
|
15170
15487
|
"$type": "fontFamily"
|
|
15171
15488
|
},
|
|
15172
15489
|
"fontSize": {
|
|
@@ -15188,7 +15505,7 @@
|
|
|
15188
15505
|
},
|
|
15189
15506
|
"h3": {
|
|
15190
15507
|
"fontFamily": {
|
|
15191
|
-
"$value": "{typography.families.
|
|
15508
|
+
"$value": "{typography.families.heading}",
|
|
15192
15509
|
"$type": "fontFamily"
|
|
15193
15510
|
},
|
|
15194
15511
|
"fontSize": {
|
|
@@ -15210,7 +15527,7 @@
|
|
|
15210
15527
|
},
|
|
15211
15528
|
"h4": {
|
|
15212
15529
|
"fontFamily": {
|
|
15213
|
-
"$value": "{typography.families.
|
|
15530
|
+
"$value": "{typography.families.heading}",
|
|
15214
15531
|
"$type": "fontFamily"
|
|
15215
15532
|
},
|
|
15216
15533
|
"fontSize": {
|
|
@@ -15232,7 +15549,7 @@
|
|
|
15232
15549
|
},
|
|
15233
15550
|
"h5": {
|
|
15234
15551
|
"fontFamily": {
|
|
15235
|
-
"$value": "{typography.families.
|
|
15552
|
+
"$value": "{typography.families.heading}",
|
|
15236
15553
|
"$type": "fontFamily"
|
|
15237
15554
|
},
|
|
15238
15555
|
"fontSize": {
|
|
@@ -15254,7 +15571,7 @@
|
|
|
15254
15571
|
},
|
|
15255
15572
|
"h6": {
|
|
15256
15573
|
"fontFamily": {
|
|
15257
|
-
"$value": "{typography.families.
|
|
15574
|
+
"$value": "{typography.families.heading}",
|
|
15258
15575
|
"$type": "fontFamily"
|
|
15259
15576
|
},
|
|
15260
15577
|
"fontSize": {
|
|
@@ -15277,7 +15594,7 @@
|
|
|
15277
15594
|
},
|
|
15278
15595
|
"body": {
|
|
15279
15596
|
"fontFamily": {
|
|
15280
|
-
"$value": "{typography.families.
|
|
15597
|
+
"$value": "{typography.families.body}",
|
|
15281
15598
|
"$type": "fontFamily"
|
|
15282
15599
|
},
|
|
15283
15600
|
"fontSize": {
|
|
@@ -15300,7 +15617,7 @@
|
|
|
15300
15617
|
"display": {
|
|
15301
15618
|
"1": {
|
|
15302
15619
|
"fontFamily": {
|
|
15303
|
-
"$value": "{typography.families.
|
|
15620
|
+
"$value": "{typography.families.heading}",
|
|
15304
15621
|
"$type": "fontFamily"
|
|
15305
15622
|
},
|
|
15306
15623
|
"fontSize": {
|
|
@@ -15322,7 +15639,7 @@
|
|
|
15322
15639
|
},
|
|
15323
15640
|
"2": {
|
|
15324
15641
|
"fontFamily": {
|
|
15325
|
-
"$value": "{typography.families.
|
|
15642
|
+
"$value": "{typography.families.heading}",
|
|
15326
15643
|
"$type": "fontFamily"
|
|
15327
15644
|
},
|
|
15328
15645
|
"fontSize": {
|
|
@@ -15344,7 +15661,7 @@
|
|
|
15344
15661
|
},
|
|
15345
15662
|
"3": {
|
|
15346
15663
|
"fontFamily": {
|
|
15347
|
-
"$value": "{typography.families.
|
|
15664
|
+
"$value": "{typography.families.heading}",
|
|
15348
15665
|
"$type": "fontFamily"
|
|
15349
15666
|
},
|
|
15350
15667
|
"fontSize": {
|
|
@@ -15366,7 +15683,7 @@
|
|
|
15366
15683
|
},
|
|
15367
15684
|
"4": {
|
|
15368
15685
|
"fontFamily": {
|
|
15369
|
-
"$value": "{typography.families.
|
|
15686
|
+
"$value": "{typography.families.heading}",
|
|
15370
15687
|
"$type": "fontFamily"
|
|
15371
15688
|
},
|
|
15372
15689
|
"fontSize": {
|
|
@@ -15388,7 +15705,7 @@
|
|
|
15388
15705
|
},
|
|
15389
15706
|
"5": {
|
|
15390
15707
|
"fontFamily": {
|
|
15391
|
-
"$value": "{typography.families.
|
|
15708
|
+
"$value": "{typography.families.heading}",
|
|
15392
15709
|
"$type": "fontFamily"
|
|
15393
15710
|
},
|
|
15394
15711
|
"fontSize": {
|
|
@@ -15410,7 +15727,7 @@
|
|
|
15410
15727
|
},
|
|
15411
15728
|
"6": {
|
|
15412
15729
|
"fontFamily": {
|
|
15413
|
-
"$value": "{typography.families.
|
|
15730
|
+
"$value": "{typography.families.heading}",
|
|
15414
15731
|
"$type": "fontFamily"
|
|
15415
15732
|
},
|
|
15416
15733
|
"fontSize": {
|
|
@@ -15433,7 +15750,7 @@
|
|
|
15433
15750
|
},
|
|
15434
15751
|
"lead": {
|
|
15435
15752
|
"fontFamily": {
|
|
15436
|
-
"$value": "{typography.families.
|
|
15753
|
+
"$value": "{typography.families.body}",
|
|
15437
15754
|
"$type": "fontFamily"
|
|
15438
15755
|
},
|
|
15439
15756
|
"fontSize": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phcdevworks/spectre-tokens",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.0",
|
|
4
4
|
"description": "@phcdevworks/spectre-tokens is the design-token foundation of the Spectre system. It provides the shared visual values and semantic contracts used across Spectre packages and PHCDevworks applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"phcdevworks",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"node": "^22.12.0 || >=24.0.0"
|
|
36
36
|
},
|
|
37
37
|
"type": "module",
|
|
38
|
-
"packageManager": "npm@12.2.
|
|
38
|
+
"packageManager": "npm@12.2.3",
|
|
39
39
|
"main": "./dist/index.cjs",
|
|
40
40
|
"module": "./dist/index.js",
|
|
41
41
|
"types": "./dist/index.d.ts",
|
|
@@ -102,21 +102,21 @@
|
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
104
|
"@phcdevworks/spectre-manifest": "^2.0.0",
|
|
105
|
-
"@types/node": "^26.6.
|
|
106
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
107
|
-
"@typescript-eslint/parser": "^8.
|
|
105
|
+
"@types/node": "^26.6.11",
|
|
106
|
+
"@typescript-eslint/eslint-plugin": "^8.74.0",
|
|
107
|
+
"@typescript-eslint/parser": "^8.74.0",
|
|
108
108
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
109
|
-
"colord": "^2.
|
|
110
|
-
"eslint": "^10.
|
|
109
|
+
"colord": "^2.14.1",
|
|
110
|
+
"eslint": "^10.16.0",
|
|
111
111
|
"jiti": "^2.7.0",
|
|
112
|
-
"prettier": "^3.
|
|
113
|
-
"style-dictionary": "^5.
|
|
112
|
+
"prettier": "^3.10.2",
|
|
113
|
+
"style-dictionary": "^5.8.0",
|
|
114
114
|
"ts-node": "^10.9.2",
|
|
115
115
|
"tsup": "^9.0.0",
|
|
116
116
|
"tsx": "^4.23.15",
|
|
117
117
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
118
|
-
"typescript-eslint": "^8.
|
|
119
|
-
"vitest": "^5.
|
|
118
|
+
"typescript-eslint": "^8.74.0",
|
|
119
|
+
"vitest": "^5.1.2"
|
|
120
120
|
},
|
|
121
121
|
"overrides": {
|
|
122
122
|
"esbuild": "0.28.1"
|
package/tokens/modes.json
CHANGED
|
@@ -2909,6 +2909,14 @@
|
|
|
2909
2909
|
}
|
|
2910
2910
|
},
|
|
2911
2911
|
"dark": {
|
|
2912
|
+
"decorative": {
|
|
2913
|
+
"gradient": {
|
|
2914
|
+
"action": {
|
|
2915
|
+
"value": "linear-gradient(135deg, {colors.brand.300} 0%, {colors.brand.500} 100%)",
|
|
2916
|
+
"description": "action gradient lifted two steps to read on the dark page"
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
},
|
|
2912
2920
|
"action": {
|
|
2913
2921
|
"onPage": {
|
|
2914
2922
|
"value": "{colors.brand.400}",
|
|
@@ -5898,9 +5906,61 @@
|
|
|
5898
5906
|
"value": "{colors.brand.300}",
|
|
5899
5907
|
"description": "underline colour for inline links on hover"
|
|
5900
5908
|
}
|
|
5909
|
+
},
|
|
5910
|
+
"buttons": {
|
|
5911
|
+
"secondary": {
|
|
5912
|
+
"bg": {
|
|
5913
|
+
"value": "transparent",
|
|
5914
|
+
"description": "outlined on dark surfaces: the page or card shows through"
|
|
5915
|
+
},
|
|
5916
|
+
"bgHover": {
|
|
5917
|
+
"value": "{colors.neutral.800}",
|
|
5918
|
+
"metadata": {
|
|
5919
|
+
"pair": "modes.dark.buttons.secondary.text"
|
|
5920
|
+
}
|
|
5921
|
+
},
|
|
5922
|
+
"bgActive": {
|
|
5923
|
+
"value": "{colors.neutral.700}",
|
|
5924
|
+
"metadata": {
|
|
5925
|
+
"pair": "modes.dark.buttons.secondary.text"
|
|
5926
|
+
}
|
|
5927
|
+
},
|
|
5928
|
+
"bgDisabled": {
|
|
5929
|
+
"value": "transparent"
|
|
5930
|
+
},
|
|
5931
|
+
"text": {
|
|
5932
|
+
"value": "{colors.info.300}",
|
|
5933
|
+
"metadata": {
|
|
5934
|
+
"pair": "modes.dark.surface.page"
|
|
5935
|
+
}
|
|
5936
|
+
},
|
|
5937
|
+
"textDisabled": {
|
|
5938
|
+
"value": "{colors.neutral.500}"
|
|
5939
|
+
},
|
|
5940
|
+
"border": {
|
|
5941
|
+
"value": "{colors.info.400}"
|
|
5942
|
+
},
|
|
5943
|
+
"borderDisabled": {
|
|
5944
|
+
"value": "{colors.neutral.700}"
|
|
5945
|
+
},
|
|
5946
|
+
"focusRing": {
|
|
5947
|
+
"value": "{colors.info.500} / 0.4"
|
|
5948
|
+
},
|
|
5949
|
+
"focusVisible": {
|
|
5950
|
+
"value": "{colors.info.500} / 0.4"
|
|
5951
|
+
}
|
|
5952
|
+
}
|
|
5901
5953
|
}
|
|
5902
5954
|
},
|
|
5903
5955
|
"highContrast": {
|
|
5956
|
+
"decorative": {
|
|
5957
|
+
"gradient": {
|
|
5958
|
+
"action": {
|
|
5959
|
+
"value": "linear-gradient(135deg, {colors.brand.700} 0%, {colors.brand.900} 100%)",
|
|
5960
|
+
"description": "action gradient dropped two steps for high-contrast mode"
|
|
5961
|
+
}
|
|
5962
|
+
}
|
|
5963
|
+
},
|
|
5904
5964
|
"action": {
|
|
5905
5965
|
"bg": {
|
|
5906
5966
|
"value": "{colors.brand.800}",
|
package/tokens/palette.json
CHANGED
|
@@ -527,6 +527,32 @@
|
|
|
527
527
|
"800": "#2b251b",
|
|
528
528
|
"900": "#1f190e",
|
|
529
529
|
"950": "#0e0a05"
|
|
530
|
+
},
|
|
531
|
+
"bradpotts-teal": {
|
|
532
|
+
"50": "#f1fdfc",
|
|
533
|
+
"100": "#cef9f7",
|
|
534
|
+
"200": "#9cf4f0",
|
|
535
|
+
"300": "#5ae8e5",
|
|
536
|
+
"400": "#34d1cf",
|
|
537
|
+
"500": "#2db7b6",
|
|
538
|
+
"600": "#249394",
|
|
539
|
+
"700": "#1c7578",
|
|
540
|
+
"800": "#165d61",
|
|
541
|
+
"900": "#174d50",
|
|
542
|
+
"950": "#092e31"
|
|
543
|
+
},
|
|
544
|
+
"bradpotts-ink": {
|
|
545
|
+
"50": "#f7fafb",
|
|
546
|
+
"100": "#f0f6f8",
|
|
547
|
+
"200": "#dfe9ee",
|
|
548
|
+
"300": "#c6d7df",
|
|
549
|
+
"400": "#85a5b3",
|
|
550
|
+
"500": "#557987",
|
|
551
|
+
"600": "#395966",
|
|
552
|
+
"700": "#244552",
|
|
553
|
+
"800": "#0f2d38",
|
|
554
|
+
"900": "#001b25",
|
|
555
|
+
"950": "#00090f"
|
|
530
556
|
}
|
|
531
557
|
}
|
|
532
558
|
}
|