How to use the kitsu/common/styles.commonStyles.text 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 / Profiles / UserLibrary / components / UserLibraryListCard / styles.js View on Github external
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 / screens / Profiles / UserLibrary / components / UserLibraryListCard / styles.js View on Github external
},
  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 / ProfileHeader / component.js View on Github external
commonStyles.colorWhite,
                styles.titleText]}
              >
                {title}
              
            
          )}

          
            
            {showProfileImage &&
              
            }
            {showFollowButton &&
              
            }
          

          {showFollowButton && (
            
              
            
          )}
github hummingbird-me / kitsu-mobile / src / components / ScrollableTabBar / component.js View on Github external
{tabs.map((tab, i) => (
       goToPage(i)}
        style={styles.tab}
      >
        
      
    ))}
github hummingbird-me / kitsu-mobile / src / components / SearchBox / component.js View on Github external
const { value, onChangeText, showClearButton, ...restProps } = this.props;

    return (
github hummingbird-me / kitsu-mobile / src / screens / Profiles / UserLibrary / components / UserLibraryScreen / component.js View on Github external
const messageMapping = {
      current: { anime: 'watching', manga: 'reading' },
      planned: { anime: 'planned', manga: 'planned' },
      completed: { anime: 'complete', manga: 'complete' },
      on_hold: { anime: 'on hold', manga: 'on hold' },
      dropped: { anime: 'dropped', manga: 'dropped' },
    };

    const messagePrefix = isIdForCurrentUser(profile.id, currentUser)
      ? "You haven't"
      : `${profile.name} hasn't`;

    return (
      
    );
  };
github hummingbird-me / kitsu-mobile / src / screens / Profiles / ProfilePages / pages / Library / component.js View on Github external
const messageMapping = {
      current: { anime: 'watching', manga: 'reading' },
      planned: { anime: 'planned', manga: 'planned' },
      completed: { anime: 'complete', manga: 'complete' },
      on_hold: { anime: 'on hold', manga: 'on hold' },
      dropped: { anime: 'dropped', manga: 'dropped' },
    };

    const messagePrefix = isIdForCurrentUser(profile.id, currentUser)
      ? "You haven't"
      : `${profile.name} hasn't`;

    return (
      
    );
  };
github hummingbird-me / kitsu-mobile / src / components / Counter / styles.js View on Github external
borderBottomRightRadius: 10,
    borderTopRightRadius: 10,
  },
  counterStatusContainer: {
    alignItems: 'center',
    borderBottomWidth: 1,
    borderColor: colors.lightGrey,
    borderTopWidth: 1,
    flexDirection: 'row',
    justifyContent: 'center',
    paddingHorizontal: 15,
    minWidth: 80,
    maxWidth: 80,
  },
  manualEditTextInput: {
    ...StyleSheet.flatten(commonStyles.text),
    borderWidth: 1,
    borderColor: colors.lightGrey,
    color: '#000000',
    padding: 3,
    textAlign: 'center',
  },
  progressText: {
    ...StyleSheet.flatten(commonStyles.text),
    ...StyleSheet.flatten(commonStyles.colorLightGrey),
    fontWeight: '400',
  },
  statusText: {
    ...StyleSheet.flatten(commonStyles.text),
    fontWeight: '400',
  },
});
github hummingbird-me / kitsu-mobile / src / components / Counter / styles.js View on Github external
flexDirection: 'row',
    justifyContent: 'center',
    paddingHorizontal: 15,
    minWidth: 80,
    maxWidth: 80,
  },
  manualEditTextInput: {
    ...StyleSheet.flatten(commonStyles.text),
    borderWidth: 1,
    borderColor: colors.lightGrey,
    color: '#000000',
    padding: 3,
    textAlign: 'center',
  },
  progressText: {
    ...StyleSheet.flatten(commonStyles.text),
    ...StyleSheet.flatten(commonStyles.colorLightGrey),
    fontWeight: '400',
  },
  statusText: {
    ...StyleSheet.flatten(commonStyles.text),
    fontWeight: '400',
  },
});