futursolo / stylist-rs

A CSS-in-Rust styling solution for WebAssembly Applications
https://crates.io/crates/stylist
MIT License
366 stars 22 forks source link

Error parsing for @font-face #155

Closed MarcAntoine-Arnaud closed 5 months ago

MarcAntoine-Arnaud commented 5 months ago

Hi,

I have some css that includes a font, so I need to use @font-face but stylist return that error:

0: at line 5, in Many0:\n@font-face {\n^\n\n1: at line 1, in Trimmed:\nbody {\n^\n\n2: at line 1, in StyleSheet:\nbody {\n^\n\n

Best, Marc-Antoine

MarcAntoine-Arnaud commented 5 months ago

already mentioned here https://github.com/futursolo/stylist-rs/issues/29