Skip to content

Theme toggle button dark mode becomes invisible with colored app bar #528

@mangecoeur

Description

@mangecoeur

Toggling the theme button to dark mode, the button becomes invisible because it picks up the primary colour, but in case the app bar already has the primary colour it is invisible.

Screen.Recording.2024-02-28.at.17.16.39.mp4

With AppBar created as:

v.AppBar(
                color="primary",
                dark=True,
                app=True,
                clipped_left=True,
                hide_on_scroll=False,
                dense=True,
            )

And theme settings

theme.themes.light.primary = "#004568"
theme.themes.dark.primary = "#004568"

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