@phcdevworks/spectre-tokens 2.3.0 → 2.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phcdevworks/spectre-tokens",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "@phcdevworks/spectre-tokens is the design-token package of the Spectre system for downstream Spectre packages and compatible applications.",
5
5
  "keywords": [
6
6
  "phcdevworks",
@@ -83,11 +83,9 @@
83
83
  "typescript": "^5.9 || ^6.0"
84
84
  },
85
85
  "devDependencies": {
86
- "@types/chroma-js": "^3.1.2",
87
86
  "@types/node": "^25.6.0",
88
- "@typescript-eslint/eslint-plugin": "^8.58.2",
89
- "@typescript-eslint/parser": "^8.58.2",
90
- "chroma-js": "^3.2.0",
87
+ "@typescript-eslint/eslint-plugin": "^8.59.0",
88
+ "@typescript-eslint/parser": "^8.59.0",
91
89
  "colord": "^2.9.3",
92
90
  "eslint": "^10.2.1",
93
91
  "jiti": "^2.6.1",
@@ -96,6 +94,6 @@
96
94
  "tsup": "^8.5.1",
97
95
  "tsx": "^4.21.0",
98
96
  "typescript": "^6.0.3",
99
- "typescript-eslint": "^8.58.2"
97
+ "typescript-eslint": "^8.59.0"
100
98
  }
101
99
  }
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "textMuted": {
11
- "value": "{colors.neutral.500}",
11
+ "value": "{colors.neutral.600}",
12
12
  "metadata": {
13
13
  "pair": "surface.card"
14
14
  }
@@ -158,25 +158,25 @@
158
158
  "text": {
159
159
  "value": "{colors.neutral.700}",
160
160
  "metadata": {
161
- "pair": "component.testimonial.bg"
161
+ "pair": "component.testimonial.bgHover"
162
162
  }
163
163
  },
164
164
  "authorName": {
165
165
  "value": "{colors.neutral.900}",
166
166
  "metadata": {
167
- "pair": "component.testimonial.bg"
167
+ "pair": "component.testimonial.bgHover"
168
168
  }
169
169
  },
170
170
  "authorTitle": {
171
- "value": "{colors.neutral.500}",
171
+ "value": "{colors.neutral.600}",
172
172
  "metadata": {
173
- "pair": "component.testimonial.bg"
173
+ "pair": "component.testimonial.bgHover"
174
174
  }
175
175
  },
176
176
  "quoteMark": {
177
- "value": "{colors.neutral.500}",
177
+ "value": "{colors.neutral.600}",
178
178
  "metadata": {
179
- "pair": "component.testimonial.bg"
179
+ "pair": "component.testimonial.bgHover"
180
180
  }
181
181
  }
182
182
  },
@@ -220,13 +220,13 @@
220
220
  "price": {
221
221
  "value": "{colors.neutral.900}",
222
222
  "metadata": {
223
- "pair": "component.pricingCard.bg"
223
+ "pair": "component.pricingCard.bgHover"
224
224
  }
225
225
  },
226
226
  "priceDescription": {
227
- "value": "{colors.neutral.500}",
227
+ "value": "{colors.neutral.600}",
228
228
  "metadata": {
229
- "pair": "component.pricingCard.bg"
229
+ "pair": "component.pricingCard.bgHover"
230
230
  }
231
231
  }
232
232
  },
package/tokens/modes.json CHANGED
@@ -252,25 +252,25 @@
252
252
  "text": {
253
253
  "value": "{colors.neutral.700}",
254
254
  "metadata": {
255
- "pair": "modes.default.component.testimonial.bg"
255
+ "pair": "modes.default.component.testimonial.bgHover"
256
256
  }
257
257
  },
258
258
  "authorName": {
259
259
  "value": "{colors.neutral.900}",
260
260
  "metadata": {
261
- "pair": "modes.default.component.testimonial.bg"
261
+ "pair": "modes.default.component.testimonial.bgHover"
262
262
  }
263
263
  },
264
264
  "authorTitle": {
265
- "value": "{colors.neutral.500}",
265
+ "value": "{colors.neutral.600}",
266
266
  "metadata": {
267
- "pair": "modes.default.component.testimonial.bg"
267
+ "pair": "modes.default.component.testimonial.bgHover"
268
268
  }
269
269
  },
270
270
  "quoteMark": {
271
- "value": "{colors.neutral.500}",
271
+ "value": "{colors.neutral.600}",
272
272
  "metadata": {
273
- "pair": "modes.default.component.testimonial.bg"
273
+ "pair": "modes.default.component.testimonial.bgHover"
274
274
  }
275
275
  }
276
276
  },
@@ -314,13 +314,13 @@
314
314
  "price": {
315
315
  "value": "{colors.neutral.900}",
316
316
  "metadata": {
317
- "pair": "modes.default.component.pricingCard.bg"
317
+ "pair": "modes.default.component.pricingCard.bgHover"
318
318
  }
319
319
  },
320
320
  "priceDescription": {
321
- "value": "{colors.neutral.500}",
321
+ "value": "{colors.neutral.600}",
322
322
  "metadata": {
323
- "pair": "modes.default.component.pricingCard.bg"
323
+ "pair": "modes.default.component.pricingCard.bgHover"
324
324
  }
325
325
  }
326
326
  },
@@ -363,7 +363,7 @@
363
363
  }
364
364
  },
365
365
  "overlay": {
366
- "value": "{colors.neutral.800}"
366
+ "value": "{colors.black} / 0.6"
367
367
  },
368
368
  "alternate": {
369
369
  "value": "{colors.neutral.800}",
@@ -616,25 +616,25 @@
616
616
  "text": {
617
617
  "value": "{colors.neutral.200}",
618
618
  "metadata": {
619
- "pair": "modes.dark.component.testimonial.bg"
619
+ "pair": "modes.dark.component.testimonial.bgHover"
620
620
  }
621
621
  },
622
622
  "authorName": {
623
623
  "value": "{colors.neutral.100}",
624
624
  "metadata": {
625
- "pair": "modes.dark.component.testimonial.bg"
625
+ "pair": "modes.dark.component.testimonial.bgHover"
626
626
  }
627
627
  },
628
628
  "authorTitle": {
629
- "value": "{colors.neutral.400}",
629
+ "value": "{colors.neutral.300}",
630
630
  "metadata": {
631
- "pair": "modes.dark.component.testimonial.bg"
631
+ "pair": "modes.dark.component.testimonial.bgHover"
632
632
  }
633
633
  },
634
634
  "quoteMark": {
635
- "value": "{colors.neutral.400}",
635
+ "value": "{colors.neutral.300}",
636
636
  "metadata": {
637
- "pair": "modes.dark.component.testimonial.bg"
637
+ "pair": "modes.dark.component.testimonial.bgHover"
638
638
  }
639
639
  }
640
640
  },
@@ -678,13 +678,13 @@
678
678
  "price": {
679
679
  "value": "{colors.neutral.100}",
680
680
  "metadata": {
681
- "pair": "modes.dark.component.pricingCard.bg"
681
+ "pair": "modes.dark.component.pricingCard.bgHover"
682
682
  }
683
683
  },
684
684
  "priceDescription": {
685
- "value": "{colors.neutral.400}",
685
+ "value": "{colors.neutral.300}",
686
686
  "metadata": {
687
- "pair": "modes.dark.component.pricingCard.bg"
687
+ "pair": "modes.dark.component.pricingCard.bgHover"
688
688
  }
689
689
  }
690
690
  },
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "shadows": {
26
26
  "none": "none",
27
- "sm": "0 1px 2px 0 {colors.neutral.800} / 0.06",
28
- "md": "0 2px 6px -1px {colors.neutral.800} / 0.08",
29
- "lg": "0 6px 16px -4px {colors.neutral.800} / 0.12"
27
+ "sm": "0 1px 2px 0 {colors.black} / 0.06",
28
+ "md": "0 2px 6px -1px {colors.black} / 0.08",
29
+ "lg": "0 6px 16px -4px {colors.black} / 0.12"
30
30
  },
31
31
  "breakpoints": {
32
32
  "sm": "640px",