feat: setting new colors

This commit is contained in:
Caio Cabral committed 2025-01-08 21:41:59 -05:00
1 parent db86753701
commit 3ffcadc06e
61 files changed
+156 -140

No files matched your search

+3 -3
View File
@@ -87,7 +87,7 @@ const ColoredLabel = ({ label, color }) => {
const theme = useTheme();
// If an invalid color is passed, default to the labelGray color
if (typeof color !== "string" || !/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(color)) {
color = theme.palette.border.light;
color = theme.palette.primary.lowContrast;
}
// Calculate lighter shades for border and bg
@@ -143,11 +143,11 @@ const StatusLabel = ({ status, text, customStyles }) => {
pending: {
dotColor: theme.palette.primary.contrastText.secondary,
bgColor: theme.palette.background.main,
borderColor: theme.palette.border.dark,
borderColor: theme.palette.primary.lowContrast,
},
"cannot resolve": {
dotColor: theme.palette.unresolved.main,
bgColor: theme.palette.unresolved.bg,
bgColor: theme.palette.primary.lowContrast,
borderColor: theme.palette.unresolved.light,
},
};