DocSpring / craco-antd

A craco plugin to use Ant Design with create-react-app
MIT License
234 stars 49 forks source link

Changing colours dynamically #18

Open Epictek opened 5 years ago

Epictek commented 5 years ago

Is it possible to use this to edit the colour dynamically for use with toggling a dark theme or other colours?

https://medium.com/@mzohaib.qc/ant-design-dynamic-runtime-theme-1f9a1a030ba0 seems to be what I need but it uses rewire instead of craco

patricklafrance commented 5 years ago

@fraincs any ideas?

gwdp commented 4 years ago

@Epictek Were you able to change the colours dynamically with craco-antd? Or you changed to rewire?

THPubs commented 4 years ago

Would be great if we can have this to enable the dark theme.