Skip to content

[Bug] After 4.2.1, ui:Button foreground error on pressed #1722

@emako

Description

@emako

Describe the bug

After v4.2.1, ui:Button foreground error on pressed.

To Reproduce

<ui:Button Margin="8,0,0,0" Content="Not good" />
<Button Margin="8,0,0,0" Content="OK" />

Expected behavior

ui:Button foreground should remain white when pressed in dark mode.

Screenshots

Normal:
Image

Pressed:
Image

OS version

win11

.NET version

net10.0-windows

WPF-UI NuGet version

4.2.1, 4.3.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions