Skip to content

Set bootstrap color mode in ModuleThemeInterface #5255

@ekdahl

Description

@ekdahl

I'm doing some guessing here, since I don't have all the dots connected about how the whole webtrees app is "wired"...

Anyway, from Bootstrap 5.3 light or dark color modes can be selected. I think it would be useful to be able to set this in the theme interface, to tell if the theme wants light or dark "base mode". This interface extension would then conditionally add data-bs-theme="light" or data-bs-theme="dark" to the html element.
This change would make it easier to implement dark themes for webtrees.

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