virtualvivek / react-windows-ui

Build Windows native look & feel apps using ReactJS. Provides a set of accessible, reusable and composable react components that make it super easy to create websites and apps.
https://virtualvivek.github.io/react-windows-ui/
MIT License
537 stars 44 forks source link

Interoperability with other library - way to check which theme is in use #11

Closed pixellos closed 2 years ago

pixellos commented 2 years ago

Hi, As i saw ThemeManger is only setting given color in dom. Maybe there should be callback when it happen?

virtualvivek commented 2 years ago

Hi @pixellos ,

I will add onColorChange and onModeChange listener for AppTheme component. That will be implement soon along with other enhancement !

virtualvivek commented 2 years ago

Hi @pixellos ,

I have added the following components:

  1. AppTheme props onSchemeChange and onColorChange.
  2. Added component Appearance to Get and Set themes on runtime.

For more about the usage i will suggest you to see the docs.