👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

56 lines
1.3 KiB

import { createStyles } from 'antd-style';
const useStyles = createStyles(({ token }) => {
return {
suffix: {
marginLeft: '4px',
color: token.colorText,
fontSize: '16px',
fontStyle: 'normal',
},
numberInfoTitle: {
marginBottom: '16px',
color: token.colorText,
fontSize: token.fontSizeLG,
transition: 'all 0.3s',
},
numberInfoSubTitle: {
height: '22px',
overflow: 'hidden',
color: token.colorTextSecondary,
fontSize: token.fontSize,
lineHeight: '22px',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
wordBreak: 'break-all',
},
numberInfoValue: {
marginTop: '4px',
overflow: 'hidden',
fontSize: '0',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
wordBreak: 'break-all',
'& > span': { color: token.colorText },
},
subTotal: {
marginRight: '0',
color: token.colorTextSecondary,
fontSize: token.fontSizeLG,
verticalAlign: 'top',
},
anticon: {
marginLeft: '4px',
fontSize: '12px',
transform: 'scale(0.82)',
},
'anticon-caret-up': {
color: token['red-6'],
},
'anticon-caret-down': {
color: token['green-6'],
},
};
});
export default useStyles;