ant-design/.dumi/theme/builtins/Container/style.ts
lijianan 2acb7b217a
site: use css token ()
* site: use css token

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-06 16:11:17 +08:00

23 lines
376 B
TypeScript

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