{"size": 1112, "ext": "js", "max_stars_repo_path": "src/styles/global.js", "max_stars_repo_name": "iamdarknight/gringo-rn-user-client", "max_stars_repo_stars_event_min_datetime": "2018-12-26T14:12:31.000Z", "max_stars_repo_stars_event_max_datetime": "2018-12-26T14:12:31.000Z", "max_issues_repo_path": "src/styles/global.js", "max_issues_repo_name": "iamdarknight/gringo-rn-user-client", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/styles/global.js", "max_forks_repo_name": "iamdarknight/gringo-rn-user-client", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.2295081967, "max_line_length": 50, "alphanum_fraction": 0.5962230216}
// @flow
import { StyleSheet } from 'react-native';
import { DefaultTheme } from 'react-native-paper';
import color from 'color';
import {
  black,
  white,
} from '@gringo/styles/colors';
import fonts from '@gringo/styles/fonts';


const Theme = {
  ...DefaultTheme,
  dark: true,
  roundness: 3,
  fonts,
  colors: {
    ...DefaultTheme.colors,
    primary: '#691898',
    accent: white,
    background: 'rgba(169, 149, 188, 0.8)',
    surface: white,
    error: '#FFBC33',
    text: black,
    disabled: color('#FFBC33')
      .alpha(0.3)
      .rgb()
      .string(),
    placeholder: color('#691898')
      .alpha(0.54)
      .rgb()
      .string(),
    backdrop: color(black)
      .alpha(0.5)
      .rgb()
      .string(),
  },
};

export default Theme;

export const Styles = StyleSheet.create({
  flatListWrapper: {
    backgroundColor: Theme.colors.surface,
    flex: 1,
  },
  flatListItemContainer: {
    borderBottomWidth: 0,
  },
  flatListItemTitle: {
    marginLeft: 15,
  },
  flatListItemSubTitle: {
    fontSize: 13,
    marginLeft: 15,
  },
  headerRightText: {
    marginRight: 10,
  },
});
