Feat(Theme): Support dark mode
This commit is contained in:
28
src/assets/css/components/system/statistics-card.style.ts
Normal file
28
src/assets/css/components/system/statistics-card.style.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { createStyles } from 'antd-style'
|
||||
|
||||
export default createStyles(({ token }) => ({
|
||||
root: {
|
||||
padding: token.paddingLG,
|
||||
gap: token.paddingLG
|
||||
},
|
||||
|
||||
head: {
|
||||
alignItems: 'center',
|
||||
gap: token.sizeXXS,
|
||||
color: token.colorPrimary,
|
||||
|
||||
'>:nth-child(n+3)': {
|
||||
flex: '0 0 auto'
|
||||
}
|
||||
},
|
||||
|
||||
icon: {
|
||||
fontSize: token.sizeLG,
|
||||
flex: '0 0 auto'
|
||||
},
|
||||
|
||||
title: {
|
||||
display: 'flex',
|
||||
fontSize: token.fontSize
|
||||
}
|
||||
}))
|
||||
Reference in New Issue
Block a user