pieces icon indicating copy to clipboard operation
pieces copied to clipboard

Simple, stand-alone, reusable components.

Results 11 pieces issues
Sort by recently updated
recently updated
newest added

Fix issues: #9 #12

For example, the following valid at-rules are causing parsing error ``` @MEDIA (max-width: 1024px) { div { color: #000; } } ``` ``` @IMPORT url(main.css); ```

The CSS parser ignores empty rules and doesn't compile them, and that's great, in my opinion. However, empty at-rules are being compiled and aren't being ignored. For example, the following...

The following CSS code: ``` @-moz-document url-prefix() { h1 { color: green; } } ``` is causing this compiling error: `TypeError: this[n.type] is not a function`

The following CSS code: ``` @document url("https://www.example.com/") { h1 { color: green; } } ``` is causing this parsing error: `TypeError: m[1] is undefined`

Both of the following CSS codes: ``` @import url(main.css); ``` ``` @import url(main.css) (max-width: 1024px); ``` are being compiled to: ``` @import undefined; ```

The following CSS code: ``` @supports (display: grid) { main { display: grid; } } ``` is being compiled to: ``` @supports undefined{main{display:grid;}} ```

The following syntax errors are not being reported: **Unclosed block** (when the next rule's selectors contain colons): ``` body { color: #000; p:first-child { color: #111; } ``` **Unclosed bracket**:...

Would you mind adding this to NPM?

This error message keeps coming up at line 38 of vs-notify.js: **Uncaught ReferenceError: Vue is not defined** How can I fix it?