[priority: medium] AttunementsTab: Redesign attunement cards to reflect importance #182
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Description
Attunement cards in the Attunements tab are visually plain and all look identical, making it hard to distinguish between the starting attunement (Enchanter), unlocked attunements, and locked attunements (Invoker, Fabricator).
Current State
All cards use the same gray styling (
border-gray-700,bg-gray-900/60,text-gray-400). Locked cards are only distinguished byopacity-60. The uniquedef.colorfield for each attunement (teal#1ABC9C, purple#9B59B6, earth#F4A261) is defined in the data but never used in rendering.Proposed Improvements
def.coloras a left border accent, tinted icon background, colored XP bar, and colored level badgeunlocked: true) should appear more prominent — perhaps with a special badgeopacity-60, use a distinct locked treatment — darker background, subtle lock overlay, colored border at low opacityprimaryManaType: undefined(pact-based), it could have visually distinct stylingAffected Files
src/components/game/tabs/AttunementsTab.tsx—AttunementCardcomponent (lines 38–147)src/lib/game/data/attunements.ts— attunement definitions already havecolorfield (used)Data Available per Attunement
color: Unique hex color (e.g.,#1ABC9C)icon: Emoji icon (e.g.,✨)capabilities[]: e.g.,['enchanting']skillCategories[]: e.g.,['enchant', 'effectResearch']description: Full description textunlocked: Boolean (starting state)unlockCondition: String (shown when locked)Starting attunement card redesign. Will apply def.color accents, visual hierarchy for unlocked/starting attunements, distinct locked treatment, colored capability badges, and special Invoker styling.
Redesigned attunement cards with:\n- Left border accent using def.color\n- Colored icon backgrounds and level badges\n- Starting attunement gets a colored "Starting" ribbon badge\n- Locked attunements get darker background, subtle diagonal stripe pattern, and colored border at low opacity instead of just opacity-60\n- XP progress bar uses attunement color\n- Capability and skill category badges use colored borders/backgrounds\n- Invoker gets a special "pact-based" note row\n- All borders and separators use color-tinted variants\n- Summary counter uses Enchanter teal color