Skip to content

.scss and imports could be handled better #40

@stubbies

Description

@stubbies

If you have global variables you need to import them to every .scss file in order to use them, that's unnecessary and takes too much time doing it manually and keep track.

example structure:

  • src/
    • app/
      • styles/
        • _variables.scss
      • app.scss
      • components/
        • item/
          • _item.scss

Instead of serving separate injected files we can combine them and @import variables only once in app.scss

I'll have a look at it and maybe post the solution here or do a pull-request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions