egorozh / Tabalonia

Draggable tab items on Avalonia here!
MIT License
178 stars 8 forks source link

Theme does not respect RequestedThemeVariant #5

Closed derekantrican closed 1 year ago

derekantrican commented 1 year ago

It looks like the dark theme is hardcoded: https://github.com/egorozh/Tabalonia/blob/develop/Tabalonia/Themes/FluentTheme.cs#L28

In my application, I have RequestedThemeVariant="Light" (which will be controlled by a user setting later). However, Tabalonia seems to be only dark theme (see below). Can this be be changed to reflect the parent RequestedThemeVariant? If not, how do I configure Tabalonia's theme as well?

image

egorozh commented 1 year ago

I didn't support the light theme. I'll do it soon)

egorozh commented 1 year ago

Added new Fluent theme with supporting light theme. Old theme renamed to "Custom". Also, an example of using your theme has been added to the demo. image