Vadims Daleckis

Results 193 comments of Vadims Daleckis

We can do that. PR for this is welcome!

Main contribution of css-blocks is ["state selectors"](https://github.com/linkedin/css-blocks#state-selectors) and "sub-state selectors".

See examples here: - https://gist.github.com/streamich/1ef6c3a8c3e1d94b41655fd7dfb3a85b

Experimental API has been implemented here: - https://github.com/streamich/nano-css/pull/49 See these files: - https://github.com/streamich/nano-css/blob/master/addon/cssom.js - https://github.com/streamich/nano-css/blob/master/addon/ref.js

@elektronik2k5 what do you think about having devtools for CSS, like a panel in Kuker? https://github.com/krasimir/kuker/issues/6

Example source map implementation: - https://github.com/rtsao/styletron/pull/231 ```js /* eslint-env browser */ import StackTrace from "stacktrace-js"; import {encode} from "sourcemap-codec"; const cache = {}; const schedule = window.requestIdleCallback ? task =>...

Add `sourcemaps` addon: https://github.com/streamich/nano-css/blob/master/docs/sourcemaps.md Tell me if it works for you!

How do you use it? Can you paste an example?

I see, currently `sheet` treats every key at top level as a class name. I suspect this would work, if you nested `@keyframes` inside a class name: ```js nano.sheet({ foo:...

I'm not sure if there is an easy way to modify `!important` addon such that it will skip keyframes.