akveo / kittenTricks

React Native starter kit with over 40 screens and modern Light and Dark theme for creating stunning cross-platform mobile applications.
https://akveo.github.io/react-native-ui-kitten/
MIT License
7.15k stars 988 forks source link

Can we use custom theme component with this application? #296

Closed aayushsin closed 4 years ago

aayushsin commented 4 years ago

💬 Question

Hi, I am trying to use the custom theme according to a different brand color in the application. The app theme mappings are really helpful. But according to https://akveo.github.io/react-native-ui-kitten/docs/guides/branding/ , we can use either dark or light theme from the default configurations. Is it possible to use both light and dark themes according to the custom theme JSON file with the same mappings with minimal code change?

Any more documentation or example of the same would highly appreciated!

UI Kitten and Eva version

"@eva-design/eva": "^2.0.0", "@eva-design/material": "^2.0.0", "@ui-kitten/components": "^5.0.0", "@ui-kitten/date-fns": "^5.0.0", "@ui-kitten/eva-icons": "^5.0.0", "@ui-kitten/moment": "^5.0.0",

artyorsh commented 4 years ago

👋 Switching a theme is documented here