tailwindcss-typography
tailwindcss-typography copied to clipboard
Styles can't be applied in projects with global reset
What version of @tailwindcss/typography are you using?
0.5.16
What version of Node.js are you using?
v22.12.0
What browser are you using?
Firefox, Chrome, Safari
What operating system are you using?
macOS, Ubuntu
Reproduction repository
https://stackblitz.com/edit/chakra-ui-v3-n5edsoww?file=src%2FApp.tsx
Describe your issue
I use ChakraUI that uses CSS reset, and styles of tailwindcss-typography is not applies on my project, because of low weight of rules that are scoped in layers.
You may check my example to see a problem of such approach with layers i copied of tailwindcss-typography.
I propose to add option like disableLayers to unwrap styles of layers and let define it with simple selector like .prose in global scope.