yeun / open-color

Color scheme for UI design.
https://yeun.github.io/open-color/
MIT License
5.27k stars 239 forks source link

Add PostCSS-import compatible endpoint #117

Closed BasixKOR closed 3 years ago

BasixKOR commented 3 years ago

postcss-import resolves @import calls in CSS files and transforms it. For now when I try to import open-color using @import 'open-color'; it resolves to JSON file, which results in error.

Adding style item in package.json will solve this problem, and would be benefitial for most of CSS users. I'll create a PR adressing this issue.