Skip to content

Data-theme global setting not work #52

Closed
@valokammi

Description

@valokammi

I have global setting <html lang="fi" data-theme="dark"> in template. Page renders out light theme. Theme switcher works like it should at least when selecting dark theme, not tested OS theme setting.
EDIT: Turned off Theme swicther (html and js) and theme is now dark! So this might be js issue in minimal-theme-switcher.js?

Expected Behavior

Whole page except elements that are point to light theme should be dark.

Environment

Windows 10, Laragon (devserver), Modx, Firefox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions