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

@@ -112,7 +112,7 @@ const BaseBox = ({ children, sx = {} }) => {
backgroundColor: theme.palette.background.main,
border: 1,
borderStyle: "solid",
borderColor: theme.palette.border.light,
borderColor: theme.palette.primary.lowContrast,
...sx,
}}
>
@@ -156,7 +156,7 @@ const GaugeBox = ({ value, heading, metricOne, valueOne, metricTwo, valueTwo })
<Box
sx={{
width: "100%",
borderTop: `1px solid ${theme.palette.border.light}`,
borderTop: `1px solid ${theme.palette.primary.lowContrast}`,
}}
>
<Stack
@@ -665,7 +665,7 @@ const InfrastructureDetails = () => {
<Empty
styles={{
border: 1,
borderColor: theme.palette.border.light,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
backgroundColor: theme.palette.background.main,
p: theme.spacing(30),
@@ -83,7 +83,7 @@ const InfrastructureMenu = ({ monitor, isAdmin, updateCallback }) => {
outline: "none",
},
"& svg path": {
stroke: theme.palette.other.icon,
stroke: theme.palette.primary.contrastText.tertiary,
},
}}
ref={anchor}
@@ -105,7 +105,7 @@ function Pagination({
},
"& .MuiSelect-select": {
border: 1,
borderColor: theme.palette.border.light,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
},
}}
+4 -4
View File
@@ -156,7 +156,7 @@ function Infrastructure() {
? theme.palette.percentage.uptimeFair
: monitor.uptimePercentage < 0.75
? theme.palette.percentage.uptimeGood
: theme.palette.percentage.uptimeExcellent;
: theme.palette.success.accent;
return {
id: monitor._id,
name: monitor.name,
@@ -179,7 +179,7 @@ function Infrastructure() {
':has(> [class*="fallback__"])': {
position: "relative",
border: 1,
borderColor: theme.palette.border.light,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
borderStyle: "dashed",
backgroundColor: theme.palette.background.main,
@@ -231,7 +231,7 @@ function Infrastructure() {
className="current-monitors-counter"
color={theme.palette.primary.contrastText.main}
border={1}
borderColor={theme.palette.border.light}
borderColor={theme.palette.primary.lowContrast}
backgroundColor={theme.palette.background.accent}
>
{totalMonitors}
@@ -313,7 +313,7 @@ function Infrastructure() {
<IconButton
sx={{
"& svg path": {
stroke: theme.palette.other.icon,
stroke: theme.palette.primary.contrastText.tertiary,
},
}}
>