Skip to content

Commit

Permalink
Fix status colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Guo-William committed Mar 27, 2018
1 parent 37db418 commit be8996d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pokeboot/assets/js/HpBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export function HpBar({ name, health, maxHealth, isOpponent, history, status })
</Fragment>
: null;

const burn = status.Burn > 0 ? <span className="col-3 rounded bg-warning">BURN</span> : <span className="col-3"></span>;
const burn = status.Burn > 0 ? <span className="col-3 rounded bg-danger">BURN</span> : <span className="col-3"></span>;
const freeze = status.Freeze > 0 ? <span className="col-3 rounded bg-primary">FREEZE</span> : <span className="col-3"></span>;
const stun = status.Stun > 0 ? <span className="col-3 rounded bg-danger">STUN</span> : <span className="col-3"></span>;
const stun = status.Stun > 0 ? <span className="col-3 rounded bg-secondary">STUN</span> : <span className="col-3"></span>;

return (
<div className={smartClasses}>
Expand Down

0 comments on commit be8996d

Please sign in to comment.