Skip to content

Simplify partial imports #29

@davestewart

Description

@davestewart

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentationimprovementAn improvement to an existing feature

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions