Simplify modal, badge, and component styles to dark-first (#29)
Co-authored-by: Julian Tabel <juliantabel.jt@gmail.com> Co-committed-by: Julian Tabel <juliantabel.jt@gmail.com>
This commit was merged in pull request #29.
This commit is contained in:
@@ -53,7 +53,7 @@ export function HofTeamModal({ alive, onSubmit, onSkip, isPending }: HofTeamModa
|
||||
disabled={atMax}
|
||||
className={`flex flex-col items-center p-3 rounded-lg border-2 text-center transition-colors ${
|
||||
isSelected
|
||||
? 'border-yellow-500 bg-yellow-50 dark:bg-yellow-900/20'
|
||||
? 'border-yellow-500 bg-yellow-900/20'
|
||||
: atMax
|
||||
? 'border-border-default opacity-40 cursor-not-allowed'
|
||||
: 'border-border-default hover:border-border-default'
|
||||
@@ -74,7 +74,7 @@ export function HofTeamModal({ alive, onSubmit, onSkip, isPending }: HofTeamModa
|
||||
{enc.nickname || displayPokemon.name}
|
||||
</span>
|
||||
{enc.nickname && (
|
||||
<span className="text-[10px] text-gray-400">{displayPokemon.name}</span>
|
||||
<span className="text-[10px] text-text-tertiary">{displayPokemon.name}</span>
|
||||
)}
|
||||
</button>
|
||||
)
|
||||
@@ -97,7 +97,7 @@ export function HofTeamModal({ alive, onSubmit, onSkip, isPending }: HofTeamModa
|
||||
type="button"
|
||||
disabled={selected.size === 0 || isPending}
|
||||
onClick={() => onSubmit([...selected])}
|
||||
className="px-4 py-2 bg-blue-600 text-white rounded-lg font-medium hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed transition-colors"
|
||||
className="px-4 py-2 bg-accent-600 text-white rounded-lg font-medium hover:bg-accent-500 disabled:opacity-50 disabled:cursor-not-allowed transition-colors"
|
||||
>
|
||||
{isPending ? 'Saving...' : 'Confirm'}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user