Refactored theme common color props and fixed button background delay on theme change
This commit is contained in:
1 parent
313a3af67c
commit
ac48378614
18 files changed
+48
-40
No files matched your search
@@ -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,
|
||||
|
||||
@@ -77,7 +77,7 @@ const Monitors = ({ isAdmin }) => {
|
||||
{monitorState.monitors?.length !== 0 && (
|
||||
<Button
|
||||
variant="contained"
|
||||
color="common"
|
||||
color="primary"
|
||||
onClick={() => {
|
||||
navigate("/monitors/create");
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user