Skip to content

Auto-Compile Theme Assets #61

Description

@marcelosomers

Currently, only Sass/Less within the /src/assets/ folder are compiled. This means that any theme-specific styles I add to my theme-assets folder won't be compiled by PatternPack.

We already dictate the location of your theme, and even provide a handlebars helper for {{themeassets}}. I think we should make the following updates:

  • Add a sass task that compiles theme/**/*.scss -> *.css
  • Add a less task that compiles theme/**/*.less -> *.css
  • Add theme/**/*.css as a src in our postcss task
  • Add theme/**/*.{scss,less} to our watch task

These would be simple updates that would extend PatternPack's support of building custom themes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions