picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.58k stars 326 forks source link

Add theme/appearance support #1896

Open cwensley opened 3 years ago

cwensley commented 3 years ago

Eto apps need to deal with dark/light mode on various OS'.

In particular, it would be nice to have apis like:

class Appearance {
  string Name { get; }
  bool IsDark { get; }

  static Appearance[] AvailableAppearances { get; }
}
class Window {
  Appearance CurrentAppearance { get; set; }
  event EventHandler<EventArgs> CurrentAppearanceChanged;
}

.. one of the entries in Appearance.AvailableAppearances would be "system", meaning to use the system appearance instead of a specific one.

cwensley commented 3 years ago

In addition, a default dark theme for WPF would be nice to have built in to Eto.Wpf, perhaps something like in #1855

MarioGK commented 2 years ago

Any updates on this area?

cwensley commented 2 years ago

Not yet! Thanks for chiming in though, it helps prioritize these issues and bring them to the forefront.

MarioGK commented 2 years ago

Not yet! Thanks for chiming in though, it helps prioritize these issues and bring them to the forefront.

Ok good luck with the project, i wished i knew more about this UI stuff so i could help out the project, as far as i have seen the project is amazing for cross platform, i just wished it had a better documentation though

cwensley commented 2 years ago

Great! I'm glad you find the project useful. 😀

i just wished it had a better documentation though

In what areas in particular are you finding the documentation lacking? It would help to know where to focus efforts to improve it.