UNPKG

react-native-ajora

Version:

The most complete AI agent UI for React Native

156 lines 3.89 kB
import { Dimensions, Platform, StyleSheet } from "react-native"; import Color from "../Color"; export default StyleSheet.create({ containerAlignTop: { flexDirection: "row", alignItems: "flex-start", }, contentContainerStyle: { flexGrow: 1, justifyContent: "flex-start", paddingHorizontal: 0, paddingVertical: 4, }, emptyChatContainerInverted: { ...(Platform.OS === "ios" ? { transform: [{ scaleY: -1 }] } : { transform: [{ scaleY: -1 }, { scaleX: -1 }], }), }, // emptyChatContainer: { // flex: 1, // justifyContent: "center", // alignItems: "center", // paddingHorizontal: 16, // paddingVertical: 32, // }, scrollToBottomStyle: { opacity: 0.9, position: "absolute", right: 16, bottom: 24, zIndex: 999, height: 48, width: 48, borderRadius: 24, backgroundColor: Color.card, shadowColor: Color.shadow, shadowOpacity: 0.15, shadowOffset: { width: 0, height: 2 }, shadowRadius: 8, elevation: 2, }, scrollToBottomIcon: { fontSize: 18, fontWeight: "600", color: Color.gray700, }, // Modern shadcn-inspired container styles container: { backgroundColor: Color.background, flex: 1, }, scrollContainer: { backgroundColor: Color.muted, }, messageList: { paddingBottom: 16, }, loadingContainer: { paddingVertical: 16, alignItems: "center", }, emptyState: { flex: 1, justifyContent: "center", alignItems: "center", paddingHorizontal: 32, }, emptyStateText: { fontSize: 16, color: Color.mutedForeground, textAlign: "center", marginTop: 16, }, emptyChatContainer: { flex: 1, height: Dimensions.get("window").height * 0.5, justifyContent: "center", alignItems: "center", paddingHorizontal: 16, gap: 20, }, emptyChatContent: { alignItems: "center", marginBottom: 40, flex: 1, justifyContent: "center", }, emptyChatIcon: { marginBottom: 20, }, emptyChatTitle: { fontSize: 22, fontWeight: "600", color: Color.gray700, marginBottom: 10, textAlign: "center", }, emptyChatSubtitle: { fontSize: 17, color: Color.gray500, textAlign: "center", lineHeight: 24, }, suggestedQuestionsContainer: { width: "100%", maxWidth: 400, }, suggestedQuestionsTitle: { fontSize: 16, fontWeight: "700", color: Color.gray900, marginBottom: 20, textAlign: "center", letterSpacing: -0.3, }, suggestedQuestionsRow: { flexDirection: "row", paddingHorizontal: 4, }, suggestedQuestionCard: { width: 160, height: 170, backgroundColor: Color.muted, paddingHorizontal: 10, paddingVertical: 12, borderRadius: 16, borderWidth: 1, borderColor: Color.border, marginRight: 16, alignItems: "center", justifyContent: "center", }, suggestedQuestionIcon: { marginBottom: 6, }, suggestedQuestionTitle: { fontSize: 12, fontWeight: "700", color: Color.gray500, textAlign: "center", marginBottom: 8, textTransform: "uppercase", letterSpacing: 1, }, suggestedQuestionText: { fontSize: 15, fontWeight: "500", color: Color.gray800, textAlign: "center", lineHeight: 18, letterSpacing: -0.1, }, }); //# sourceMappingURL=styles.js.map