How to use the co/style/colors.themed.tintColor 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 / screen / styles / base.js View on Github external
largeTitle: {
            fontSize: 30,
            color: themed.inverted(),
            ...Platform.select({
                ios: {
                    fontFamily: 'HelveticaNeue'
                }
            })
        },

        subtitle: {
            color: themed.invertedDark(),
            fontSize: 13,
        },
        backButton: {
            color: themed.tintColor(),
            icon: require('assets/images/backButton.png'),
            showTitle: false
        }
    },
    ...Platform.select({
        ios: {
            screenBackgroundColor: themed.main(),
        }
    }),
    layout: {
        ...Platform.select({
            ios: {
                backgroundColor: themed.main()
            },
            android: {
                componentBackgroundColor: themed.main() //performance improvement
github raindropio / mobile / src / co / common / progressBar / index.js View on Github external
export default withTheme(props=>Platform.OS=='android' ? (
    
) : (
    
))
github raindropio / mobile / src / co / screen / styles / base.js View on Github external
export default ()=>({
    statusBar: {
        style: (themeIsDark() ? 'light' : 'dark'),
        ...(
            (Platform.OS=='android' && Platform.Version >= 23) ? 
                {backgroundColor: themed.main()} : {}
        )
    },
    topBar: {
        background: {
            color: themed.main(),
            translucent: false,
            blur: false
        },
        
        leftButtonColor: themed.tintColor(),
        rightButtonColor: themed.tintColor(),
        
        barStyle: themeIsDark() ? 'black' : 'default',
        borderColor: themed.invertedLight(),
        //borderHeight: 1,
        noBorder: true,
        elevation: 0,
        
        title: {
            color: themed.inverted(),
            fontSize: fontSize.topBar(),
            ...Platform.select({
                ios: {
                    fontFamily: 'HelveticaNeue-Medium'
                }
            })
github raindropio / mobile / src / co / screen / styles / base.js View on Github external
statusBar: {
        style: (themeIsDark() ? 'light' : 'dark'),
        ...(
            (Platform.OS=='android' && Platform.Version >= 23) ? 
                {backgroundColor: themed.main()} : {}
        )
    },
    topBar: {
        background: {
            color: themed.main(),
            translucent: false,
            blur: false
        },
        
        leftButtonColor: themed.tintColor(),
        rightButtonColor: themed.tintColor(),
        
        barStyle: themeIsDark() ? 'black' : 'default',
        borderColor: themed.invertedLight(),
        //borderHeight: 1,
        noBorder: true,
        elevation: 0,
        
        title: {
            color: themed.inverted(),
            fontSize: fontSize.topBar(),
            ...Platform.select({
                ios: {
                    fontFamily: 'HelveticaNeue-Medium'
                }
            })
        },
github raindropio / mobile / src / co / screen / styles / base.js View on Github external
backgroundColor: themed.main(),
        titleDisplayMode: 'alwaysShow',
        elevation: 22,

        ...Platform.select({
            ios: {
                drawBehind: true
            }
        })
    },
    navigationBar: (Platform.Version >= 27 ? {
        backgroundColor: themed.main()
    } : {}),
    bottomTab: {
        selectedIconColor: themed.tintColor(),
        selectedTextColor: themed.tintColor(),

        iconColor: themed.invertedMedium(),
        textColor: themed.invertedMedium(),

        fontFamily: 'sans-serif-medium',
        fontSize: 13,
        selectedFontSize: 13
    },
    animations: {
        setRoot: {
            enabled: true,
            waitForRender: true,
            ...Platform.select({
                ios: {
                    content: fadeIn
                },
github raindropio / mobile / src / co / common / tokenField / style.js View on Github external
color: ${props=>{
				if (props.active && !props.theme.dark) return 'white'
				return themed.tintColor(props)
			}};
		`,
github raindropio / mobile / src / co / bookmarks / item / view / style.js View on Github external
const itemSelectStyle = ({selected, theme})=>selected?`
	background: ${themed.tintColor({theme})}25;
`:''
const SelectIconImage = styled.Image.attrs({