From d3e4980b8fd92c36b9954bfc127b4d22f98a49c5 Mon Sep 17 00:00:00 2001 From: Randall Stillwell Date: Sat, 26 Jul 2025 09:17:22 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Primary=20Red=20Add=20Button=20+?= =?UTF-8?q?=20Static=20Rarity=20Shadows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🎨 Add Button Color Update: - Changed main add button from wood brown to ember red - Updated 'Own' option to match ember red theme - Added static ember red shadow with ring effect - Consistent fire-themed primary action color ⚡ Performance: Removed All Pulsing Animations: - Eliminated mythic-pulse animation (3s infinite) - Eliminated rare-pulse animation (2.5s infinite) - Eliminated uncommon-pulse animation (2s infinite) - Eliminated enchanted-pulse animation (2s infinite) - Removed all @keyframes pulse definitions ✨ Static Rarity Shadow System: - Mythic/Legendary: Enhanced golden glow (static) - Rare: Enhanced purple glow (static) - Uncommon: Enhanced blue glow (static) - Enchanted: Multi-color rainbow glow (static) - All shadows now use consistent opacity levels 🚀 Performance Benefits: - Eliminated continuous CSS animations on every card - Reduced GPU usage from constant pulse effects - Smoother scrolling and hover interactions - Better battery life on mobile devices - Cleaner, more professional appearance 🎯 Visual Improvements: - More vibrant static shadows than pulsing minimums - Consistent visual hierarchy with static effects - Primary red add button stands out appropriately - Cleaner, less distracting card presentation The cards page should now be much more performant without the constant pulsing animations! 🔥⚡ --- components/CardItem.js | 7 ++-- styles/globals.css | 90 ++++++------------------------------------ 2 files changed, 15 insertions(+), 82 deletions(-) diff --git a/components/CardItem.js b/components/CardItem.js index 10b1737..bc2291e 100644 --- a/components/CardItem.js +++ b/components/CardItem.js @@ -54,7 +54,7 @@ function ExpandingAddButton({ card, onAddToCollection, onAddToDeck, onMarkAsOwne