{"repo":"vonovak/react-native-theme-control","free":true,"listed":false,"github":"https://github.com/vonovak/react-native-theme-control","clone":"git clone https://github.com/vonovak/react-native-theme-control.git","description":"Natively control react native application theme at runtime and persist it for the next app start.","language":"TypeScript","stars":173,"topics":["react-native","theme","dark","dark-mode","apearance","hacktoberfest"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-theme-control Control the native platform theme from React Native with full support for both React Native Views and native UI components. Quick Start For Expo projects: Basic usage: Features ✅ Complete Theme Control - Control both React Native Views and native UI components (alerts, date pickers, menus) ✅ Theme Persistence - Automatically recovers and applies your theme before app rendering starts rendering ✅ Native Integration - Control iOS UIApplication Window and Android Activity backgrounds using AppBackground ✅ Expo Support - Works seamlessly with Expo via config plugin ✅ New Architecture Ready - Full support for React Native's New Architecture Example The library ensures consistent theming across your entire app - notice how the scroll bars and keyboard adapt to your theme: Light Mode Dark Mode Modal Background ------------------------- ----------------------- ---------------------------------- View complete example project → Motivation The use case for the package is explained in a youtube video. In React Native, you can use the useColorScheme() hook, or other functions from the Appearance API to get information about the system theme. Note: as of RN 72, the following paragraph isn't true anymore (there is setColorScheme now). However, RN does not maintain the selected color scheme across restarts and doesn't contain other goodies in this package. Using that information, you can then render your Views in dark or light mode design. However, that information","default_branch":null,"files":null,"tree":[],"storefront":"/r/vonovak","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vonovak/react-native-theme-control/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}