Skip to content

Switching the colors of the controls #270

@Saber-1980

Description

@Saber-1980

This one is actually a question, not a bug, I think.

I've been testing the library for a few days and now I wanted to replace the blue accent color with a yellow one. To do this, I´ve tried to use the color palettes defined in the file Dark\Palette.axaml and override the values.

Until I noticed that this has no effect. For example, I wanted to replace the blue focus border of the textbox. However, in the file Dark\TextBox.axaml no reference to a palette entry is set, but the color value is hard coded there again:

<SolidColorBrush x:Key="TextBoxFocusBorderBrush" Color="#54A9FF" />

When I search for the hex value 54A9FF, it is hardcoded in numerous controls.

Is this the final way and the palettes are only a reference for developers, or will this being changed one day?
Or have I missed something maybe?

Thanks!

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