An open API service indexing awesome lists of open source software.

https://github.com/zaydek/stylex-extend

Proof of concept repo demonstrating support for inline/atom made possible by @nonzzz's @stylex-extend/* packages
https://github.com/zaydek/stylex-extend

Last synced: 10 months ago
JSON representation

Proof of concept repo demonstrating support for inline/atom made possible by @nonzzz's @stylex-extend/* packages

Awesome Lists containing this project

README

          

## Early support for `inline` or `atom` in StyleX

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](https://github.com/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](https://github.com/facebook/stylex/issues/534).

## Try it yourself

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

## Extra

Deployed here: https://664c91e75cdabe18b4a153f8--ornate-paletas-1d9edc.netlify.app/

Press \[ to toggle the modal-style dialog \] to toggle the alert-style dialog.

https://github.com/zaydek/stylex-extend/assets/58870766/219392dd-7e52-4b76-b52f-04eb738df85b