How to use the kitsu/constants/colors.darkGrey function in kitsu

To help you get started, we’ve selected a few kitsu examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hummingbird-me / kitsu-mobile / src / screens / Onboarding / common / RateScreen / styles.js View on Github external
import { StyleSheet, Dimensions } from 'react-native';
import * as colors from 'kitsu/constants/colors';
import { isX } from 'kitsu/utils/isX';

export const styles = StyleSheet.create({
  contentWrapper: {
    flex: 1,
  },
  line: {
    height: StyleSheet.hairlineWidth,
    backgroundColor: colors.darkGrey,
    marginVertical: 10,
  },
  carouselWrapper: {
    height: Dimensions.get('window').height * 0.58,
    marginTop: 10,
  },
  poster: {
    width: Dimensions.get('window').width * 0.7, // should match carousel component itemWidth prop value.
    height: Dimensions.get('window').height * 0.58,
    borderRadius: 8,
    justifyContent: 'flex-end',
  },
  posterInnerContainer: {
    height: 180,
    justifyContent: 'flex-end',
    alignItems: 'center',
github hummingbird-me / kitsu-mobile / src / screens / Profiles / UserLibrary / components / UserLibraryListCard / styles.js View on Github external
alignItems: 'center',
    flexDirection: 'row',
    justifyContent: 'center',
  },
  swipeButton: {
    alignContent: 'flex-start',
    paddingLeft: 12,
    flex: 1,
    justifyContent: 'center',
    backgroundColor: colors.green,
  },
  swipeButtonActive: {
    backgroundColor: colors.green,
  },
  swipeButtonInactive: {
    backgroundColor: colors.darkGrey,
  },
  swipeButtonText: {
    ...StyleSheet.flatten(commonStyles.text),
    ...StyleSheet.flatten(commonStyles.colorWhite),
    fontSize: 16,
  },
  titleSection: {
    alignContent: 'center',
    flexDirection: 'row',
    justifyContent: 'space-between',
    width: '100%',
  },
  titleText: {
    ...StyleSheet.flatten(commonStyles.text),
    marginRight: MENU_BUTTON_WIDTH + 2, // for padding
  },
github hummingbird-me / kitsu-mobile / src / components / Card / CardActivity.js View on Github external
headerText: {
    fontSize: 12,
    fontColor: '#333333',
    fontFamily: 'OpenSans',
  },
  footerDivider: {
    width: 0,
    height: '60%',
    borderWidth: StyleSheet.hairlineWidth,
    borderColor: '#EEEEEE',
  },
  activityText: {
    marginLeft: 90,
    fontFamily: 'OpenSans',
    fontSize: 12,
    color: colors.darkGrey,
    lineHeight: 17,
  },
};

export default CardActivity;
github hummingbird-me / kitsu-mobile / src / screens / QuickUpdateScreen / QuickUpdateCard / styles.js View on Github external
},
  button: {
    marginHorizontal: 5,
    paddingHorizontal: 10,
    paddingVertical: 8,
    borderRadius: 4,
    flexDirection: 'row',
    justifyContent: 'center',
  },
  buttonText: {
    color: colors.white,
    fontFamily: 'OpenSans',
    fontSize: 12,
  },
  seriesCompleteText: {
    color: colors.darkGrey,
    fontSize: 10,
    fontWeight: 'bold',
    fontFamily: 'OpenSans',
  },
  markWatchedButton: {
    flex: 1,
    backgroundColor: colors.green,
  },
  loadingSpinner: {
    flexGrow: 1,
    marginTop: 8,
  },
});

export default styles;
github hummingbird-me / kitsu-mobile / src / screens / Feed / components / PostCreator / styles.js View on Github external
},
  clearEmbed: {
    backgroundColor: colors.red,
  },
  emptyEmbed: {
    borderWidth: 1,
    borderColor: colors.lightestGrey,
    height: 70,
    marginHorizontal: 8,
    marginTop: 4,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: colors.lightestGrey,
  },
  emptyEmbedText: {
    color: colors.darkGrey,
  },
});
github hummingbird-me / kitsu-mobile / src / screens / Feed / components / Post / PostOverlays / OverlayBase / styles.js View on Github external
borderWidth: 1,
    borderRadius: 5,
    margin: scenePadding,
    padding: scenePadding * 1.5,
  },
  backgroundText: {
    position: 'absolute',
    right: scenePadding,
    ...text,
    fontSize: 26,
  },
  foregroundText: {
    ...text,
    flex: 1,
    textAlign: 'center',
    color: colors.darkGrey,
  },
});
github hummingbird-me / kitsu-mobile / src / screens / QuickUpdateScreen / styles.js View on Github external
contentWrapper: {
    flex: 1,
    backgroundColor: 'transparent',
  },
  carousel: {
    flexGrow: 0,
    zIndex: 5,
  },
  socialContent: {
    flex: 1,
    backgroundColor: colors.listBackPurple,
    zIndex: 1,
  },
  separator: {
    height: StyleSheet.hairlineWidth,
    backgroundColor: colors.darkGrey,
  },
  discussionTitle: {
    color: 'white',
    fontFamily: 'OpenSans',
    textAlign: 'center',
    padding: 16,
  },
  closeButton: {
    alignItems: 'center',
    backgroundColor: 'transparent',
    position: 'absolute',
    left: 0,
    right: 0,
    bottom: 0,
    height: 80,
  },
github hummingbird-me / kitsu-mobile / src / screens / Search / SearchCategory.js View on Github external
renderItem={({ item }) => (
           navigation.navigate('SearchResults', { ...item, active })}
          >
            
          
        )}
      />
github hummingbird-me / kitsu-mobile / src / screens / Feed / components / PostCreator / components / EmbedModal / styles.js View on Github external
backgroundColor: colors.green,
  },
  itemUrl: {
    flex: 1,
    textAlignVertical: 'center',
    fontWeight: 'bold',
  },
  itemUrl__selected: {
    color: colors.white,
  },
  checkmark: {
    width: 20,
    height: 20,
    borderRadius: 10,
    borderWidth: StyleSheet.hairlineWidth,
    borderColor: colors.darkGrey,
    alignItems: 'center',
    justifyContent: 'center',
    marginLeft: 8,
  },
  checkmark__selected: {
    backgroundColor: colors.green,
    borderColor: colors.white,
  },
  checkmarkIcon: {
    fontSize: 24,
    backgroundColor: 'transparent',
    paddingTop: Platform.select({ ios: 4, android: 0 }),
  },
});
github hummingbird-me / kitsu-mobile / src / screens / Sidebar / Blocking.js View on Github external
style={{ resizeMode: 'contain', width: 24, height: 24, borderRadius: 12 }}
              cache="web"
            />