Replies: 1 comment
-
Probably the same or close to #7050 (Comment for link) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've integrated Tailwind into a couple existing sites and while disabling preflight is easy enough but having to deal with inherited site styles can be annoying.
I think it would be a good idea to make it possible to configure the preflight reset as a class, similar to dark mode.
Then, a class (either
.preflight
or.reset
) could be used to surround regions you'd like to use tailwind classes without inheriting anything from the rest of the site.There are probably some issues with specificity that I'm not considering, but the overall implementation should be fairly sound.
Beta Was this translation helpful? Give feedback.
All reactions