fix(ui): use arbitrary opacity for AuthCard dark background #438
Reference in New Issue
Block a user
Delete Branch "fix/authcard-dark-bg"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The AuthCard component used
dark:bg-[#1b2331]/92for its dark-mode background. Tailwind's default opacity scale only includes multiples of 5 (0, 5, 10...90, 95, 100), so/92was silently ignored and the light-mode card background rendered in dark mode.Changed to
/[0.92]which uses Tailwind's arbitrary value syntax.Test plan