feat : Librairie de base

This commit is contained in:
Yaël Perret
2026-08-31 19:17:46 +02:00
parent 21e9e0a593
commit 6a060418b4
18 changed files with 2157 additions and 51 deletions

View File

@@ -1,17 +1,48 @@
import { Text, View, StyleSheet } from "react-native";
import { StyleSheet, Text, View } from 'react-native';
import '../global.css';
import { useTheme } from '../theme';
export default function Index() {
const { colors, spacing, typography } = useTheme();
return (
<View style={styles.container}>
<Text>Edit src/app/index.tsx to edit this screen.</Text>
</View>
<Text
style={[
styles.title,
{
color: colors.textSecondary,
fontFamily: typography.sectionLabel.fontFamily,
fontSize: typography.sectionLabel.fontSize,
lineHeight: typography.sectionLabel.lineHeight,
letterSpacing: typography.sectionLabel.letterSpacing,
},
]}>
GradientButton variants
</Text>
</View>
);
}
const styles = StyleSheet.create({
safeArea: {
flex: 1,
},
container: {
flex: 1,
alignItems: "center",
justifyContent: "center",
paddingHorizontal: 20,
paddingTop: 24,
justifyContent: 'center',
},
title: {
textTransform: 'uppercase',
marginBottom: 20,
},
stack: {
width: '100%',
},
disabledWrap: {
marginTop: 24,
},
});