Skip to content

Title Bar Colors should take into consideration FluentTheme.CustomAccentColor #639

@Abdo-reda

Description

@Abdo-reda

Is your feature request related to a problem? Please describe.
The Title Bar Colors (MinMaxClose Controls) Use the System Accent Color if its available and ignores the CustomAccentColor if its set. As a result, if the application depends and uses the CustomAccentColor then there is a color mismatch (the application is using a color that is different from the title bar controls colors).

Describe the solution you'd like
I think the Function that sets the title bar colors private void SetTitleBarColors() should prioritize and use the CustomAccentColor if found, if not found then it should fallback to the current behavior.

Describe alternatives you've considered
We could also introduce a variable or configuration whether the titlebar colors should depend on the custom accent color or not. This will give the option so that if some developers want the title bar colors to depend on the system color and ignore the CustomAccentColor.

Additional context

  • SetTitleBarColors
  • An image showing what it could look like (minimize button) vs current behaviour (max and close buttons).
    image

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