SELF-763: remove aesop features for now (#1132)

* clean onboarding camera screens

* remove remaining aesop artifacts. fix tests
This commit is contained in:
Justin Hernandez
2025-09-28 07:55:11 -07:00
committed by GitHub
parent 20fa5c5adc
commit bd8d425cc7
12 changed files with 2 additions and 252 deletions

View File

@@ -5,8 +5,6 @@
import React from 'react';
import { StyleSheet, View } from 'react-native';
import { shouldShowAesopRedesign } from '@/hooks/useAesopRedesign';
interface ButtonsContainerProps {
children: React.ReactNode;
}
@@ -20,7 +18,7 @@ export default ButtonsContainer;
const styles = StyleSheet.create({
buttonsContainer: {
display: 'flex',
flexDirection: shouldShowAesopRedesign() ? 'row' : 'column',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
gap: 10,

View File

@@ -9,7 +9,6 @@ import type { ViewProps } from 'tamagui';
import { Button, Text } from 'tamagui';
import { pressedStyle } from '@/components/buttons/pressedStyle';
import { shouldShowAesopRedesign } from '@/hooks/useAesopRedesign';
import analytics from '@/utils/analytics';
import { dinot } from '@/utils/fonts';
@@ -95,7 +94,7 @@ const styles = StyleSheet.create({
flexDirection: 'row',
flexGrow: 0,
flexShrink: 0,
width: shouldShowAesopRedesign() ? '48%' : '100%',
width: '100%',
display: 'flex',
alignItems: 'center',
rowGap: 12,

View File

@@ -6,7 +6,6 @@ import React from 'react';
import type { TextProps } from 'react-native';
import { StyleSheet, Text } from 'react-native';
import { shouldShowAesopRedesign } from '@/hooks/useAesopRedesign';
import { slate400 } from '@/utils/colors';
import { dinot } from '@/utils/fonts';
@@ -31,9 +30,5 @@ const styles = StyleSheet.create({
marginTop: 10,
fontFamily: dinot,
textTransform: 'none',
...(shouldShowAesopRedesign() && {
fontSize: 11.5,
textTransform: 'uppercase',
}),
},
});

View File

@@ -7,7 +7,6 @@ import { StyleSheet } from 'react-native';
import type { TextProps } from 'tamagui';
import { Text } from 'tamagui';
import { shouldShowAesopRedesign } from '@/hooks/useAesopRedesign';
import { slate500 } from '@/utils/colors';
import { dinot } from '@/utils/fonts';
@@ -34,9 +33,5 @@ const styles = StyleSheet.create({
lineHeight: 23,
textAlign: 'center',
fontFamily: dinot,
...(shouldShowAesopRedesign() && {
textAlign: 'left',
fontSize: 16,
}),
},
});