Replies: 1 comment 1 reply
-
You could use a <div class="prose prose-neutral text-black"> And when inverting: <div class="prose prose-neutral prose-invert text-white"> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Being able to override prose defaults with classes has been really useful.
However, some of the elements that have CSS variables do not seem to have class equivalents. Most importantly, the body text that several elements derive their colour from is normally a very subtle gray.
I was hoping I could do the following to make it pure black.
But instead I wound up having to change the global tailwind config for the
neutral
grayscale.Additionally, the
invert
variations are not exposed either so I could not do the following.Instead I needed to change the global config again.
Beta Was this translation helpful? Give feedback.
All reactions