updated styling to use appropriate gray background

This commit is contained in:
noumantahir 2022-08-13 00:47:41 +05:00
parent 356f135f7e
commit 509ad47033
6 changed files with 5 additions and 6 deletions

View File

@ -33,7 +33,7 @@ export default EStyleSheet.create({
}, },
icon: { icon: {
fontSize: 24, fontSize: 24,
color: '$primaryDarkText', color: '$darkGrayBackground',
}, },
badge: { badge: {
position: 'absolute', position: 'absolute',

View File

@ -11,7 +11,7 @@ export default EStyleSheet.create({
minWidth: '$deviceWidth / 1.9', minWidth: '$deviceWidth / 1.9',
height: 44, height: 44,
borderRadius: 30, borderRadius: 30,
backgroundColor: '$primaryDarkText', backgroundColor: '$darkGrayBackground',
margin: 5, margin: 5,
shadowOffset: { shadowOffset: {
height: 5, height: 5,

View File

@ -28,7 +28,7 @@ export const RangeSelector = ({range, onRangeChange}:RangeSelectorProps) => {
...styles.rangeOptionWrapper, ...styles.rangeOptionWrapper,
backgroundColor: EStyleSheet.value( backgroundColor: EStyleSheet.value(
item.value === range ? item.value === range ?
'$primaryDarkText':'$primaryLightBackground' '$darkGrayBackground':'$primaryLightBackground'
) )
}}> }}>
<Text style={{ <Text style={{

View File

@ -224,7 +224,7 @@ const PostOptionsModal = forwardRef(({
</KeyboardAwareScrollView> </KeyboardAwareScrollView>
<MainButton <MainButton
style={{...styles.saveButton, backgroundColor:EStyleSheet.value(disableDone?'$primaryDarkGray':'$primaryBlue') }} style={{...styles.saveButton }}
isDisable={disableDone} isDisable={disableDone}
onPress={_onDonePress} onPress={_onDonePress}
text={intl.formatMessage({id:"editor.done"})} text={intl.formatMessage({id:"editor.done"})}

View File

@ -68,7 +68,6 @@ export default EStyleSheet.create({
color:'$pureWhite' color:'$pureWhite'
} as TextStyle, } as TextStyle,
saveButton:{ saveButton:{
backgroundColor:'$primaryBlue',
width:150, width:150,
paddingVertical:16, paddingVertical:16,
borderRadius:32, borderRadius:32,

View File

@ -78,7 +78,7 @@ export default EStyleSheet.create({
backgroundColor: '$primaryBackgroundColor', backgroundColor: '$primaryBackgroundColor',
}, },
dotStyle: { dotStyle: {
backgroundColor: '$primaryDarkText', backgroundColor: '$darkGrayBackground',
}, },
chartContainer: { chartContainer: {
height: 112, height: 112,