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

Multiple external stylesheet imports. #34

Closed jacksenior closed 5 years ago

jacksenior commented 5 years ago

Jss supports multiple imports via an array of strings, https://github.com/cssinjs/jss/issues/230

    '@import': [
      'react-date-range/dist/styles.css',
      'react-date-range/dist/theme/default.css',
    ],

aesthetic throws error @import value must be string I can work around this by importing the two files in separate style objects or by combining them in an external css file.

milesj commented 5 years ago

This should be supported in the next version.