mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-15 15:02:04 +00:00
refactor(ui): simplify and polish insight card components
Replace hardcoded hex color values with Dracula CSS var tokens (text-dracula-purple, text-dracula-green, etc.) for theme consistency. Add prefers-reduced-motion support for insight animations, aria-expanded on the data quality toggle, and extract nested ternary into lookup map. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
a4c8f28ecb
commit
9932f88666
3 files changed
+38
-29
No files matched your search
@@ -182,3 +182,9 @@
|
||||
.animate-insight-in {
|
||||
animation: insight-fade-in 0.4s ease-out forwards;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.animate-insight-in {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user