fix: label background color

This commit is contained in:
Caio Cabral committed 2025-01-11 10:03:11 -05:00
1 parent d027407562
commit 8cf28fe947
1 file changed
+4 -3
+4 -3
View File
@@ -127,17 +127,18 @@ const StatusLabel = ({ status, text, customStyles }) => {
const colors = { const colors = {
up: { up: {
dotColor: theme.palette.success.main, dotColor: theme.palette.success.main,
bgColor: theme.palette.success.contrastText /* dark */, /* bgColor: theme.palette.success.contrastText */ /* dark */
borderColor: theme.palette.success.main /* light */, borderColor: theme.palette.success.main /* light */,
}, },
down: { down: {
dotColor: theme.palette.error.main, dotColor: theme.palette.error.main,
bgColor: theme.palette.error.dark, /* TODO Look for dark and light, they still work */
/* bgColor: theme.palette.primary.lowContrast, */
borderColor: theme.palette.error.light, borderColor: theme.palette.error.light,
}, },
paused: { paused: {
dotColor: theme.palette.warning.main, dotColor: theme.palette.warning.main,
bgColor: theme.palette.warning.dark, /* bgColor: theme.palette.warning.dark, */
borderColor: theme.palette.warning.light, borderColor: theme.palette.warning.light,
}, },
pending: { pending: {