Open conioX opened 1 month ago
i think i got the problem
we need add :
data-rc-order="prepend"
data-rc-priority="-1000"
in this file
antd-style/src/functions/extractStaticStyle.tsx
return {
key: cache.key,
style: (
<style
key={cache.key}
data-emotion={`${cache.key} ${ids.join(' ')}`}
data-rc-order="prepend"
data-rc-priority="-1000"
dangerouslySetInnerHTML={{ __html: css }}
/>
),
css,
ids,
tag: `<style data-emotion="${cache.key} ${result.ids.join(' ')}">${result.css}</style>`,
};
But the problem this is correct?
hi when i use cssVar = true and hashed = false theme not changes, any demo or how can i use cssVar with ant design style?
my theme not change i am using zustand, i think theme mode not change or i am doing something wrong? or it because ant design style use extract static style insted of extract style recommend by ant design next registry?