Replies: 2 comments 1 reply
Isn't that what rsd is for? I remember seeing stylex there as well. |
|
Hey thanks for your interest! At the moment we're not planning to work on any React Native components. Our theming is decoupled from stylex and it gets built into a css file for the web. The way I'd imagine cross-platform styling to work is that we would have a separate build for the theme in each platform. That said we haven't tried this and realistically we may want slightly different visual considerations between platforms (ex. mobile may want larger text, larger hit areas, glasses may want dark mode only and true black backgrounds). It's an open question whether platforms should be something we encode into our themes or not. |
Uh oh!
There was an error while loading. Please reload this page.
Hi! Astryx looks great — congrats on the open-source release.
The docs and components are clearly focused on React DOM + StyleX for the web. I'm wondering about mobile:
Given StyleX is compile-time CSS I understand a full RN port would essentially be a rewrite, so even a "not planned" answer or a recommended tokens-export approach would be helpful for teams with both web and native apps.
Thanks!
All reactions