@r2digisolutions/components 0.19.1 → 0.19.2

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.
@@ -53,14 +53,14 @@
53
53
 
54
54
  function tagVariant(tag: StoreProductTag): 'info' | 'warning' | 'default' {
55
55
  if (tag === 'new') return 'info';
56
- if (tag === 'featured') return 'warning';
56
+ // Featured uses custom amber + white via tagClass (avoid warning’s amber text).
57
+ if (tag === 'featured') return 'default';
57
58
  return 'default';
58
59
  }
59
60
 
60
61
  function tagClass(tag: StoreProductTag): string {
61
62
  if (tag === 'featured') {
62
- // Explicit amber so it reads on promo gradients (not brand teal).
63
- return 'border-0 bg-amber-500 text-amber-950 dark:bg-amber-500 dark:text-amber-950';
63
+ return '!border-0 !bg-amber-500 !text-white dark:!bg-amber-500 dark:!text-white';
64
64
  }
65
65
  if (tag === 'popular') {
66
66
  return 'border-0 bg-neutral-100 text-neutral-700 dark:bg-neutral-800 dark:text-neutral-200';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2digisolutions/components",
3
- "version": "0.19.1",
3
+ "version": "0.19.2",
4
4
  "private": false,
5
5
  "description": "R2DigiSolutions Svelte 5 component library — Atomic Design, Tailwind 4, Light/Dark mode",
6
6
  "license": "MIT",