Naman Goel
Naman Goel
You need to set dynamic values for variables. Please use `stylex.create` and dynamic styles to achieve this. Also, please don't define themes in the `.stylex.ts` file. That file is only...
You can use `stylex.create` to override variables. ```tsx color: (color: string) => ({[colors.primary]: color}) ```
```ts // It would be convenient if this syntax worked too // [colors.primary]: newColors.primary, // [colors.secondary]: newColors.secondary, ``` This *should* work. It's a bug if it's not. Reopened issue will...
Thanks for the specific example to verify. Will fix.
#376 should fix this.
Fixed in 0.5.0
This is a known issue. Please refer to #297 for information about this and feel free to comment on that issue with any additional details that may help. - Server...
@kirkas I'm in touch with the folks at Vercel. I'm going to be trying to use the CSS imports technique for better integration with Next specifically. I expect we'll find...
I have an issue up describing a new approach to generate styles within Webpack and Babel that will be more reliable.
#491 is in progress to solve this problem.