feat: changing background main for primary main

This commit is contained in:
Caio Cabral committed 2025-01-11 16:53:00 -05:00
1 parent c0df164e46
commit 3b1657c415
34 files changed
+44 -44

No files matched your search

@@ -54,7 +54,7 @@ const CustomToolTip = ({ active, payload, label, config }) => {
return (
<Box
sx={{
backgroundColor: theme.palette.background.main,
backgroundColor: theme.palette.primary.main,
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
@@ -289,7 +289,7 @@ const PagespeedDetailsAreaChart = ({ data, interval, metrics }) => {
{Object.keys(filteredConfig).map((key) => {
const { color } = filteredConfig[key];
const strokeColor = theme.palette[color].main;
const bgColor = theme.palette.background.main;
const bgColor = theme.palette.primary.main;
return (
<Area
@@ -10,7 +10,7 @@ export const ChartBox = styled(Stack)(({ theme }) => ({
borderRadius: 4,
borderTopRightRadius: 16,
borderBottomRightRadius: 16,
backgroundColor: theme.palette.background.main,
backgroundColor: theme.palette.primary.main,
"& h2": {
color: theme.palette.primary.contrastText.secondary,
fontSize: 15,
@@ -33,8 +33,8 @@ export const ChartBox = styled(Stack)(({ theme }) => ({
borderLeftStyle: "solid",
borderLeftColor: theme.palette.primary.lowContrast,
borderRadius: 16,
backgroundColor: theme.palette.background.main,
background: `linear-gradient(325deg, ${theme.palette.tertiary.main} 20%, ${theme.palette.background.main} 45%)`,
backgroundColor: theme.palette.primary.main,
background: `linear-gradient(325deg, ${theme.palette.tertiary.main} 20%, ${theme.palette.primary.main} 45%)`,
},
"& path": {
transition: "stroke-width 400ms ease",
+2 -2
View File
@@ -23,7 +23,7 @@ const CustomToolTip = ({ payload }) => {
return (
<Box
sx={{
backgroundColor: theme.palette.background.main,
backgroundColor: theme.palette.primary.main,
border: 1,
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
@@ -217,7 +217,7 @@ const Card = ({ monitor }) => {
border={1}
borderColor={theme.palette.primary.lowContrast}
borderRadius={theme.shape.borderRadius}
backgroundColor={theme.palette.background.main}
backgroundColor={theme.palette.primary.main}
sx={{
display: "grid",
gridTemplateColumns: "34px 2fr 1fr",
+1 -1
View File
@@ -71,7 +71,7 @@ const PageSpeed = () => {
borderColor: theme.palette.primary.lowContrast,
borderRadius: theme.shape.borderRadius,
borderStyle: "dashed",
backgroundColor: theme.palette.background.main,
backgroundColor: theme.palette.primary.main,
overflow: "hidden",
},
}}