astryx-dracula 0.3.0 → 0.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/tokens.css CHANGED
@@ -344,13 +344,21 @@ body {
344
344
  --color-tag-yellow: #F1FA8C;
345
345
  --color-tag-green: #50FA7B;
346
346
  --color-tag-purple: #BD93F9;
347
- /* The token was named `tag-blue` and held purple. Dracula has no blue; the
348
- * closest is Comment/Comment-dim, and Purple is what the rest of the kit
349
- * already uses for a fourth accent -- so the VALUE was right and the NAME
350
- * was the lie. Renamed, not repinned: a `blue` tag that paints purple is
351
- * wrong in a way no contrast number catches, and a future author adding a
352
- * real blue tag would have found the slot occupied. Verify no consumer
353
- * returned with `grep -rn "tag-blue"` before shipping a rename. */
347
+ /* Renamed in 0.3.0 from `tag-blue`, which held this same #BD93F9. Dracula
348
+ * has no blue; Purple is what the rest of the kit already uses for a fourth
349
+ * accent, so the VALUE was right and the NAME was the lie. Renamed rather
350
+ * than repinned, because a `blue` tag that paints purple is wrong in a way
351
+ * no contrast number catches, and a future author adding a real blue tag
352
+ * would have found the slot occupied.
353
+ *
354
+ * Migrating: s/--color-tag-blue/--color-tag-purple/ in your own CSS. The
355
+ * rename is silent -- a stale reference resolves to nothing rather than
356
+ * erroring -- and it ships with no deprecated alias, so nothing falls back
357
+ * for you. Note that `blue` is also the name of six OTHER tokens that really
358
+ * are Comment #6272A4 (--color-background-blue, -border-, -icon-, -text-,
359
+ * --color-data-categorical-blue, and the --color-data-blue-1..5 ramp), so a
360
+ * repo-wide replace on "blue" repoints all six at Purple. Target the tag
361
+ * token by name. */
354
362
  }
355
363
 
356
364
  /* Dracula scrollbars. The spec defines no scrollbar token, so these follow its