feat: changing background accent for tertiary main

This commit is contained in:
Caio Cabral committed 2025-01-11 16:50:48 -05:00
1 parent 6bb38c9339
commit c0df164e46
14 files changed
+25 -24

No files matched your search

+4 -4
View File
@@ -232,21 +232,21 @@ function Infrastructure() {
color={theme.palette.primary.contrastText.main}
border={1}
borderColor={theme.palette.primary.lowContrast}
backgroundColor={theme.palette.background.accent}
backgroundColor={theme.palette.tertiary.main}
>
{totalMonitors}
</Box>
</Stack>
<TableContainer component={Paper}>
<Table stickyHeader>
<TableHead sx={{ backgroundColor: theme.palette.background.accent }}>
<TableHead sx={{ backgroundColor: theme.palette.tertiary.main }}>
<TableRow>
{columns.map((column, index) => (
<TableCell
key={index}
align={index === 0 ? "left" : "center"}
sx={{
backgroundColor: theme.palette.background.accent,
backgroundColor: theme.palette.tertiary.main,
}}
>
{column.label}
@@ -263,7 +263,7 @@ function Infrastructure() {
sx={{
cursor: "pointer",
"&:hover": {
backgroundColor: theme.palette.background.accent,
backgroundColor: theme.palette.tertiary.main,
},
}}
>
@@ -319,7 +319,7 @@ const PageSpeedConfigure = () => {
gap={theme.spacing(20)}
sx={{
".MuiInputBase-root:has(> .Mui-disabled)": {
backgroundColor: theme.palette.background.accent,
backgroundColor: theme.palette.tertiary.main,
},
}}
>
@@ -34,7 +34,7 @@ export const ChartBox = styled(Stack)(({ theme }) => ({
borderLeftColor: theme.palette.primary.lowContrast,
borderRadius: 16,
backgroundColor: theme.palette.background.main,
background: `linear-gradient(325deg, ${theme.palette.background.accent} 20%, ${theme.palette.background.main} 45%)`,
background: `linear-gradient(325deg, ${theme.palette.tertiary.main} 20%, ${theme.palette.background.main} 45%)`,
},
"& path": {
transition: "stroke-width 400ms ease",
+2 -2
View File
@@ -225,7 +225,7 @@ const Card = ({ monitor }) => {
gridTemplateRows: "34px 1fr 3fr",
cursor: "pointer",
"&:hover": {
backgroundColor: theme.palette.background.accent,
backgroundColor: theme.palette.tertiary.main,
},
"& path": {
transition: "stroke-width 400ms ease",
@@ -279,7 +279,7 @@ const Card = ({ monitor }) => {
borderTop={1}
borderRight={1}
borderColor={theme.palette.primary.lowContrast}
backgroundColor={theme.palette.background.accent}
backgroundColor={theme.palette.tertiary.main}
sx={{
pointerEvents: "none",
userSelect: "none",
+1 -1
View File
@@ -116,7 +116,7 @@ const PageSpeed = () => {
color={theme.palette.primary.contrastText.main}
border={1}
borderColor={theme.palette.primary.lowContrast}
backgroundColor={theme.palette.background.accent}
backgroundColor={theme.palette.tertiary.main}
>
{monitorCount}
</Box>
@@ -33,7 +33,7 @@ const CurrentMonitoring = ({ totalMonitors, monitors, isAdmin, handlePause }) =>
color={theme.palette.primary.contrastText.main}
border={1}
borderColor={theme.palette.primary.lowContrast}
backgroundColor={theme.palette.background.accent}
backgroundColor={theme.palette.tertiary.main}
>
{totalMonitors}
</Box>