stylex
stylex copied to clipboard
StyleX is the styling system for ambitious user interfaces.
### Describe the feature request When stylex was first introduced at React Conf in 2019, its API looked like this: ```js const styles = stylex.create({ red: {}, blue: {} });...
### Describe the issue Stylex ESLint disallows `oklch(0 0 0)` or following color formats. ### Expected behavior Stylex ESLint allows all color formats supported by CSS Color Module Level 4...
### Describe the issue When using rollup plugin, stylex.css stops being output when @babel/preset-env is added to a babel config in root directory ### Expected behavior If the plugin is...
### Describe the issue `WebkitBackdropFilter` is not recognized by the eslint plugin. ![image](https://github.com/facebook/stylex/assets/6232457/31f89809-b62b-4f63-8d53-906fb242e954) ### Expected behavior `WebkitBackdropFilter` should be supported just like the other vendor prefixed properties such as `WebkitBackdropAppearance`...
### Describe the issue ```js // next.config.js const stylexPlugin = require('@stylexjs/nextjs-plugin'); module.exports = stylexPlugin({ rootDir: __dirname, })({ transpilePackages: ['@my/ui'], }); ``` Leads to: `TypeError: _stylexjs_stylex_lib_stylex_inject__WEBPACK_IMPORTED_MODULE_0__ is not a function` I...
## What changed / motivation ? Add disable clean cache logic for rollup plugin in watch mode. ## Linked PR/Issues Fixes #363 ## Additional Context In Rollup watch mode, when...
### Describe the feature request Right now it seems impossible to use vars within more complex css you might need. I regularly find myself working around limited css selector access....
I use [highlightjs](highlightjs.org/examples) in a project and I want to use a different themes depending on a what a var is set to. Binding it to a theme makes sense...
## What changed / motivation ? React Strict DOM [recently removed](https://github.com/facebook/react-strict-dom/issues/89 ) their eslint plugin and I'm considering migrating to `@stylexjs/eslint-plugin`. However, react-strict-dom exports `stylex` under `css` object, and it...