Joshua Chen

Results 1055 comments of Joshua Chen

What about having a special class in Infima that reverts all Infima styles? I still find value in certain global styles instead of moving everything to class names.

Closing this since it's unactionable on Docusaurus side. We can discuss in Infima instead, see also https://github.com/facebookincubator/infima/issues/8 I think the easiest solution is to provide an OOTB `Sandbox` component which...

I still don't understand this. First is "why", second is "how". Infima is more comparable to Bootstrap than Tailwind. We don't ask users to compose class names to get any...

Yeah, if we decide to go with shadow DOM it could be most relevant to Docusaurus (we can even offer a theme component like `Sandbox`). I think someone did tell...

Also note that if a user opts into Tailwind I'd assume she's already aware of the Tailwind ideology (which may not be at all apparent to other casual developers), so...

Infima is developed _for_ Docusaurus, so asking if Infima is the right choice is asking if theme-classic is the right choice😅 If there are things going wrong we can fix...

Shadow DOM should be the way to go, because that's literally the purpose of shadow DOM. I didn't investigate, but I do know of successful integration cases.

Yes, Infima is not designed with component library docs in mind—we do not expect such use-case. Using an alternative theme like Tailwind should be able to fix it.

Ionic solved it through shadow DOM which is what I've been saying all along: Plus they are a native component library so they have a different battle.

@sanjaiyan-dev That falls under the realm of > Problem: hacky code, slightly increases bundle size, and harder to maintain in the long run (refactoring hazards) I'm not really willing to...