ant-design/.dumi/theme/builtins/Container/style.ts

23 lines
374 B
TypeScript
Raw Normal View History

import { createStyles } from 'antd-style';
const useStyles = createStyles(({ prefixCls, css }) => ({
container: css`
margin: 8px 0;
`,
alert: css`
.${prefixCls}-alert-message {
font-weight: bold;
}
`,
/* 使用 `&&` 加一点点权重 */
desc: css`
&& p {
margin: 0;
}
`,
}));
export default useStyles;