Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

[Themes] Should we allow multiple themes per extension? #8423

@peterflynn

Description

@peterflynn

This would be useful for providing theme "packs." A number of themes come in light+dark pairs, so this is probably a fairly common need. It would also be useful if any of the existing theming extensions want to convert over to just being a bundle of popular themes that plug into the core theming feature -- more than just the convenience of downloading all their old themes at once, it would let them actually update in place, removing their old menu items and morphing directly into a theme bundle.

I know we eventually want to allow bundling any set of extensions together into a single-install "pack", but that's a long way down the road still. Themes are something we could address in a much more targeted, simple way.

E.g. instead of "theme": "<somefile>.less" in package.json, we could do this:

"themes": {
    "Theme 1": "theme1.less",
    "Theme 2": "theme2.less",
    ...or maybe:
    "Theme 3": {
        file: "theme3.less",
        dark: true,
        <any other special settings needed>
    }
}

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