mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-25 06:13:12 +03:00
updated styling to use appropriate gray background
This commit is contained in:
parent
356f135f7e
commit
509ad47033
@ -33,7 +33,7 @@ export default EStyleSheet.create({
|
|||||||
},
|
},
|
||||||
icon: {
|
icon: {
|
||||||
fontSize: 24,
|
fontSize: 24,
|
||||||
color: '$primaryDarkText',
|
color: '$darkGrayBackground',
|
||||||
},
|
},
|
||||||
badge: {
|
badge: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
|
@ -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,
|
||||||
|
@ -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={{
|
||||||
|
@ -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"})}
|
||||||
|
@ -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,
|
||||||
|
@ -78,7 +78,7 @@ export default EStyleSheet.create({
|
|||||||
backgroundColor: '$primaryBackgroundColor',
|
backgroundColor: '$primaryBackgroundColor',
|
||||||
},
|
},
|
||||||
dotStyle: {
|
dotStyle: {
|
||||||
backgroundColor: '$primaryDarkText',
|
backgroundColor: '$darkGrayBackground',
|
||||||
},
|
},
|
||||||
chartContainer: {
|
chartContainer: {
|
||||||
height: 112,
|
height: 112,
|
||||||
|
Loading…
Reference in New Issue
Block a user