stylex icon indicating copy to clipboard operation
stylex copied to clipboard

StyleX is the styling system for ambitious user interfaces.

Results 79 stylex issues
Sort by recently updated
recently updated
newest added

**The problem** When importing a variable file like is listed in [the docs](https://stylexjs.com/docs/learn/theming/defining-variables/), the build is only succeeding if the import path is a relative path (i.e. ../src/lib/theme/theme.stylex), but fails...

enhancement
help wanted

https://stylex-docusaurus-nxsbvzf80-nmn.vercel.app For now, this is a proof of concept. I have used a webcontainer to successfully compile and show the output of a file. The next step is to make...

CLA Signed

Please remove `const` from: ``` export type Stylex$Create = < const S extends { [key: string]: UserAuthoredStyles | ((...args: any) => UserAuthoredStyles); }, >( styles: S, ) => MapNamespaces; ```...

## What changed / motivation ? Removed redundant 'as const' assertions from constant declarations.

## What changed / motivation ? This PR fixes the bug, where consumers cannot create `keyframes` directly inside `defineVars`. ``` export const vars = stylex.defineVars({ fadeIn: stylex.keyframes({ '0%': { opacity:...

CLA Signed

Can anybody help me to turn the below code into stylex: this works in dev but I get the below error. ``` "::-webkit-scrollbar": { width: "8px", height: "8px" }, "::-webkit-scrollbar-thumb":...

bug
good first issue

This is a beta branch for now, do not merge into main.

CLA Signed

## Object postion We can use pixels and percentages in values as well. I have seen the only string we can use in numbers as well.

**Is your feature request related to a problem? Please describe.** The current implementation of the NextJS plugin doesn't use Flow as other packages like @stylexjs/babel-plugin, so it doesn't include TypeScript...

**The problem** Not omitting the `return` keyword when creating dynamic styles causes a `Styles must be represented as JavaScript objects, not ArrowFunctionExpression` error. | Synxtax | Type | | -...