Base design done

This commit is contained in:
2025-08-16 20:29:01 +05:00
parent 0072a1ed2a
commit a447d80f36
13 changed files with 558 additions and 99 deletions

30
components/AdhkarCard.tsx Normal file
View File

@@ -0,0 +1,30 @@
import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
import Colors from '@/constants/Colors';
type AdhkarCardProps = {
title: string;
};
export default function AdhkarCard({ title }: AdhkarCardProps) {
const colorScheme = 'dark';
return (
<View style={[styles.container, { backgroundColor: Colors[colorScheme].secondary }]}>
<Text style={styles.title}>{title}</Text>
</View>
);
}
const styles = StyleSheet.create({
container: {
borderRadius: 15,
padding: 20,
marginVertical: 10,
},
title: {
fontSize: 16,
fontWeight: 'bold',
color: Colors.dark.text,
},
});