linaria
linaria copied to clipboard
Zero-runtime CSS in JS library
## Environment - Linaria version: 3.0.0-beta.16 - Bundler (+ version): webpack 5.65.0 - Node.js version: 17.2.0 - OS: Linux ## Description Hi there, after upgrading to 3.0.0-beta.16, there are some...
## Describe the feature Is there a way to implement responsive props with linaria similar to https://github.com/emotion-js/facepaint? ## Motivation When implemening a primitive component using `Box` or `Text`, it is...
## Environment linaria: "2.3.1" @linaria/babel-preset: "3.0.0-beta.15", @linaria/shaker: "3.0.0-beta.15", @callstack/react-theme-provider": "3.0.7", implemented in nextjs: 12.0.4 Node: 16.13.0 OS: MacOS 11.6 (Arm) ## Static font face does work, example: ``` const woff...
## Environment - Linaria version: 2.3.1 - Bundler (+ version): Next.js v12.0.10 (Webpack) - Node.js version: 16.10.0 - OS: MacOS ## Description `:global() { ... }` throws an error, which...
I followed official nextjs linaria example: https://github.com/vercel/next.js/blob/canary/examples/with-linaria to setup basic app and tried to import simple global css: global.css ``` body { margin: 0; } ``` directly into _app.js. _app.js...
## Describe the enhancement Currently, atomic styles produces an object in the resulting code like this: ```ts const atoms = css` background: red; width: 100%; `; // gets compiled to...
### Environment - Linaria version: 2.3.1 - Bundler (+ version): vite 2.7.6 (uses @linaria/rollup 3.0.0-beta.15) - Node.js version: 17.0.1 - OS: MacOs Monterey 12.1 (21C52) ### package.json: ``` "dependencies": {...
Linaria version: 3.0.0-beta.1~17 Bundler (+ version): webpack4.46.0 Node.js version: 13 OS: win7 ## Description Module build failed (from ./node_modules/[email protected]@linaria/lib/webpack4-loader.js): NonErrorEmittedError: (Emitted value instead of an instance of Error) TypeError: D:\DEV\git\repo_eb\pcng-client-taro-repo\pcng-client-taro\pcng-client-taro\src\form\Che...
## Describe the enhancement To correctly merge together atomic styles, we should expand shorthand properties. https://github.com/johanholmerin/style9/blob/10d282d17732a15409fcdc59ba75ed152f219e3f/docs/Usage-guide.md#shorthands contains some info on how this can work. We just need to explode properties...
## Describe the enhancement I've run into some issues using `@linaria/extractor` with `@linaria/atomic`, where when evaluating dependencies, it tries to evaluate `@linaria/atomic` which includes calls to `fs` (which we don't...