casbin/casbin-oa

[frontend] fix the bug that the theme color doesn't work for yarn start

hsluoyz opened this issue · 3 comments

We use craco (https://ant.design/docs/react/use-with-create-react-app#Customize-Theme) to customize the theme color for Antd, but in the current code, the new theme color only works for yarn build, it doesn't work for yarn start. This needs to be fixed.

Sorry, I can't reappear this bug.

Try customize the theme color either in craco.config.js or in a new .less file, it both works normally with yarn start.

image

image

image

Indeed like this, no problem now