andywer / andywer/postcss-theme

Allow generic @imports

Open
#9 5 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
84
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Wouldn't it make sense to simply allow something like `@import theme(colors)`? We rely on `postcss-css-variables` and we don't need `postcss-modules-values`, so we'd simply like this plugin to inject the correct theme folder path.

This is the error

```
Error:
@import 'theme(colors)';
^
File to import not found or unreadable: theme(colors)
```

Any thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.