stylex
stylex copied to clipboard
StyleX is the styling system for ambitious user interfaces.
I'm trying to add multiple Pseudo Selectors with not selectors, nesting dosen't work either. Get error message 'Invalid pseudo or at-rule' ``` visuallyHidden: { borderWidth: { ':not(:focus):not(:active)': 0 }, clip:...
**The problem** Next.js [server action](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations) is broken when you used a `.babelrc` file, see https://github.com/vercel/next.js/issues/57966 **How to reproduce** Steps to reproduce: 1. Add NextJS (14.0.4) 2. Add a async server...
**The problem** There are cases in which we might want `runtimeInjection: false` (like when developing an SSR app), but we still want to use `dev: true` to provide dev friendly...
## Motivation The immediate motivation is to enable defining and exporting Media Queries the same way that variables can be shared using `defineVars`. In the future, this feature could be...
## What changed / motivation ? Added changes in StateManager class in babel plugin, introduced an extra step of resolution if aliases are provided in babel and nextjs config. This...
## What changed / motivation ? There is a bug right now where setting `runtimeInjection` to `false` doesn't actually work. This PR fixes that.
To customize themes, the customer can configure any variables (color, font, size...) in the Settings feature and save it to the local storage and init when app start. Do we...
**The problem** The `outlineOffset` property is not recognized by the eslint-plugin. **How to reproduce** With the following code: ```ts import * as stylex from '@stylexjs/stylex'; export const styles = stylex.create({...
## What changed / motivation ? Improve the Babel plugin's `StateManager` to not use `$FlowFixMe` (`any`) and instead of validate the options passed in. The code is very imperative at...
Vite plugin
It would be nice to have a Vite plugin. I tried the rollup plugin with a fresh React + Vite and got an error: ```js import { defineConfig } from...