[docs] Add context files for style authoring
Describe the feature request
It'd be useful to have context files that document StyleX best practices for developers authoring styles with StyleX. This would include things like:
- Documentation on ESLint rules and instructions to disallow certain CSS properties or practices (
bordershorthands, disalllowed properties within StyleX, prefer conditional styles over dynamic styles when possible, etc) - Documentation on APIs and API usage
Hi @mellyeliu ! I’d like to work on the context files. Can I take this on?
@krishachikka Sure, feel free to take a stab at it! We'll probably need a few iterations, but we can start with some styling context. https://stylexjs.com/docs/learn/styling-ui/defining-styles/ will be a good reference.
Hi @mellyeliu! I’m interested in working on these LLM context files. I see it's been a few weeks since the last update—is this still available for a new contributor? If so, I’d love to start drafting the styling best practices based on the documentation you linked!