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

+2 -2
View File
@@ -276,7 +276,7 @@ const Configure = () => {
width: 4,
height: 4,
borderRadius: "50%",
backgroundColor: theme.palette.text.tertiary,
backgroundColor: theme.palette.primary.contrastText.tertiary,
opacity: 0.8,
left: -10,
top: "50%",
@@ -307,7 +307,7 @@ const Configure = () => {
width: 22,
height: 22,
"& path": {
stroke: theme.palette.text.tertiary,
stroke: theme.palette.primary.contrastText.tertiary,
strokeWidth: 1.7,
},
},
+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",
@@ -30,7 +30,7 @@ const CurrentMonitoring = ({ totalMonitors, monitors, isAdmin, handlePause }) =>
<Box
className="current-monitors-counter"
color={theme.palette.text.primary}
color={theme.palette.primary.contrastText.main}
border={1}
borderColor={theme.palette.border.light}
backgroundColor={theme.palette.background.accent}
+2 -2
View File
@@ -73,7 +73,7 @@ const StatusBox = ({ title, value }) => {
textTransform="uppercase"
fontSize={15}
letterSpacing={0.5}
color={theme.palette.text.secondary}
color={theme.palette.primary.contrastText.secondary}
mb={theme.spacing(8)}
sx={{ opacity: 0.6 }}
>
@@ -93,7 +93,7 @@ const StatusBox = ({ title, value }) => {
component="span"
fontSize={20}
fontWeight={300}
color={theme.palette.text.secondary}
color={theme.palette.primary.contrastText.secondary}
sx={{ opacity: 0.3 }}
>
#
+1 -1
View File
@@ -21,7 +21,7 @@ const Fallback = ({ isAdmin }) => {
border={1}
borderRadius={theme.shape.borderRadius}
borderColor={theme.palette.border.light}
color={theme.palette.text.secondary}
color={theme.palette.primary.contrastText.secondary}
>
<Box pb={theme.spacing(20)}>
{mode === "light" ? <PlaceholderLight /> : <PlaceholderDark />}