Naman Goel

Results 403 comments of Naman Goel

Polyfilling the CSS `light-dark()` should be trivial, will prioritize it. **Update:** Some interesting news regarding `light-dark()`. LightningCSS can polyfill it natively so by adding LightningCSS we can get support for...

# RFC - The approach for polyfilling `light-dark()` correctly I spent some time discussing this with @nitishmehrotra870 and we found a flaw with how LightningCSS polyfills `light-dark()`. Since the implementation...

I'll get some hard numbers as I start implementing the polyfill, but based on usage patterns. Regarding CSS bundle size: - Without `light-dark()` support, we would be forced to create...

@fredrivett Use the `stylex.defineVars` and `stylex.createTheme` APIs and use media queries instead.

Thanks @jherr. The prescripts are indeed very important. Our example Next apps have it, but we did fail to document that properly.

Thanks @jherr! Long overdue but finally merged.

Supress the lint error for now. I'm working on enabling something on the lines of Autoprefixr so you won't have to use vendor-prefixed properties.

@noghartt I updated your proposal to use the correct syntax for using pseudo-classes in StyleX. This is a known paper-cut and I'm considering possible ways to improve this, but it's...

@tounsoo complex selectors are not supported in StyleX and will error in the near future.

@tounsoo In almost all cases, your React (or other UI framework) component are responsible for setting the attributes such as `aria-disabled`. You should define two separate style objects for `aria-disabled`...