Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
11 replies
gsemyong

Scoping tailwind styles

I am building some components, which should be safely pluggable into shopify theme. First thought - I should use shadow DOM to scope styles to the component (since I don't know what potentially could be inside the shopify theme). Of course I want to use tailwind, but it seems like it's not quite fitting. Anyone faced such a challenge? Haven't found any so called "right" solutions for the problem.
Was this page helpful?