Dark theme doesn't work with typography. #2927
-
Reproduction repo here. I used Is some configuration wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
When you enable a Let me know if you have a question. |
Beta Was this translation helpful? Give feedback.
-
additionally, like this config can just only using export default {
daisyui: {
prefix: 'ds-'
},
plugins: [
typography({
className: 'ds-prose'
}),
daisyui
],
} |
Beta Was this translation helpful? Give feedback.
When you enable a
ds-
prefix for daisyUI, all class names which are coming from daisyUI get a prefix. including the additional style we add forprose
.So in this case you need to add an
ds-prose
toprose
so the required colors get added toprose
.Let me know if you have a question.