template_0205
This commit is contained in:
23
RN_TEMPLATE/app/theme/styles.ts
Normal file
23
RN_TEMPLATE/app/theme/styles.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { ViewStyle } from "react-native"
|
||||
|
||||
import { spacing } from "./spacing"
|
||||
|
||||
/* Use this file to define styles that are used in multiple places in your app. */
|
||||
export const $styles = {
|
||||
row: { flexDirection: "row" } as ViewStyle,
|
||||
flex1: { flex: 1 } as ViewStyle,
|
||||
flexWrap: { flexWrap: "wrap" } as ViewStyle,
|
||||
|
||||
container: {
|
||||
paddingTop: spacing.lg + spacing.xl,
|
||||
paddingHorizontal: spacing.lg,
|
||||
} as ViewStyle,
|
||||
|
||||
toggleInner: {
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
overflow: "hidden",
|
||||
} as ViewStyle,
|
||||
}
|
||||
Reference in New Issue
Block a user