navita
navita copied to clipboard
Atomic CSS-in-JS with zero runtime
Our loader runs too early in some cases. If we include our loader too late in the process, some of our identifiers might've been three shaken away (such as globalStyle)....
As I almost mentioned in https://github.com/eagerpatch/navita/pull/43, the caching mechanism we're using right now, always assumes in-memory usage. This works very well as it is right now, but the way the...
The idea with this CLI is to be able to convert Tailwind-supported libraries like `shadcn/ui` to Navita components. Nothing here works as of yet - this is just a scaffold....
```typescript const x = style({ '&:hover': { background: 'red', } }); const x2 = style({ '&:active': { background: 'red', } }); ``` Will produce the following css: ```css .a1:hover {...
It would require creating a runtime adapter that uses the engine and inserts styles into the DOM.