Refactored theme common color props and fixed button background delay on theme change

This commit is contained in:
Daniel Cojocea committed 2024-08-31 01:33:33 -04:00
1 parent 313a3af67c
commit ac48378614
18 files changed
+48 -40

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ const StatBox = ({ title, value }) => {
mb={theme.spacing(2)}
fontSize={14}
fontWeight={500}
color={theme.palette.common.main}
color={theme.palette.primary.main}
sx={{
"& span": {
color: theme.palette.text.accent,
+1 -1
View File
@@ -77,7 +77,7 @@ const Monitors = ({ isAdmin }) => {
{monitorState.monitors?.length !== 0 && (
<Button
variant="contained"
color="common"
color="primary"
onClick={() => {
navigate("/monitors/create");
}}