css-variable icon indicating copy to clipboard operation
css-variable copied to clipboard

Define CSSVariables in JS

Results 9 css-variable issues
Sort by recently updated
recently updated
newest added

See: https://swc.rs/docs/plugin/selecting-swc-core#088x- The update would be not too hard. The commit for updating `swc_core` in official plugins is https://github.com/swc-project/plugins/commit/b42da8316c8db0244fcfa61f255c54748ced9f16

Hey there, Using Linaria and the code below: ```ts import { css } from '@linaria/core'; import { createVar } from 'css-variable'; const myColor = createVar({ value: 'rebeccapurple' }); export const...

As a css-in-js newbie, i have really no idea how to use this lib when i read only the website. After study the code and the examples it got clearer....

After the latest commits to this project I'm really hooked to improve it further. One aspect that I noticed that bugs me is that when you switch from Babel to...

declaring multiple vars at once is quite repetitive right now e.g.: ```js const a = createVar() const b = createVar() const c = createVar() ``` maybe we could create a...

if not specified the babel plugin will set `displayName` to `true` for development we should add the same behaviour to the swc plugin - see also: https://github.com/swc-project/swc/pull/3677

> I'm creating this PR because this project is registered in `swc-ecosystem-ci`. There was a breaking change, and Wasm-incompatible version of `@swc/core` is being published. https://swc.rs/docs/plugin/selecting-swc-core