style: Update StatusBadge colors for improved visibility and consistency with Minecraft theme
This commit is contained in:
@@ -192,12 +192,12 @@ export default function MiningAreasPanel({ turtles, selectedTurtle, apiUrl }) {
|
|||||||
// Status badge component
|
// Status badge component
|
||||||
const StatusBadge = ({ status }) => {
|
const StatusBadge = ({ status }) => {
|
||||||
const colors = {
|
const colors = {
|
||||||
planned: '#6366f1',
|
planned: '#345ec3',
|
||||||
mining: '#f59e0b',
|
mining: '#ffaa00',
|
||||||
completed: '#10b981'
|
completed: '#4a8c2a'
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<span className="status-badge" style={{ backgroundColor: colors[status] || '#6b7280' }}>
|
<span className="status-badge" style={{ backgroundColor: colors[status] || '#6b6b6b' }}>
|
||||||
{status}
|
{status}
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user