linaria
linaria copied to clipboard
Zero-runtime CSS in JS library
This PR adds the nextjs plugin and an example using it
## Environment I've included the environments for both cases in the following code sandboxes. The sandboxes are completely identical other than the linaria versions in package.json. - [linaria not working...
## Environment - Linaria version: "@linaria/react": "4.1.2", "@linaria/rollup": "4.1.2" - Bundler (+ version): vite 3.0.4 with vite-plugin-ssr 0.4.18 - Node.js version: v18.7.0 - OS: Arch Linux ## Description I'm writing...
## Describe the enhancement Inspired from https://github.com/unocss/unocss#layers linaria.config.js ``` module.exports = { layers: ["utility", "component", "application"], defaultLayer: "application" } ``` Add optional options argument which can be used to pass...
## Environment [email protected] [email protected] - Linaria version: 4.1.2 - Bundler (+ version): [email protected] - Node.js version: 18.2.0 - OS: Mac OS 10.14 + Linux Sandbox ## Description Variables in tag...
## Motivation Should fix #1039 ## Summary it's safe to not remove the global var inside `TemplateString`, I replace it with empty string
## Motivation Noticed that Linaria was migrated to use Pnpm 2 months ago, but the `CONTRIBUTING.md` is outdate ## Summary 1. change Yarn to Pnpm 2. remove flow in `CONTRIBUTING.md`...
## Environment - Linaria version: 4.1.2 - Bundler (+ version): [email protected] - Node.js version: v14.17.6 - OS: Mac OS (M1 chip) ## Description There are two files, `index.js` and `literal.js`,...
## Environment - Linaria version: v4.1.0 - Bundler (+ version): Webpack 5+ - Node.js version: v18+ - OS: macOS v12.2.1 ## Description I noticed a few issues with styling whenever...