stylex icon indicating copy to clipboard operation
stylex copied to clipboard

[docs] Add context files for style authoring

Open mellyeliu opened this issue 3 months ago • 2 comments

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 (border shorthands, disalllowed properties within StyleX, prefer conditional styles over dynamic styles when possible, etc)
  • Documentation on APIs and API usage

mellyeliu avatar Sep 29 '25 20:09 mellyeliu

Hi @mellyeliu ! I’d like to work on the context files. Can I take this on?

krishachikka avatar Oct 07 '25 18:10 krishachikka

@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.

mellyeliu avatar Oct 07 '25 19:10 mellyeliu

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!

Muthusrihemadharshini avatar Dec 18 '25 06:12 Muthusrihemadharshini