From a5ee163a982a399a13035a2207382b7d60cd62b4 Mon Sep 17 00:00:00 2001 From: Daniel Szczepanik Date: Wed, 2 Feb 2022 12:28:39 +0100 Subject: [PATCH] chore: set V3 themes by default for example app --- src/components/BottomNavigation/BottomNavigation.tsx | 2 +- src/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/BottomNavigation/BottomNavigation.tsx b/src/components/BottomNavigation/BottomNavigation.tsx index 6527595d47..5848f95b7a 100644 --- a/src/components/BottomNavigation/BottomNavigation.tsx +++ b/src/components/BottomNavigation/BottomNavigation.tsx @@ -744,7 +744,7 @@ const BottomNavigation = ({ : 7; // We render the active icon and label on top of inactive ones and cross-fade them on change. - // This trick gives the illusion that we are animating between active and inactive colors?. + // This trick gives the illusion that we are animating between active and inactive colors. // This is to ensure that we can use native driver, as colors cannot be animated with native driver. const activeOpacity = active; const inactiveOpacity = active.interpolate({ diff --git a/src/index.tsx b/src/index.tsx index 4417b61b55..421081cb10 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5,8 +5,8 @@ export { Colors }; export { useTheme, withTheme, ThemeProvider } from './core/theming'; export { default as Provider } from './core/Provider'; -export { default as DefaultTheme } from './styles/themes/v2/LightTheme'; -export { default as DarkTheme } from './styles/themes/v2/DarkTheme'; +export { default as DefaultTheme } from './styles/themes/v3/LightTheme'; +export { default as DarkTheme } from './styles/themes/v3/DarkTheme'; export { default as shadow } from './styles/shadow'; export { default as overlay } from './styles/overlay'; export { default as configureFonts } from './styles/fonts';