Sébastien Lorber

Results 1381 comments of Sébastien Lorber

It has something to do with both. If you use server-side rendering like Docusaurus, Gatsby or Next, a CSS-in-JS like Styled-Components need proper integration with the framework to ensure critical...

@bennodev19 that's something we want to work on but is not so simple. APIs are forever so we'd rather find a good abstraction for CSS-in-JS integration that will work for...

Yes, that seems like a reasonable thing to do. I'd be interested if someone could help design an API that works for most CSS-in-JS libs, and also allow composition (ie...

IMHO we could scope those rules under a `.infima-app` class or something used at the root of the Docusaurus app. But would this solve your problem @Airkro ? Please describe...

Agree, it should be possible to mount a component library in Docusaurus and expect it to not be affected by Docusaurus styles (without requiring the usage of an iframe) We'll...

I'll re-open because we can also do something on Docusaurus side, such as providing another theme (likely Tailwind) that does not have this problem in the first place. It should...

> It instantly means we have to do A LOT more MDX component mapping because literally everything, from ul to table to hr, has Infima-default styles today. We have to...

Looks like upcoming CSS `@scope` this could be a good solution: https://twitter.com/sebastienlorber/status/1533767305875824641

Hi @TomPeirs This is something I actually plan to add, just wanted to see if someone come from a need for this and could help design the feature :) In...

> it would be great to be able to configure the localeConfigs as you porpose. But I guess your proposal is not available in Alpha-75 right? As I tried to...