How to use the co/style/constants.fontSize.micro function in co

To help you get started, we’ve selected a few co 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 raindropio / mobile / src / co / style / empty.js View on Github external
export const EmptyView = styled.View`
	flex: 1;
	justify-content: center;
	align-items: center;
	padding: ${paddingHorizontal*2}px;
`

export const EmptyTitle = styled.Text`
	font-size: ${fontSize.title}px;
	text-align: center;
	color: ${themed.inverted};
`

export const EmptySubTitle = styled.Text`
	font-size: ${fontSize.micro}px;
	color: ${themed.inverted}60;
	text-align: center;
	margin-top: 10px;
`

export const EmptyViewSpace = styled.View`
	height: 20px;
`

export const EmptyImage = styled.Image`
	margin-bottom: ${paddingHorizontal}px;
`
github raindropio / mobile / src / co / style / form.js View on Github external
`}
`

export const FormSection = styled.View`
	padding-left: ${paddingHorizontal}px;
	padding-top: ${paddingHorizontal/2}px;
	flex:1;
`


//Utils
export const SubInfoText = styled.Text.attrs({
	includeFontPadding: false,
	underlineColorAndroid: 'transparent'
})`
	font-size: ${fontSize.micro}px;
	color: ${themed.invertedMedium};
	text-align: center;
	padding-horizontal: ${paddingHorizontal}px;
	margin-top: ${paddingHorizontal}px;
	margin-left: ${paddingHorizontal}px;
`
github raindropio / mobile / src / co / common / goto / style.js View on Github external
export const GotoTitleText = styled.Text.attrs({
	numberOfLines: 1,
	ellipsizeMode: 'tail'
})`
	flex: 1;
	color: ${themed.inverted};
	font-size: ${fontSize.normal}px;
	padding-right: ${paddingRight}px;
`

export const GotoActionText = styled.Text.attrs({
	numberOfLines: 1,
	ellipsizeMode: 'head'
})`
	max-width: 40%;
	font-size: ${fontSize.micro}px;
	color: ${themed.invertedMedium};
	padding-right: ${paddingRight}px;
`

export const GotoImageView = styled.View`
	margin-right: ${paddingHorizontal - 2}px;
`

export const GotoIcon = styled.Image`
	tint-color: ${themed.tintColor};
`
github raindropio / mobile / src / co / collections / item / style.js View on Github external
`

export const ItemTitle = styled(_ItemTitle)`
	padding-left: ${gapHorizontal};
	flex: 1;

	${({theme}) => {
		if (theme.itemSelected === true || theme.dark === true)
			return 'color: white;'
	}}
`

export const ItemCount = styled.Text.attrs({
	numberOfLines: 1
})`
	font-size: ${fontSize.micro};
	color: ${themed.invertedMedium};
	width: 36px;
	text-align: right;

	${({theme}) => {
		if (theme.itemSelected === true)
			return 'color: white;'
	}}
`

export const ItemExpand = styled.View`
	padding-left: ${paddingHorizontal * 2};
	padding-right: ${paddingHorizontal};
	margin-left: ${paddingHorizontal * -1};
	height: ${constants.itemHeight}px;
	flex-direction: row;
github raindropio / mobile / src / co / common / badge / style.js View on Github external
flex-direction: row;
	align-items: center;
	background: ${colors.spaceGray};
	border-radius: 16px;
	padding-horizontal: 6px;
	${({marginRight})=>{
		var style=''
		if (marginRight)
			style+=`margin-right: ${margin}px;`
		return style;
	}}
`

export const BadgeText = styled.Text`
	background-color: transparent;
	font-size: ${fontSize.micro}px;
	${fontWeightMedium()}
	color: #ffffff;
`

export const BadgeIconRight = styled.Image`
	tint-color: #ffffff95;
	margin-left: 4px;
`