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.
32 lines
608 B
32 lines
608 B
import { createStyles } from 'antd-style';
|
|
|
|
const useStyles = createStyles(({ token }) => {
|
|
return {
|
|
trendItem: {
|
|
display: 'inline-block',
|
|
fontSize: token.fontSize,
|
|
lineHeight: '22px',
|
|
},
|
|
up: {
|
|
color: token['red-6'],
|
|
},
|
|
down: {
|
|
top: '-1px',
|
|
color: token['green-6'],
|
|
},
|
|
trendItemGrey: {
|
|
up: {
|
|
color: token.colorText,
|
|
},
|
|
down: {
|
|
color: token.colorText,
|
|
},
|
|
},
|
|
reverseColor: {
|
|
up: { color: token['green-6'] },
|
|
down: { color: token['red-6'] },
|
|
},
|
|
};
|
|
});
|
|
|
|
export default useStyles;
|
|
|