|
1 | 1 | import React from 'react'; |
2 | 2 |
|
3 | 3 | const statusColors = { |
4 | | - TODO: 'bg-gray-100 text-gray-700', |
5 | | - IN_PROGRESS: 'bg-blue-100 text-blue-700', |
6 | | - BLOCKED: 'bg-red-100 text-red-700', |
7 | | - DONE: 'bg-green-100 text-green-700', |
8 | | - PLANNING: 'bg-yellow-100 text-yellow-700', |
9 | | - ACTIVE: 'bg-blue-100 text-blue-700', |
10 | | - CLOSED: 'bg-gray-100 text-gray-500', |
11 | | - PAUSED: 'bg-orange-100 text-orange-700', |
12 | | - LOW: 'bg-gray-100 text-gray-600', |
13 | | - MEDIUM: 'bg-yellow-100 text-yellow-700', |
14 | | - HIGH: 'bg-red-100 text-red-700', |
| 4 | + TODO: 'bg-gray-100 text-gray-700 dark:bg-slate-800 dark:text-slate-400', |
| 5 | + IN_PROGRESS: 'bg-blue-100 text-blue-700 dark:bg-[#1C2B42] dark:text-[#7EB8F0]', |
| 6 | + BLOCKED: 'bg-red-100 text-red-700 dark:bg-[#271D1D] dark:text-[#E08A8A]', |
| 7 | + DONE: 'bg-green-100 text-green-700 dark:bg-[#1B2A22] dark:text-[#6DC98A]', |
| 8 | + PLANNING: 'bg-yellow-100 text-yellow-700 dark:bg-[#252010] dark:text-[#D4A85A]', |
| 9 | + ACTIVE: 'bg-blue-100 text-blue-700 dark:bg-[#1C2B42] dark:text-[#7EB8F0]', |
| 10 | + CLOSED: 'bg-gray-100 text-gray-500 dark:bg-slate-800 dark:text-slate-500', |
| 11 | + PAUSED: 'bg-orange-100 text-orange-700 dark:bg-[#261F12] dark:text-[#D49060]', |
| 12 | + LOW: 'bg-gray-100 text-gray-600 dark:bg-slate-800 dark:text-slate-400', |
| 13 | + MEDIUM: 'bg-yellow-100 text-yellow-700 dark:bg-[#252010] dark:text-[#D4A85A]', |
| 14 | + HIGH: 'bg-red-100 text-red-700 dark:bg-[#271D1D] dark:text-[#E08A8A]', |
15 | 15 | }; |
16 | 16 |
|
17 | 17 | export default function Badge({ value, className = '' }) { |
|
0 commit comments