How to use the react-native-ui-lib.Colors.dark10 function in react-native-ui-lib

To help you get started, we’ve selected a few react-native-ui-lib 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 wix / react-native-ui-lib / demo / src / screens / animationScreens / CardScannerScreen.js View on Github external
render() {
    const {reset} = this.state;
    const post = posts[0];
    const statusColor = post.status === 'Published' ? Colors.green30 : Colors.orange30;
    return (
github wix / react-native-ui-lib / demo / src / screens / componentScreens / FloatingButtonScreen.js View on Github external
}

const styles = StyleSheet.create({
  container: {
    padding: 30,
    paddingBottom: 0,
    flex: 1,
    backgroundColor: Colors.dark80
  },
  buttonsContainer: {
    flexDirection: 'row', 
    justifyContent: 'center', 
    margin: 20
  },
  triggerButton: {
    backgroundColor: Colors.dark10,
    width: 100,
    height: 30,
    borderWidth: 1,
    borderRadius: 4,
    justifyContent: 'center',
    alignItems: 'center'
  },
  triggerButtonText: {
    color: Colors.white,
    ...Typography.text60
  }
});
github wix / react-native-ui-lib / demo / src / screens / componentScreens / CardsScreen.js View on Github external
selected={selected1}
                onPress={() => this.setState({selected1: !selected1})}
                activeOpacity={1}
                marginR-20
              >
                
              
               this.setState({selected2: !selected2})}
                activeOpacity={1}
                selectionOptions={{
                  color: Colors.dark10,
                  indicatorSize: 25,
                  borderWidth: 3,
                }}
              >
                
github wix / react-native-ui-lib / demo / src / screens / componentScreens / TabBarScreen.js View on Github external
this.setState({selectedIndex: index})}
          style={{height: 48}}
          indicatorStyle={{borderBottomWidth: 2, borderColor: Colors.violet30}}
          useGradientFinish
        >
          
          
        

        

         this.setState({selectedIndex2: index})}
          style={{height: 48}}
          indicatorStyle={{borderBottomWidth: 2, borderColor: Colors.orange30}}
github wix / react-native-ui-lib / demo / src / screens / componentScreens / CheckboxScreen.js View on Github external
/>
             this.setState({value2})}
              borderRadius={2}
              size={30}
              color={Colors.purple30}
              selectedIcon={Assets.icons.x}
              style={{marginBottom: 20}}
            />
             this.setState({value3})}
              borderRadius={5}
              size={18}
              color={Colors.dark10}
              iconColor={Colors.green10}
              style={{marginBottom: 20}}
            />
github rghorbani / react-native-common / src / components / loading / index.js View on Github external
overlayContainer: {
    ...StyleSheet.absoluteFillObject,
    backgroundColor: Colors.rgba(Colors.white, 0.85),
    zIndex: 100,
  },
  containerCommon: {
    alignItems: 'center',
    justifyContent: 'center',
    paddingHorizontal: 10,
  },
  indicator: {
    transform: [{ scale: 1.5 }],
  },
  caption: {
    marginTop: 15,
    color: Colors.dark10,
  },
});

module.exports = LoadingView;