UNPKG

react-native-formtastic

Version:
175 lines 4.49 kB
export declare const screenHeight: number; export declare const screenWidth: number; export declare const deviceTheme: import("react-native").ColorSchemeName; export declare const colors: { primary: string; secondary: string; accent: string; black: string; white: string; offWhite: string; transparentBlack: string; grey: string; slightlyDarkGrey: string; lightGrey: string; darkGrey: string; error: string; lightError: string; success: string; warning: string; lightGreen: string; reddishOrange: string; }; export declare const getThemedColor: (theme: string, element: string) => { backgroundColor: string; color?: undefined; } | { color: string; backgroundColor?: undefined; } | undefined; export declare const styles: { defaultInputStyle: { borderWidth: number; borderColor: string; width: "100%"; padding: number; borderRadius: number; color: string; justifyContent: "center"; height: number; }; defaultMainContainerStyle: { justifyContent: "center"; alignItems: "flex-start"; padding: number; width: "100%"; }; defaultInputContainerStyle: { justifyContent: "center"; alignItems: "center"; padding: number; borderRadius: number; borderBottomStartRadius: number; borderBottomEndRadius: number; width: "100%"; }; defaultLabelTextStyle: { fontSize: number; marginBottom: number; }; defaultLabelTextContainerStyle: { flexDirection: "row"; justifyContent: "flex-start"; gap: number; }; defaultRequiredTextStyle: { color: string; }; defaultErrorTextStyle: { color: string; fontSize: number; marginLeft: number; }; defaultLeftIconContainerStyle: { position: "absolute"; left: number; top: number; zIndex: number; }; defaultRightIconContainerStyle: { position: "absolute"; right: number; top: number; zIndex: number; }; dateInputWrapperInner: { width: "100%"; }; datePickerModalContainer: { flex: number; padding: number; justifyContent: "center"; zIndex: number; }; datePickerModalInner: { justifyContent: "center"; alignItems: "center"; padding: number; borderRadius: number; zIndex: number; }; datePickerModalCloseButton: { alignItems: "center"; position: "absolute"; top: number; right: number; zIndex: number; backgroundColor: string; borderRadius: number; paddingVertical: number; paddingHorizontal: number; }; datePickerModalCloseButtonText: { color: string; }; timePickerContainerStyleCustom: { backgroundColor: string; borderRadius: number; }; weekDaysContainerStyleCustom: { backgroundColor: string; borderRadius: number; }; weekDaysTextStyleCustom: { color: string; fontWeight: "500"; }; yearContainerStyleCustom: { backgroundColor: string; borderRadius: number; }; monthContainerStyleCustom: { backgroundColor: string; borderRadius: number; }; timePickerIndicatorStyleCustom: { backgroundColor: string; borderRadius: number; }; datePickerModalLeftRightButtonIconOuter: { backgroundColor: string; paddingVertical: number; paddingHorizontal: number; borderRadius: number; justifyContent: "center"; alignItems: "center"; }; headerContainerStyleCustom: { backgroundColor: string; borderRadius: number; }; headerTextStyleCustom: { color: string; fontWeight: "800"; }; selectedTextStyleCustom: { color: string; fontWeight: "700"; }; headerTextContainerStyleCustom: { backgroundColor: string; borderRadius: number; paddingHorizontal: number; }; datePickerConfirmButton: { backgroundColor: string; paddingVertical: number; paddingHorizontal: number; borderRadius: number; }; datePickerConfirmButtonText: { color: string; fontWeight: "700"; }; }; //# sourceMappingURL=utils.d.ts.map