spectre-css
spectre-css copied to clipboard
Simplify partial imports
Background
In order to import only the partials you want, currently you have to type or copy/paste multiple imports:
@import "node_modules/@spectre-org/spectre-css/src/buttons";
@import "node_modules/@spectre-org/spectre-css/src/forms";
@import "node_modules/@spectre-org/spectre-css/src/...";
As there are currently around 50 imports, it would be useful to group them by section and import them instead:
@import "node_modules/@spectre-org/spectre-css/src/all/elements";
@import "node_modules/@spectre-org/spectre-css/src/all/components";
@import "node_modules/@spectre-org/spectre-css/src/all/...";
Proposal
Tasks:
- [ ] build groups
- [ ] update docs
Notes
See:
- #49