fix colors name

This commit is contained in:
Reinaldo Neto 2023-10-04 17:57:18 -03:00
parent 86daf8c020
commit 24ccc33e05
3 changed files with 10 additions and 10 deletions

View File

@ -36,7 +36,7 @@ const PlayButton = React.memo(({ loading, paused, onPress, disabled, isReadyToPl
{loading ? ( {loading ? (
<RCActivityIndicator /> <RCActivityIndicator />
) : ( ) : (
<CustomIcon name={customIconName} size={24} color={disabled ? colors.tintDisabled : colors.buttonFontOnPrimary} /> <CustomIcon name={customIconName} size={24} color={disabled ? colors.tintDisabled : colors.buttonFontPrimary} />
)} )}
</Touchable> </Touchable>
); );

View File

@ -27,7 +27,7 @@ const PlaybackSpeed = ({
onPress={onPress} onPress={onPress}
style={[styles.containerPlaybackSpeed, { backgroundColor: colors.buttonBackgroundSecondaryDefault }]} style={[styles.containerPlaybackSpeed, { backgroundColor: colors.buttonBackgroundSecondaryDefault }]}
> >
<Text style={[styles.playbackSpeedText, { color: colors.buttonFontOnSecondary }]}>{rate}x</Text> <Text style={[styles.playbackSpeedText, { color: colors.buttonFontSecondary }]}>{rate}x</Text>
</Touchable> </Touchable>
); );
}; };

View File

@ -104,8 +104,8 @@ export const colors = {
overlayColor: '#1F2329B2', overlayColor: '#1F2329B2',
buttonBackgroundPrimaryDefault: '#156FF5', buttonBackgroundPrimaryDefault: '#156FF5',
buttonBackgroundSecondaryDefault: '#E4E7EA', buttonBackgroundSecondaryDefault: '#E4E7EA',
buttonFontOnPrimary: '#FFFFFF', buttonFontPrimary: '#FFFFFF',
buttonFontOnSecondary: '#1F2329', buttonFontSecondary: '#1F2329',
fontDefault: '#2F343D', fontDefault: '#2F343D',
strokeExtraLight: '#EBECEF', strokeExtraLight: '#EBECEF',
strokeLight: '#CBCED1', strokeLight: '#CBCED1',
@ -190,9 +190,9 @@ export const colors = {
statusFontOnWarning: '#B88D00', statusFontOnWarning: '#B88D00',
overlayColor: '#1F2329B2', overlayColor: '#1F2329B2',
buttonBackgroundPrimaryDefault: '#3976D1', buttonBackgroundPrimaryDefault: '#3976D1',
buttonBackgroundSecondaryDefault: '#353B45', buttonBackgroundSecondaryDefault: '#2F343D',
buttonFontOnPrimary: '#FFFFFF', buttonFontPrimary: '#FFFFFF',
buttonFontOnSecondary: '#E4E7EA', buttonFontSecondary: '#E4E7EA',
fontDefault: '#E4E7EA', fontDefault: '#E4E7EA',
strokeExtraLight: '#2F343D', strokeExtraLight: '#2F343D',
strokeLight: '#333842', strokeLight: '#333842',
@ -277,9 +277,9 @@ export const colors = {
statusFontOnWarning: '#B88D00', statusFontOnWarning: '#B88D00',
overlayColor: '#1F2329B2', overlayColor: '#1F2329B2',
buttonBackgroundPrimaryDefault: '#3976D1', buttonBackgroundPrimaryDefault: '#3976D1',
buttonBackgroundSecondaryDefault: '#353B45', buttonBackgroundSecondaryDefault: '#2F343D',
buttonFontOnPrimary: '#FFFFFF', buttonFontPrimary: '#FFFFFF',
buttonFontOnSecondary: '#E4E7EA', buttonFontSecondary: '#E4E7EA',
fontDefault: '#E4E7EA', fontDefault: '#E4E7EA',
strokeExtraLight: '#2F343D', strokeExtraLight: '#2F343D',
strokeLight: '#333842', strokeLight: '#333842',