antd ConfigProvider issues

Hi there.
I was working with antd and I need to modify some tokens right? So I used a Antd ConfigProvider as parent of a plasmic page with the theme config but nothing happen. I try in different places (layout, main page, etc) even in the plasmic-host. I think is more related with ssr or client render issue.

  • I try using “use client” and not using it.
  • I included import ‘antd/dist/reset.css’; and import ‘@plasmicpkgs/antd/dist/antd.css’;

Hi, I believe not at the moment, but it might be doable… I’m not sure what it would take to make the ant config provider inherit and outer existing theme.

The code is also here in case you want to take a stab at it yourself: plasmic/registerConfigProvider.tsx at master · plasmicapp/plasmic · GitHub

1 Like