ant-design/.dumi/theme/builtins/Container/style.ts
b7cf72d7cb
docs(theme): improve built-in component style (#46414)
* docs(theme): improve built-in component style

* chore: update style

* chore: update style

---------

Co-authored-by: MadCcc <madccc@foxmail.com>
2023-12-18 11:02:29 +08:00

23 lines
374 B
TypeScript

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;