mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
SELF-763: remove aesop features for now (#1132)
* clean onboarding camera screens * remove remaining aesop artifacts. fix tests
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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',
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -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,
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user