Motivka

Admin Light Mode Bleed Fix

Fixed admin panel tokens bleeding into public pages when colour mode switched, establishing the admin/public token namespace separation.

1 Phases
2 Tasks
1 Bugs Fixed
1 Days

Token Namespace Isolation

Admin pages use a dedicated set of CSS custom properties (--admin-*) pinned to dark palette values. A bug caused these tokens to leak into public pages when users toggled between light and dark colour modes.

The fix established a strict namespace boundary: admin tokens never change with colour mode, and public tokens (--bg-*, --text-*, --card-*) are never used in admin components. This separation became a core design system rule documented in CLAUDE.md.

Bugs Fixed

  • BUG-001: Admin tokens bleeding into public pages — Established --admin-* token namespace with dark-pinned values