Skip to content

Commit 12f6fdb

Browse files
committed
style(frontend): suavizar colores de estado en dark mode
1 parent 134323a commit 12f6fdb

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

MtdrSpring/backend/src/main/frontend/src/components/common/Badge.jsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import React from 'react';
22

33
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]',
1515
};
1616

1717
export default function Badge({ value, className = '' }) {

MtdrSpring/backend/src/main/frontend/src/index.css

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,21 @@
8484
/* Status chip backgrounds */
8585
--status-todo-bg: #1E293B;
8686
--status-todo-dot: #94A3B8;
87-
--status-todo-text: #CBD5E1;
88-
--status-ip-bg: #172554;
89-
--status-ip-dot: #60A5FA;
90-
--status-ip-text: #60A5FA;
91-
--status-blocked-bg: #2D1515;
92-
--status-blocked-dot: #F87171;
93-
--status-blocked-text:#F87171;
94-
--status-done-bg: #052E16;
95-
--status-done-dot: #4ADE80;
96-
--status-done-text: #4ADE80;
87+
--status-todo-text: #94A3B8;
88+
--status-ip-bg: #1C2B42;
89+
--status-ip-dot: #7EB8F0;
90+
--status-ip-text: #7EB8F0;
91+
--status-blocked-bg: #271D1D;
92+
--status-blocked-dot: #E08A8A;
93+
--status-blocked-text:#E08A8A;
94+
--status-done-bg: #1B2A22;
95+
--status-done-dot: #6DC98A;
96+
--status-done-text: #6DC98A;
9797

9898
/* Blocked alert */
99-
--alert-blocked-bg: #2D1515;
100-
--alert-done-bg: #052E16;
101-
--alert-done-text: #4ADE80;
99+
--alert-blocked-bg: #271D1D;
100+
--alert-done-bg: #1B2A22;
101+
--alert-done-text: #6DC98A;
102102

103103
/* Table alternating row */
104104
--table-alt: #263448;

0 commit comments

Comments
 (0)