feat: updating texts

This commit is contained in:
Caio Cabral committed 2025-01-07 21:27:52 -05:00
1 parent 36bbf5aba0
commit db86753701
54 files changed
+530 -341

No files matched your search

+6 -6
View File
@@ -174,7 +174,7 @@ const DetailsPage = () => {
width: 4,
height: 4,
borderRadius: "50%",
backgroundColor: theme.palette.text.tertiary,
backgroundColor: theme.palette.primary.contrastText.tertiary,
opacity: 0.8,
left: -9,
top: "50%",
@@ -204,7 +204,7 @@ const DetailsPage = () => {
"& svg": {
mr: theme.spacing(3),
"& path": {
stroke: theme.palette.text.tertiary,
stroke: theme.palette.primary.contrastText.tertiary,
},
},
}}
@@ -242,7 +242,7 @@ const DetailsPage = () => {
<Typography
component="span"
fontSize={13}
color={theme.palette.text.primary}
color={theme.palette.primary.contrastText.main}
>
{certificateExpiry}
</Typography>
@@ -316,7 +316,7 @@ const DetailsPage = () => {
position="absolute"
top="100%"
fontSize={11}
color={theme.palette.text.tertiary}
color={theme.palette.primary.contrastText.tertiary}
>
{formatDateWithTz(
hoveredUptimeData._id,
@@ -373,7 +373,7 @@ const DetailsPage = () => {
position="absolute"
top="100%"
fontSize={11}
color={theme.palette.text.tertiary}
color={theme.palette.primary.contrastText.tertiary}
>
{formatDateWithTz(
hoveredIncidentsData._id,
@@ -426,7 +426,7 @@ const DetailsPage = () => {
</IconBox>
<Typography
component="h2"
color={theme.palette.text.secondary}
color={theme.palette.primary.contrastText.secondary}
>
History
</Typography>
+4 -4
View File
@@ -12,16 +12,16 @@ export const ChartBox = styled(Stack)(({ theme }) => ({
borderRadius: 4,
backgroundColor: theme.palette.background.main,
"& h2": {
color: theme.palette.text.secondary,
color: theme.palette.primary.contrastText.secondary,
fontSize: 15,
fontWeight: 500,
},
"& .MuiBox-root:not(.area-tooltip) p": {
color: theme.palette.text.tertiary,
color: theme.palette.primary.contrastText.tertiary,
fontSize: 13,
},
"& .MuiBox-root > span": {
color: theme.palette.text.primary,
color: theme.palette.primary.contrastText.main,
fontSize: 20,
"& span": {
opacity: 0.8,
@@ -37,7 +37,7 @@ export const ChartBox = styled(Stack)(({ theme }) => ({
alignItems: "center",
},
"& tspan, & text": {
fill: theme.palette.text.tertiary,
fill: theme.palette.primary.contrastText.tertiary,
},
"& path": {
transition: "fill 300ms ease, stroke-width 400ms ease",