Skip to content

Save a different file for each theme. #20

@phcoliveira

Description

@phcoliveira

Hello there!

I have been looking for something like this, but unfortunately it is not useful to me the way it works.

Suppose you have a base styling which can used with 3 themes. In order to have a final build with these themes, you would have to specify a theme, build, copy and paste app-1.css somewhere else, change the theme, build it again, copy and paste app-2.css somewhere else, change the theme, build it again, copy app-1.css and app-2.css and paste them along app-base.css and app-3.css.

Am I missing something?

I make no sense in specifying which theme to build. All of them should be built, resulting in app-base.css, app-1.css, app-2.css and app-3.css in a single folder: assets/css.

The resulting files could be meant to be used alone, as in <link src="app-1.css>, or in combination with the base styling, as in <link src="app-base.css><link src="app-1.css">.

Server or client logic should determine which theme to load, not compiling settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions