managarten/packages/credits/src
Till JS 6da317d071 refactor(theme): migrate shared packages to --color-* token naming
Several shared-ui / shared-auth-ui / subscriptions / credits
components used shadcn-style bare CSS variables (--muted, --primary,
--foreground, etc.), but the Mana theme system standardized on
--color-*. The mismatch meant bg-[hsl(var(--muted))] classes
resolved to an invalid color and rendered transparent — most
visible on the Allgemein settings tab where language and week-start
buttons had no background.

Mechanical prefix across ~30 files. Two semantic renames:
- --destructive → --color-error (Mana uses "error" as the token name)
- --popover     → --color-card  (no popover token; card is the closest)

With shared packages on the correct naming, drop the shadcn-compat
alias shim from app.css.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 22:11:42 +02:00
..
mobile fix(packages): fix type errors in consolidated packages + add missing files 2026-03-28 17:53:34 +01:00
web refactor(theme): migrate shared packages to --color-* token naming 2026-04-15 22:11:42 +02:00
createCreditService.ts refactor(packages): consolidate 3 credit packages into @manacore/credits 2026-03-28 17:46:26 +01:00
index.ts refactor(credits): simplify credit system — remove productivity credits, guild pools, complex gift types 2026-04-10 19:08:42 +02:00
operations.ts refactor: rename zitare -> quotes (Zitate) 2026-04-14 20:59:16 +02:00
service-types.ts refactor: rename ManaDeck to Cards across entire monorepo 2026-04-01 11:45:21 +02:00