aesthetic-suite / framework

🎨 Aesthetic is an end-to-end multi-platform styling framework that offers a strict design system, robust atomic CSS-in-JS engine, a structural style sheet specification (SSS), a low-runtime solution, and much more!
https://aestheticsuite.dev
MIT License
203 stars 5 forks source link

Backslash in pseudo element content. #26

Closed jacksenior closed 6 years ago

jacksenior commented 6 years ago

Using unicode characters for the content of a pseudo element from within a custom font.

In the bellow the \ gets stripped out by jss in both.

 content: '"\e000"',
 content: '"/\e000"',

Leaving me with either

  content: "e000";
  content: "/e000";

Is it possible to escape these, If so what am I missing?

milesj commented 6 years ago

Are you using unified syntax? Can you try a double slash, like \\?

Can you else send me your JSS setup so I can test a bit.

jacksenior commented 6 years ago

That worked awesome thanks.

milesj commented 6 years ago

Awesome, thanks!