mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
@ -17,7 +17,7 @@ const HeaderCenter = React.memo(
|
||||
<Text
|
||||
style={[
|
||||
styles.text,
|
||||
{ color: inverted ? theme.primaryOverlay : theme.primary }
|
||||
{ color: inverted ? theme.primaryOverlay : theme.primaryDefault }
|
||||
]}
|
||||
children={content}
|
||||
/>
|
||||
|
@ -25,7 +25,7 @@ const HeaderLeft: React.FC<Props> = ({
|
||||
case 'icon':
|
||||
return (
|
||||
<Icon
|
||||
color={theme.primary}
|
||||
color={theme.primaryDefault}
|
||||
name={content || 'ChevronLeft'}
|
||||
size={StyleConstants.Spacing.M * 1.25}
|
||||
/>
|
||||
@ -33,7 +33,7 @@ const HeaderLeft: React.FC<Props> = ({
|
||||
case 'text':
|
||||
return (
|
||||
<Text
|
||||
style={[styles.text, { color: theme.primary }]}
|
||||
style={[styles.text, { color: theme.primaryDefault }]}
|
||||
children={content}
|
||||
/>
|
||||
)
|
||||
@ -47,7 +47,7 @@ const HeaderLeft: React.FC<Props> = ({
|
||||
style={[
|
||||
styles.base,
|
||||
{
|
||||
backgroundColor: theme.backgroundGradientStart,
|
||||
backgroundColor: theme.backgroundOverlayDefault,
|
||||
...(type === 'icon' && {
|
||||
height: 44,
|
||||
width: 44,
|
||||
|
@ -47,7 +47,7 @@ const HeaderRight: React.FC<Props> = ({
|
||||
name={content}
|
||||
style={{ opacity: loading ? 0 : 1 }}
|
||||
size={StyleConstants.Spacing.M * 1.25}
|
||||
color={disabled ? theme.secondary : theme.primary}
|
||||
color={disabled ? theme.secondary : theme.primaryDefault}
|
||||
/>
|
||||
{loading && loadingSpinkit}
|
||||
</>
|
||||
@ -59,7 +59,7 @@ const HeaderRight: React.FC<Props> = ({
|
||||
style={[
|
||||
styles.text,
|
||||
{
|
||||
color: disabled ? theme.secondary : theme.primary,
|
||||
color: disabled ? theme.secondary : theme.primaryDefault,
|
||||
opacity: loading ? 0 : 1
|
||||
}
|
||||
]}
|
||||
@ -79,7 +79,7 @@ const HeaderRight: React.FC<Props> = ({
|
||||
style={[
|
||||
styles.base,
|
||||
{
|
||||
backgroundColor: theme.backgroundGradientStart,
|
||||
backgroundColor: theme.backgroundOverlayDefault,
|
||||
...(type === 'icon' && {
|
||||
height: 44,
|
||||
width: 44,
|
||||
|
Reference in New Issue
Block a user