The peerDependency on vector icons was removed in #303 to support optional usage of vector icons. This was mostly due to people using react-navigation wanting to remove the dependency. However, React Navigation moved it to a separate package: https://github.com/react-navigation/react-navigation-material-bottom-tab-navigator, so the case no longer holds.
Removing the peerDependency also had the effect of removing support for vector-icons on our build on Snack since Snackager relies on peerDependencies to figure out what to install before bundling.
Adding it back to the peerDependency also means that people who use expo will get the warning since they don't need to install it. However they already get this error from any package that uses react-native-vector-icons and there's no good way to handle it.
Another effect is that people who use babe-plugin-optional-require to exclude vector icons will still get the warning for peer dependency. They could, however, install the package and use the 'blacklist' option to exclude it from the bundle.
* refactor: Add DarkTheme, new colors in theme & update components to use it
* chore: Remove 'console.log' statements
* chore: Change dark theme property from string to boolean
* feat: Add ability to toggle the theme from the drawer
* fix: Wrap typography example screen with 'withTheme'
* style: Update components to use correct dark theme colors
* style: Update dark theme primary color and rn-navigation toolbar now gets the color from the theme
* style: Add color prop to DrawerItem and update the example
* style: Change the unchecked color in both Checkbox and RadioButton
* chore: Add `yarn-error.log` to `.gitignore`
* chore: Use lodash instead of lodash.merge
* chore: Address PR comments