@phcdevworks/spectre-tokens 4.5.0 → 4.8.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.
@@ -8,6 +8,20 @@
8
8
  "textMuted": {
9
9
  "$value": "{colors.neutral.600}",
10
10
  "$type": "color"
11
+ },
12
+ "padding": {
13
+ "sm": {
14
+ "$value": "1.5rem",
15
+ "$type": "dimension"
16
+ },
17
+ "md": {
18
+ "$value": "2rem",
19
+ "$type": "dimension"
20
+ },
21
+ "lg": {
22
+ "$value": "2.5rem",
23
+ "$type": "dimension"
24
+ }
11
25
  }
12
26
  },
13
27
  "input": {
@@ -90,6 +104,22 @@
90
104
  "dangerText": {
91
105
  "$value": "{colors.error.800}",
92
106
  "$type": "color"
107
+ },
108
+ "inverseBg": {
109
+ "$value": "{colors.white} / 0.16",
110
+ "$type": "color"
111
+ },
112
+ "inverseBgHover": {
113
+ "$value": "{colors.white} / 0.24",
114
+ "$type": "color"
115
+ },
116
+ "inverseText": {
117
+ "$value": "{colors.white}",
118
+ "$type": "color"
119
+ },
120
+ "inverseBorder": {
121
+ "$value": "{colors.white} / 0.3",
122
+ "$type": "color"
93
123
  }
94
124
  },
95
125
  "iconBox": {
@@ -833,6 +863,48 @@
833
863
  "$value": "{colors.accent.500} / 0.4",
834
864
  "$type": "color"
835
865
  }
866
+ },
867
+ "inverse": {
868
+ "bg": {
869
+ "$value": "{colors.white} / 0.12",
870
+ "$type": "color"
871
+ },
872
+ "bgHover": {
873
+ "$value": "{colors.white} / 0.2",
874
+ "$type": "color"
875
+ },
876
+ "bgActive": {
877
+ "$value": "{colors.white} / 0.28",
878
+ "$type": "color"
879
+ },
880
+ "bgDisabled": {
881
+ "$value": "{colors.white} / 0.08",
882
+ "$type": "color"
883
+ },
884
+ "text": {
885
+ "$value": "{colors.white}",
886
+ "$type": "color"
887
+ },
888
+ "textDisabled": {
889
+ "$value": "{colors.neutral.400}",
890
+ "$type": "color"
891
+ },
892
+ "border": {
893
+ "$value": "{colors.white} / 0.3",
894
+ "$type": "color"
895
+ },
896
+ "borderDisabled": {
897
+ "$value": "{colors.white} / 0.16",
898
+ "$type": "color"
899
+ },
900
+ "focusRing": {
901
+ "$value": "{colors.info.500} / 0.4",
902
+ "$type": "color"
903
+ },
904
+ "focusVisible": {
905
+ "$value": "{colors.info.500} / 0.4",
906
+ "$type": "color"
907
+ }
836
908
  }
837
909
  },
838
910
  "forms": {
@@ -3744,6 +3816,328 @@
3744
3816
  "$value": "#0c0a09",
3745
3817
  "$type": "color"
3746
3818
  }
3819
+ },
3820
+ "integration-ink": {
3821
+ "50": {
3822
+ "$value": "#fafafb",
3823
+ "$type": "color"
3824
+ },
3825
+ "100": {
3826
+ "$value": "#f5f5f6",
3827
+ "$type": "color"
3828
+ },
3829
+ "200": {
3830
+ "$value": "#e7e8e9",
3831
+ "$type": "color"
3832
+ },
3833
+ "300": {
3834
+ "$value": "#d3d4d6",
3835
+ "$type": "color"
3836
+ },
3837
+ "400": {
3838
+ "$value": "#9ea0a3",
3839
+ "$type": "color"
3840
+ },
3841
+ "500": {
3842
+ "$value": "#707376",
3843
+ "$type": "color"
3844
+ },
3845
+ "600": {
3846
+ "$value": "#525457",
3847
+ "$type": "color"
3848
+ },
3849
+ "700": {
3850
+ "$value": "#3e4143",
3851
+ "$type": "color"
3852
+ },
3853
+ "800": {
3854
+ "$value": "#27292b",
3855
+ "$type": "color"
3856
+ },
3857
+ "900": {
3858
+ "$value": "#16181a",
3859
+ "$type": "color"
3860
+ },
3861
+ "950": {
3862
+ "$value": "#06080a",
3863
+ "$type": "color"
3864
+ }
3865
+ },
3866
+ "integration-gunmetal": {
3867
+ "50": {
3868
+ "$value": "#f0f0f1",
3869
+ "$type": "color"
3870
+ },
3871
+ "100": {
3872
+ "$value": "#eaebec",
3873
+ "$type": "color"
3874
+ },
3875
+ "200": {
3876
+ "$value": "#dddedf",
3877
+ "$type": "color"
3878
+ },
3879
+ "300": {
3880
+ "$value": "#c8cbcd",
3881
+ "$type": "color"
3882
+ },
3883
+ "400": {
3884
+ "$value": "#93979a",
3885
+ "$type": "color"
3886
+ },
3887
+ "500": {
3888
+ "$value": "#666b6e",
3889
+ "$type": "color"
3890
+ },
3891
+ "600": {
3892
+ "$value": "#484c50",
3893
+ "$type": "color"
3894
+ },
3895
+ "700": {
3896
+ "$value": "#35393c",
3897
+ "$type": "color"
3898
+ },
3899
+ "800": {
3900
+ "$value": "#1f2225",
3901
+ "$type": "color"
3902
+ },
3903
+ "900": {
3904
+ "$value": "#0c1014",
3905
+ "$type": "color"
3906
+ },
3907
+ "950": {
3908
+ "$value": "#000104",
3909
+ "$type": "color"
3910
+ }
3911
+ },
3912
+ "integration-signal-blue": {
3913
+ "50": {
3914
+ "$value": "#ebf0f9",
3915
+ "$type": "color"
3916
+ },
3917
+ "100": {
3918
+ "$value": "#d8e3f8",
3919
+ "$type": "color"
3920
+ },
3921
+ "200": {
3922
+ "$value": "#bfd4f9",
3923
+ "$type": "color"
3924
+ },
3925
+ "300": {
3926
+ "$value": "#95bdf9",
3927
+ "$type": "color"
3928
+ },
3929
+ "400": {
3930
+ "$value": "#4a9df7",
3931
+ "$type": "color"
3932
+ },
3933
+ "500": {
3934
+ "$value": "#0083f7",
3935
+ "$type": "color"
3936
+ },
3937
+ "600": {
3938
+ "$value": "#006dfa",
3939
+ "$type": "color"
3940
+ },
3941
+ "700": {
3942
+ "$value": "#005ce8",
3943
+ "$type": "color"
3944
+ },
3945
+ "800": {
3946
+ "$value": "#004bb8",
3947
+ "$type": "color"
3948
+ },
3949
+ "900": {
3950
+ "$value": "#003f8a",
3951
+ "$type": "color"
3952
+ },
3953
+ "950": {
3954
+ "$value": "#002552",
3955
+ "$type": "color"
3956
+ }
3957
+ },
3958
+ "integration-icy-blue": {
3959
+ "50": {
3960
+ "$value": "#e4f0fa",
3961
+ "$type": "color"
3962
+ },
3963
+ "100": {
3964
+ "$value": "#cbe5fb",
3965
+ "$type": "color"
3966
+ },
3967
+ "200": {
3968
+ "$value": "#a4d8ff",
3969
+ "$type": "color"
3970
+ },
3971
+ "300": {
3972
+ "$value": "#59c4ff",
3973
+ "$type": "color"
3974
+ },
3975
+ "400": {
3976
+ "$value": "#00a8ff",
3977
+ "$type": "color"
3978
+ },
3979
+ "500": {
3980
+ "$value": "#0090ff",
3981
+ "$type": "color"
3982
+ },
3983
+ "600": {
3984
+ "$value": "#007cff",
3985
+ "$type": "color"
3986
+ },
3987
+ "700": {
3988
+ "$value": "#006aff",
3989
+ "$type": "color"
3990
+ },
3991
+ "800": {
3992
+ "$value": "#0055ce",
3993
+ "$type": "color"
3994
+ },
3995
+ "900": {
3996
+ "$value": "#004699",
3997
+ "$type": "color"
3998
+ },
3999
+ "950": {
4000
+ "$value": "#002a5a",
4001
+ "$type": "color"
4002
+ }
4003
+ },
4004
+ "phcdevworks-raspberry-red": {
4005
+ "50": {
4006
+ "$value": "#fff3f4",
4007
+ "$type": "color"
4008
+ },
4009
+ "100": {
4010
+ "$value": "#ffe7e8",
4011
+ "$type": "color"
4012
+ },
4013
+ "200": {
4014
+ "$value": "#ffcfd2",
4015
+ "$type": "color"
4016
+ },
4017
+ "300": {
4018
+ "$value": "#fea5ae",
4019
+ "$type": "color"
4020
+ },
4021
+ "400": {
4022
+ "$value": "#fd6982",
4023
+ "$type": "color"
4024
+ },
4025
+ "500": {
4026
+ "$value": "#fe2b67",
4027
+ "$type": "color"
4028
+ },
4029
+ "600": {
4030
+ "$value": "#ee005a",
4031
+ "$type": "color"
4032
+ },
4033
+ "700": {
4034
+ "$value": "#c8054b",
4035
+ "$type": "color"
4036
+ },
4037
+ "800": {
4038
+ "$value": "#a4113e",
4039
+ "$type": "color"
4040
+ },
4041
+ "900": {
4042
+ "$value": "#8a1635",
4043
+ "$type": "color"
4044
+ },
4045
+ "950": {
4046
+ "$value": "#4d081a",
4047
+ "$type": "color"
4048
+ }
4049
+ },
4050
+ "phcdevworks-deep-space-blue": {
4051
+ "50": {
4052
+ "$value": "#edf1f7",
4053
+ "$type": "color"
4054
+ },
4055
+ "100": {
4056
+ "$value": "#dce5f1",
4057
+ "$type": "color"
4058
+ },
4059
+ "200": {
4060
+ "$value": "#c4d5ec",
4061
+ "$type": "color"
4062
+ },
4063
+ "300": {
4064
+ "$value": "#a1bee3",
4065
+ "$type": "color"
4066
+ },
4067
+ "400": {
4068
+ "$value": "#6b9ed5",
4069
+ "$type": "color"
4070
+ },
4071
+ "500": {
4072
+ "$value": "#2583ca",
4073
+ "$type": "color"
4074
+ },
4075
+ "600": {
4076
+ "$value": "#006dc2",
4077
+ "$type": "color"
4078
+ },
4079
+ "700": {
4080
+ "$value": "#005bb0",
4081
+ "$type": "color"
4082
+ },
4083
+ "800": {
4084
+ "$value": "#004a8c",
4085
+ "$type": "color"
4086
+ },
4087
+ "900": {
4088
+ "$value": "#003f6d",
4089
+ "$type": "color"
4090
+ },
4091
+ "950": {
4092
+ "$value": "#012641",
4093
+ "$type": "color"
4094
+ }
4095
+ },
4096
+ "phcdevworks-paper": {
4097
+ "50": {
4098
+ "$value": "#fcfaf7",
4099
+ "$type": "color"
4100
+ },
4101
+ "100": {
4102
+ "$value": "#f7f5f2",
4103
+ "$type": "color"
4104
+ },
4105
+ "200": {
4106
+ "$value": "#e9e5e0",
4107
+ "$type": "color"
4108
+ },
4109
+ "300": {
4110
+ "$value": "#d9d3ca",
4111
+ "$type": "color"
4112
+ },
4113
+ "400": {
4114
+ "$value": "#aca08b",
4115
+ "$type": "color"
4116
+ },
4117
+ "500": {
4118
+ "$value": "#807056",
4119
+ "$type": "color"
4120
+ },
4121
+ "600": {
4122
+ "$value": "#5e523d",
4123
+ "$type": "color"
4124
+ },
4125
+ "700": {
4126
+ "$value": "#4a3f2d",
4127
+ "$type": "color"
4128
+ },
4129
+ "800": {
4130
+ "$value": "#2b251b",
4131
+ "$type": "color"
4132
+ },
4133
+ "900": {
4134
+ "$value": "#1f190e",
4135
+ "$type": "color"
4136
+ },
4137
+ "950": {
4138
+ "$value": "#0e0a05",
4139
+ "$type": "color"
4140
+ }
3747
4141
  }
3748
4142
  }
3749
4143
  },
@@ -4567,6 +4961,11 @@
4567
4961
  "$value": "{colors.neutral.200}",
4568
4962
  "$type": "color",
4569
4963
  "$description": "hairline color for <hr>, table borders, and section separators"
4964
+ },
4965
+ "inverse": {
4966
+ "$value": "{colors.neutral.900}",
4967
+ "$type": "color",
4968
+ "$description": "fixed dark background for content islands not owned by the page's own light/dark mode — photo-backed cards, brand-dark card bodies, utility bars"
4570
4969
  }
4571
4970
  },
4572
4971
  "link": {
@@ -4589,6 +4988,16 @@
4589
4988
  "$value": "{colors.accent.700}",
4590
4989
  "$type": "color",
4591
4990
  "$description": "link color after the destination has been visited"
4991
+ },
4992
+ "onInverse": {
4993
+ "$value": "{colors.neutral.300}",
4994
+ "$type": "color",
4995
+ "$description": "default inline link color on surface.inverse, independent of page mode"
4996
+ },
4997
+ "onInverseHover": {
4998
+ "$value": "{colors.brand.300}",
4999
+ "$type": "color",
5000
+ "$description": "link color on hover, on surface.inverse"
4592
5001
  }
4593
5002
  },
4594
5003
  "text": {
@@ -4643,6 +5052,18 @@
4643
5052
  "$value": "{colors.brand.600}",
4644
5053
  "$type": "color"
4645
5054
  }
5055
+ },
5056
+ "onInverse": {
5057
+ "default": {
5058
+ "$value": "{colors.neutral.50}",
5059
+ "$type": "color",
5060
+ "$description": "base text on surface.inverse, independent of page mode"
5061
+ },
5062
+ "muted": {
5063
+ "$value": "{colors.neutral.300}",
5064
+ "$type": "color",
5065
+ "$description": "muted text on surface.inverse"
5066
+ }
4646
5067
  }
4647
5068
  },
4648
5069
  "layout": {
@@ -4714,6 +5135,10 @@
4714
5135
  "maxWidthProse": {
4715
5136
  "$value": "65ch",
4716
5137
  "$type": "string"
5138
+ },
5139
+ "maxWidthWide": {
5140
+ "$value": "80rem",
5141
+ "$type": "dimension"
4717
5142
  }
4718
5143
  },
4719
5144
  "sidebar": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phcdevworks/spectre-tokens",
3
- "version": "4.5.0",
3
+ "version": "4.8.0",
4
4
  "description": "@phcdevworks/spectre-tokens is the design-token package of the Spectre system. It provides a complete, UI-ready token surface for downstream Spectre packages and compatible applications.",
5
5
  "keywords": [
6
6
  "phcdevworks",
@@ -82,6 +82,7 @@
82
82
  "check:classification": "tsx scripts/check-change-classification.ts",
83
83
  "check:deprecation": "tsx scripts/check-deprecation.ts",
84
84
  "check:downstream": "tsx scripts/check-downstream-compat.ts",
85
+ "audit:downstream": "tsx scripts/audit-downstream-redeclarations.ts",
85
86
  "release:propose": "tsx scripts/propose-version.ts",
86
87
  "lint": "eslint .",
87
88
  "format": "prettier --write .",
@@ -99,21 +100,21 @@
99
100
  },
100
101
  "devDependencies": {
101
102
  "@phcdevworks/spectre-manifest": "^1.1.0",
102
- "@types/node": "^26.2.0",
103
- "@typescript-eslint/eslint-plugin": "^8.67.0",
104
- "@typescript-eslint/parser": "^8.67.0",
103
+ "@types/node": "^26.4.1",
104
+ "@typescript-eslint/eslint-plugin": "^8.69.0",
105
+ "@typescript-eslint/parser": "^8.69.0",
105
106
  "@typescript/native": "npm:typescript@^7.0.2",
106
- "colord": "^2.9.3",
107
- "eslint": "^10.8.1",
107
+ "colord": "^2.10.0",
108
+ "eslint": "^10.10.0",
108
109
  "jiti": "^2.7.0",
109
110
  "prettier": "^3.9.6",
110
- "style-dictionary": "^5.5.1",
111
+ "style-dictionary": "^5.5.2",
111
112
  "ts-node": "^10.9.2",
112
113
  "tsup": "^8.5.1",
113
- "tsx": "^4.23.12",
114
+ "tsx": "^4.23.13",
114
115
  "typescript": "npm:@typescript/typescript6@^6.0.2",
115
- "typescript-eslint": "^8.67.0",
116
- "vitest": "^4.1.11"
116
+ "typescript-eslint": "^8.69.0",
117
+ "vitest": "^5.0.0"
117
118
  },
118
119
  "overrides": {
119
120
  "esbuild": "0.28.1"
@@ -12,6 +12,11 @@
12
12
  "metadata": {
13
13
  "pair": "surface.card"
14
14
  }
15
+ },
16
+ "padding": {
17
+ "sm": "1.5rem",
18
+ "md": "2rem",
19
+ "lg": "2.5rem"
15
20
  }
16
21
  },
17
22
  "input": {
@@ -117,6 +122,21 @@
117
122
  },
118
123
  "dangerText": {
119
124
  "value": "{colors.error.800}"
125
+ },
126
+ "inverseBg": {
127
+ "value": "{colors.white} / 0.16"
128
+ },
129
+ "inverseBgHover": {
130
+ "value": "{colors.white} / 0.24"
131
+ },
132
+ "inverseText": {
133
+ "value": "{colors.white}",
134
+ "metadata": {
135
+ "pair": "surface.inverse"
136
+ }
137
+ },
138
+ "inverseBorder": {
139
+ "value": "{colors.white} / 0.3"
120
140
  }
121
141
  },
122
142
  "iconBox": {
@@ -906,6 +926,41 @@
906
926
  "focusVisible": {
907
927
  "value": "{colors.accent.500} / 0.4"
908
928
  }
929
+ },
930
+ "inverse": {
931
+ "bg": {
932
+ "value": "{colors.white} / 0.12"
933
+ },
934
+ "bgHover": {
935
+ "value": "{colors.white} / 0.2"
936
+ },
937
+ "bgActive": {
938
+ "value": "{colors.white} / 0.28"
939
+ },
940
+ "bgDisabled": {
941
+ "value": "{colors.white} / 0.08"
942
+ },
943
+ "text": {
944
+ "value": "{colors.white}",
945
+ "metadata": {
946
+ "pair": "surface.inverse"
947
+ }
948
+ },
949
+ "textDisabled": {
950
+ "value": "{colors.neutral.400}"
951
+ },
952
+ "border": {
953
+ "value": "{colors.white} / 0.3"
954
+ },
955
+ "borderDisabled": {
956
+ "value": "{colors.white} / 0.16"
957
+ },
958
+ "focusRing": {
959
+ "value": "{colors.info.500} / 0.4"
960
+ },
961
+ "focusVisible": {
962
+ "value": "{colors.info.500} / 0.4"
963
+ }
909
964
  }
910
965
  },
911
966
  "forms": {
@@ -436,6 +436,97 @@
436
436
  "800": "#2b2422",
437
437
  "900": "#1d1816",
438
438
  "950": "#0c0a09"
439
+ },
440
+ "integration-ink": {
441
+ "50": "#fafafb",
442
+ "100": "#f5f5f6",
443
+ "200": "#e7e8e9",
444
+ "300": "#d3d4d6",
445
+ "400": "#9ea0a3",
446
+ "500": "#707376",
447
+ "600": "#525457",
448
+ "700": "#3e4143",
449
+ "800": "#27292b",
450
+ "900": "#16181a",
451
+ "950": "#06080a"
452
+ },
453
+ "integration-gunmetal": {
454
+ "50": "#f0f0f1",
455
+ "100": "#eaebec",
456
+ "200": "#dddedf",
457
+ "300": "#c8cbcd",
458
+ "400": "#93979a",
459
+ "500": "#666b6e",
460
+ "600": "#484c50",
461
+ "700": "#35393c",
462
+ "800": "#1f2225",
463
+ "900": "#0c1014",
464
+ "950": "#000104"
465
+ },
466
+ "integration-signal-blue": {
467
+ "50": "#ebf0f9",
468
+ "100": "#d8e3f8",
469
+ "200": "#bfd4f9",
470
+ "300": "#95bdf9",
471
+ "400": "#4a9df7",
472
+ "500": "#0083f7",
473
+ "600": "#006dfa",
474
+ "700": "#005ce8",
475
+ "800": "#004bb8",
476
+ "900": "#003f8a",
477
+ "950": "#002552"
478
+ },
479
+ "integration-icy-blue": {
480
+ "50": "#e4f0fa",
481
+ "100": "#cbe5fb",
482
+ "200": "#a4d8ff",
483
+ "300": "#59c4ff",
484
+ "400": "#00a8ff",
485
+ "500": "#0090ff",
486
+ "600": "#007cff",
487
+ "700": "#006aff",
488
+ "800": "#0055ce",
489
+ "900": "#004699",
490
+ "950": "#002a5a"
491
+ },
492
+ "phcdevworks-raspberry-red": {
493
+ "50": "#fff3f4",
494
+ "100": "#ffe7e8",
495
+ "200": "#ffcfd2",
496
+ "300": "#fea5ae",
497
+ "400": "#fd6982",
498
+ "500": "#fe2b67",
499
+ "600": "#ee005a",
500
+ "700": "#c8054b",
501
+ "800": "#a4113e",
502
+ "900": "#8a1635",
503
+ "950": "#4d081a"
504
+ },
505
+ "phcdevworks-deep-space-blue": {
506
+ "50": "#edf1f7",
507
+ "100": "#dce5f1",
508
+ "200": "#c4d5ec",
509
+ "300": "#a1bee3",
510
+ "400": "#6b9ed5",
511
+ "500": "#2583ca",
512
+ "600": "#006dc2",
513
+ "700": "#005bb0",
514
+ "800": "#004a8c",
515
+ "900": "#003f6d",
516
+ "950": "#012641"
517
+ },
518
+ "phcdevworks-paper": {
519
+ "50": "#fcfaf7",
520
+ "100": "#f7f5f2",
521
+ "200": "#e9e5e0",
522
+ "300": "#d9d3ca",
523
+ "400": "#aca08b",
524
+ "500": "#807056",
525
+ "600": "#5e523d",
526
+ "700": "#4a3f2d",
527
+ "800": "#2b251b",
528
+ "900": "#1f190e",
529
+ "950": "#0e0a05"
439
530
  }
440
531
  }
441
532
  }