Skip to main content

One post tagged with "Theme Context 0.0.7"

Theme Context 0.0.7. Use this tag to filter all changes about Theme Context version 0.0.7.

View All Tags

โœจ Theme Context 0.0.7

ยท One min read
Redon Alla
.NET, React, Angular Developer

โœจ Version 0.0.7โ€‹

#8194945 feat(theme-context): enhance theme initialization with device color scheme

Updated the ThemeProvider to incorporate the device's current color scheme using React Native's Appearance API. This change allows themes to default to the user's preferred light or dark mode setting if not explicitly provided. Additionally, made the theme prop optional in ThemeProviderProps and enhanced type handling for colors. This modification improves user experience by aligning app theming with system preferences, ensuring a more consistent aesthetic across applications.