@react-navigation/native#DefaultTheme JavaScript Examples

The following examples show how to use @react-navigation/native#DefaultTheme. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: light.js    From ReactNavigationAuthenticationFlowsWithHooks with MIT License 6 votes vote down vote up
lightTheme = {
  ...DefaultTheme,
  colors: {
    ...DefaultTheme.colors,
    background: 'white',
    primary: 'purple',
    text: 'black',
  },
}
Example #2
Source File: App.js    From curso-react-native with MIT License 6 votes vote down vote up
MyTheme = {
  ...DefaultTheme,
  colors: {
    ...DefaultTheme.colors,
    primary: '#E3350D',
    normal: '#6D6D4E',
    fire: '#F08030',
    fighting: '#C03028',
    water: '#6890F0',
    flying: '#A890F0',
    grass: '#78C850',
    poison: '#A040A0',
    electric: '#F8D030',
    ground: '#E0C068',
    psychic: '#F85888',
    rock: '#B8A038',
    ice: '#98D8D8',
    bug: '#A8B820',
    dragon: '#7038F8',
    ghost: '#705898',
    dark: '#705848',
    steel: '#B8B8D0',
    fairy: '#EE99AC',
  },
}
Example #3
Source File: App.js    From curso-react-native with MIT License 6 votes vote down vote up
theme = {
  ...DefaultTheme,
  colors: {
    ...DefaultTheme.colors,
    primary: '#E3350D',
    normal: '#6D6D4E',
    fire: '#F08030',
    fighting: '#C03028',
    water: '#6890F0',
    flying: '#A890F0',
    grass: '#78C850',
    poison: '#A040A0',
    electric: '#F8D030',
    ground: '#E0C068',
    psychic: '#F85888',
    rock: '#B8A038',
    ice: '#98D8D8',
    bug: '#A8B820',
    dragon: '#7038F8',
    ghost: '#705898',
    dark: '#705848',
    steel: '#B8B8D0',
    fairy: '#EE99AC',
  },
}
Example #4
Source File: default-theme.js    From reddit-clone with MIT License 6 votes vote down vote up
customDefaultTheme = {
  ...DefaultTheme,
  colors: {
    ...DefaultTheme.colors,
    blue: '#6495ed',
    text: '#424242',
    border: '#ecedf0',
    green: '#80bdab',
    red: '#d31f4f',
    white: 'white',
    bgColor: 'white',
    signUpButton: '#ce815e',
    signInButton: '#6495ed',
    icon: '#888a8c',
    loader: '#eeeeee',
    postBorder: '#ecedf0'
  }
}
Example #5
Source File: RootStackNavigator.js    From spree-react-native with MIT License 5 votes vote down vote up
MyTheme = {
  ...DefaultTheme,
  colors: {
    ...DefaultTheme.colors,
  },
}