Revamped chart cards 2/2
This commit is contained in:
1 parent
e5b347e14b
commit
0aa2c795fb
4 files changed
+103
-175
No files matched your search
@@ -13,6 +13,7 @@ export const ChartBox = styled(Box)(({ theme }) => ({
|
||||
"& h2": {
|
||||
color: theme.palette.text.secondary,
|
||||
fontSize: 15,
|
||||
fontWeight: 500,
|
||||
},
|
||||
"& p": {
|
||||
color: theme.palette.text.tertiary,
|
||||
@@ -59,3 +60,30 @@ export const IconBox = styled(Box)(({ theme }) => ({
|
||||
},
|
||||
},
|
||||
}));
|
||||
|
||||
export const AlertBox = styled(Box)(({ theme }) => ({
|
||||
padding: `${theme.spacing(4)} ${theme.spacing(8)}`,
|
||||
minWidth: 200,
|
||||
width: 225,
|
||||
border: 1,
|
||||
borderStyle: "solid",
|
||||
borderColor: theme.palette.border.light,
|
||||
borderRadius: 4,
|
||||
backgroundColor: theme.palette.background.main,
|
||||
"& h2": {
|
||||
fontSize: 13,
|
||||
fontWeight: 500,
|
||||
color: theme.palette.text.secondary,
|
||||
textTransform: "uppercase",
|
||||
},
|
||||
"& p": {
|
||||
fontSize: 18,
|
||||
color: theme.palette.text.primary,
|
||||
marginTop: theme.spacing(2),
|
||||
"& span": {
|
||||
opacity: 0.8,
|
||||
marginLeft: theme.spacing(3),
|
||||
fontSize: 15,
|
||||
},
|
||||
},
|
||||
}));
|
||||
Reference in new issue
Block a user