style changes in buttons

This commit is contained in:
Sadaqat Ali 2022-05-05 19:33:19 +05:00
parent ba4bf2b56b
commit 3aab1e5a7c
3 changed files with 9 additions and 9 deletions

View File

@ -730,7 +730,7 @@ SPEC CHECKSUMS:
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
BugsnagReactNative: a96bc039e0e4ec317a8b331714393d836ca60557
BVLinearGradient: e3aad03778a456d77928f594a649e96995f1c872
DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662
DoubleConversion: cde416483dac037923206447da6e1454df403714
FBLazyVector: 3bb422f41b18121b71783a905c10e58606f7dc3e
FBReactNativeSpec: f2c97f2529dd79c083355182cc158c9f98f4bd6e
Firebase: c23a36d9e4cdf7877dfcba8dd0c58add66358999
@ -742,7 +742,7 @@ SPEC CHECKSUMS:
FirebaseInstanceID: bd3ffc24367f901a43c063b36c640b345a4a5dd1
FirebaseMessaging: 5eca4ef173de76253352511aafef774caa1cba2a
Folly: b73c3869541e86821df3c387eb0af5f65addfab4
glog: 85ecdd10ee8d8ec362ef519a6a45ff9aa27b2e85
glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3
GoogleAppMeasurement: a6a3a066369828db64eda428cb2856dc1cdc7c4e
GoogleDataTransport: f56af7caa4ed338dc8e138a5d7c5973e66440833
GoogleUtilities: 7f2f5a07f888cdb145101d6042bc4422f57e70b3

View File

@ -114,17 +114,17 @@ const EditHistoryScreen = ({ navigation }) => {
{
backgroundColor: selected
? EStyleSheet.value('$primaryBlue')
: EStyleSheet.value('$primaryLightGray'),
: EStyleSheet.value('$iconColor'),
},
]}
>
<Text style={[styles.versionItemBtnText, { color: selected ? 'white' : 'black' }]}>
<Text style={[styles.versionItemBtnText, { color: EStyleSheet.value('$pureWhite') }]}>
{intl.formatMessage({
id: 'history.version',
})}
{` ${item.v}`}
</Text>
<Text style={[styles.versionItemBtnDate, { color: selected ? 'white' : 'black' }]}>
<Text style={[styles.versionItemBtnDate, { color: EStyleSheet.value('$pureWhite') }]}>
{dateToFormatted(item.timestamp, 'LL')}
</Text>
</TouchableOpacity>
@ -207,11 +207,11 @@ const EditHistoryScreen = ({ navigation }) => {
{
backgroundColor: showDiff
? EStyleSheet.value('$primaryBlue')
: EStyleSheet.value('$primaryLightGray'),
: EStyleSheet.value('$iconColor'),
},
]}
rightIconStyle={{
color: showDiff ? EStyleSheet.value('white') : EStyleSheet.value('$iconColor'),
color: EStyleSheet.value('$pureWhite'),
}}
handleRightIconPress={() => setShowDiff(!showDiff)}
/>

View File

@ -14,7 +14,7 @@ export default EStyleSheet.create({
},
versionItemBtn: {
// backgroundColor: '$primaryBlue',
backgroundColor: '$primaryDarkGray',
backgroundColor: '$iconColor',
marginRight: 16,
width: 150,
height: 48,
@ -23,7 +23,7 @@ export default EStyleSheet.create({
borderRadius: 100,
},
versionItemBtnText: {
color: '$black',
color: '$pureWhite',
fontSize: 14,
fontWeight: '700'
},