diff --git a/frontend/src/features/boss-crystal/user/BossSelector.jsx b/frontend/src/features/boss-crystal/user/BossSelector.jsx index 4c66c5a..d5d8fec 100644 --- a/frontend/src/features/boss-crystal/user/BossSelector.jsx +++ b/frontend/src/features/boss-crystal/user/BossSelector.jsx @@ -1,6 +1,7 @@ import Select from '../../../components/Select' -import Tooltip from '../../../components/Tooltip' -import { DIFFICULTIES, formatMeso, getDifficultyImageUrl } from '../admin/constants' +import { DIFFICULTIES, formatMeso } from '../admin/constants' + +const LABEL_EN = { easy: 'EASY', normal: 'NORMAL', hard: 'HARD', chaos: 'CHAOS', extreme: 'EXTREME' } export default function BossSelector({ characterName, bosses, selections, onChange, maxReached, selectedCount, maxPerCharacter }) { if (!characterName) { @@ -67,24 +68,27 @@ export default function BossSelector({ characterName, bosses, selections, onChan
{availableDiffs.map((d) => { const active = sel?.difficulty === d.key + const style = { + background: d.colors.bg, + borderColor: d.colors.border, + color: d.colors.text, + filter: active ? 'none' : 'brightness(0.4)', + } return ( - - - + ) })}