How to use the kitsu/constants/colors.lightestGrey 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 / Feed / components / PostCreator / components / EmbedModal / styles.js View on Github external
import { StyleSheet, Platform } from 'react-native';
import * as colors from 'kitsu/constants/colors';
import { isX, safeAreaInsetX } from 'kitsu/utils/isX';

export const styles = StyleSheet.create({
  container: {
    marginBottom: isX ? safeAreaInsetX.bottom : 0,
    flex: 1,
  },
  seperator: {
    height: StyleSheet.hairlineWidth,
    backgroundColor: colors.lightestGrey,
  },
  item: {
    paddingBottom: 8,
  },
  itemContainer: {
    padding: 8,
    marginBottom: 8,
    flexDirection: 'row',
    alignItems: 'center',
    backgroundColor: colors.offWhite,
  },
  item__selected: {
    backgroundColor: colors.green,
  },
  itemUrl: {
    flex: 1,
github hummingbird-me / kitsu-mobile / src / screens / Feed / components / PostCreator / styles.js View on Github external
borderWidth: 1,
    borderColor: colors.lightestGrey,
    padding: 8,
    justifyContent: 'center',
    alignItems: 'center',
    flex: 1,
  },
  changeEmbed: {
    marginRight: 4,
  },
  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 / PostCreator / styles.js View on Github external
justifyContent: 'center',
    alignItems: 'center',
  },
  embed: {
    marginVertical: 4,
  },
  embedOptions: {
    flexDirection: 'row',
    flex: 1,
    justifyContent: 'space-around',
    marginHorizontal: 8,
    marginTop: 4,
  },
  embedText: {
    borderWidth: 1,
    borderColor: colors.lightestGrey,
    padding: 8,
    justifyContent: 'center',
    alignItems: 'center',
    flex: 1,
  },
  changeEmbed: {
    marginRight: 4,
  },
  clearEmbed: {
    backgroundColor: colors.red,
  },
  emptyEmbed: {
    borderWidth: 1,
    borderColor: colors.lightestGrey,
    height: 70,
    marginHorizontal: 8,
github hummingbird-me / kitsu-mobile / src / screens / Onboarding / common / OnboardingHeader / styles.js View on Github external
},
  logo: {
    width: 120,
    height: 32,
    resizeMode: 'contain',
  },
  buttonRight: {
    width: 70,
    justifyContent: 'center',
    alignItems: 'flex-end',
    paddingRight: 8,
  },
  buttonRightText: {
    fontFamily: 'OpenSans',
    fontSize: 13,
    color: colors.lightestGrey,
    backgroundColor: colors.transparent,
  },
  buttonRightEnabled: {
    color: colors.yellow,
  },
});
github hummingbird-me / kitsu-mobile / src / screens / Feed / components / Post / styles.js View on Github external
borderTopColor: colors.lightGrey,
  },
  postActionButton: {
    flex: 1,
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'center',
  },

  postFooter: {
    borderTopWidth: StyleSheet.hairlineWidth,
    borderTopColor: colors.lightGrey,
    backgroundColor: colors.offWhite,
  },
  postReplyBanner: {
    backgroundColor: colors.lightestGrey,
    padding: 10,
    display: 'flex',
    justifyContent: 'space-between',
    flexDirection: 'row',
    alignItems: 'center',
  },
  postSection: {
    padding: scenePadding,
  },
  postCommentsSection: {
    padding: scenePadding,
    borderTopWidth: StyleSheet.hairlineWidth,
    borderTopColor: colors.lightGrey,
    backgroundColor: colors.offWhite,
  },
  linkStyle: {
github hummingbird-me / kitsu-mobile / src / screens / Feed / components / PostCreator / styles.js View on Github external
},
  changeEmbed: {
    marginRight: 4,
  },
  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 / Comment / styles.js View on Github external
import { StyleSheet, Platform } from 'react-native';
import * as colors from 'kitsu/constants/colors';

export const styles = StyleSheet.create({
  bubble: {
    alignSelf: 'flex-start',
    paddingVertical: 7,
    paddingHorizontal: 14,
    borderRadius: 20,
    backgroundColor: colors.lightestGrey,
  },
  emptyBubble: {
    backgroundColor: 'transparent',
  },
  commentActions: {
    flexDirection: 'row',
    alignItems: 'center',
    paddingLeft: 14,
    paddingTop: 5,
  },
  commentActionItem: {
    marginLeft: 14,
    flexDirection: 'row',
    alignItems: 'center',
  },
  likeIcon: {
github hummingbird-me / kitsu-mobile / src / screens / Profiles / components / SceneHeader / styles.js View on Github external
descriptionView: {
    backgroundColor: '#FFFFFF',
    paddingHorizontal: scenePadding,
    marginTop: scenePadding,
  },
  statusView: {
    flexDirection: 'row',
    paddingHorizontal: scenePadding,
    marginTop: scenePadding,
    alignItems: 'center',
  },
  kitsuScore: {
    flexDirection: 'column',
    borderWidth: 1,
    borderColor: colors.lightestGrey,
    paddingVertical: 4,
    paddingHorizontal: 14,
    marginRight: 6,
    alignItems: 'center',
    justifyContent: 'center',
  },
  kitsuScoreText: {
    margin: 2,
  },
  subStatusView: {
    flexDirection: 'column',
    padding: 4,
    justifyContent: 'center',
  },
  statusItemView: {
    flexDirection: 'row',
github hummingbird-me / kitsu-mobile / src / screens / Feed / components / GiphyModal / styles.js View on Github external
zIndex: 2,
    backgroundColor: 'rgba(0, 0, 0, 0.95)',
    justifyContent: 'center',
  },
  selectedButtonContainer: {
    flexDirection: 'row',
    justifyContent: 'space-around',
  },
  button: {
    margin: 10,
    minWidth: 100,
    height: 40,
    alignContent: 'center',
    justifyContent: 'center',
    borderWidth: 1,
    borderColor: colors.lightestGrey,
    borderRadius: 4,
    flex: 1,
  },
  back: {
    color: colors.red,
  },
  select: {
    color: colors.green,
  },
  backButton: {
    borderColor: colors.red,
    marginRight: 5,
  },
  selectButton: {
    borderColor: colors.green,
    marginLeft: 5,
github hummingbird-me / kitsu-mobile / src / screens / Feed / components / Post / PostOverlays / OverlayBase / styles.js View on Github external
import { scenePadding } from 'kitsu/screens/Feed/constants';

const text = {
  color: colors.lightGrey,
  fontFamily: 'OpenSans',
  fontSize: 10,
  fontWeight: '800',
};

export const styles = StyleSheet.create({
  wrapper: {
    flex: 1,
    flexDirection: 'column',
    alignContent: 'center',
    justifyContent: 'center',
    backgroundColor: colors.lightestGrey,
    borderColor: colors.lightGrey,
    borderWidth: 1,
    borderRadius: 5,
    margin: scenePadding,
    padding: scenePadding * 1.5,
  },
  backgroundText: {
    position: 'absolute',
    right: scenePadding,
    ...text,
    fontSize: 26,
  },
  foregroundText: {
    ...text,
    flex: 1,
    textAlign: 'center',