fix: update TierWarning to use dark-mode-compatible colors #42

Merged
jason merged 1 commits from fix/tier-warning-dark-mode into master 2026-03-11 00:01:23 -05:00
Showing only changes of commit 91ba19d038 - Show all commits

View File

@@ -17,14 +17,15 @@ export default function TierWarning({ currentPoints, addingPoints }) {
return (
<div style={{
background: '#fff3cd',
border: '2px solid #ffc107',
background: '#3b2e00',
border: '2px solid #d4af37',
borderRadius: '6px',
padding: '12px 16px',
margin: '12px 0',
fontSize: '13px',
color: '#ffdf8a',
}}>
<strong> Tier Escalation Warning</strong><br />
<strong style={{ color: '#ffd666' }}> Tier Escalation Warning</strong><br />
Adding <strong>{addingPoints} point{addingPoints !== 1 ? 's' : ''}</strong> will move this employee
from <strong>{current.label}</strong> to <strong>{projected.label}</strong>.
{tierUp && (