This repo aims to demonstrate what it might feel like to mix-and-match the conventional StyleX stylesheet API with inline styles made possibly by @nonzzz's packages:
@stylex-extend/core
@stylex-extend/react
vite-plugin-stylex-dev
This repo relates to the StyleX issue: [RFC] Defining styles inline #534.
Clone this repo and install the NPM dependencies using npm i
or equivalent. Then run npm run dev
to start the development server. You can also run npm run build
to build the distribution directory dist
.
Deployed here: https://664c91e75cdabe18b4a153f8--ornate-paletas-1d9edc.netlify.app/
Press [ to toggle the modal-style dialog ] to toggle the alert-style dialog.