import theme from "../test.scss";
semanticColors: {
bodyText: theme.neutralPrimary,
buttonText: theme.grey01,
buttonBorder: theme.grey01,
buttonBackgroundHovered: theme.grey05,
buttonBackgroundPressed: theme.grey04,
buttonBackgroundDisabled: theme.blue,
buttonTextDisabled: theme.grey03,
buttonBorderDisabled: theme.grey03,
primaryButtonBackgroundPressed: theme.red,
primaryButtonBackgroundHovered: theme.red,
primaryButtonBackgroundDisabled: theme.grey03,
primaryButtonTextDisabled: theme.red,
// disabledBackground: theme.grey03
},
似乎所有的buttonbackground样式都不起作用,我使用disableBackground或buttonText可以看到效果,为什么设置按钮背景不起作用?
非常感谢您的帮助。