UNPKG

3.42 kBTypeScriptView Raw
1declare type FontWeight = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | undefined;
2declare type TextTransform = 'uppercase' | 'lowercase' | 'capitalize';
3export interface ContainerStyle {
4 containerLight: {
5 backgroundColor?: string;
6 borderColor?: string;
7 borderBottomWidth?: number;
8 };
9 containerDark: {
10 backgroundColor?: string;
11 borderColor?: string;
12 borderBottomWidth?: number;
13 };
14}
15export interface LabelTextStyle {
16 labelTextLight: {
17 fontFamily?: string;
18 fontSize?: number;
19 fontWeight?: FontWeight;
20 textTransform?: TextTransform;
21 color?: string;
22 };
23 labelTextDark: {
24 fontFamily?: string;
25 fontSize?: number;
26 fontWeight?: FontWeight;
27 textTransform?: TextTransform;
28 color?: string;
29 };
30}
31export interface FieldTextStyle {
32 fieldTextLight: {
33 fontFamily?: string;
34 fontSize?: number;
35 fontWeight?: FontWeight;
36 textTransform?: TextTransform;
37 color?: string;
38 };
39 fieldTextDark: {
40 fontFamily?: string;
41 fontSize?: number;
42 fontWeight?: FontWeight;
43 textTransform?: TextTransform;
44 color?: string;
45 };
46}
47export interface ModalHeaderContainerStyle {
48 modalHeaderContainerLight: {
49 height?: number;
50 backgroundColor?: string;
51 borderColor?: string;
52 borderBottomWidth?: number;
53 };
54 modalHeaderContainerDark: {
55 height?: number;
56 backgroundColor?: string;
57 borderColor?: string;
58 borderBottomWidth?: number;
59 };
60}
61export interface CancelTextStyle {
62 cancelTextLight: {
63 fontFamily?: string;
64 fontSize?: number;
65 fontWeight?: FontWeight;
66 textTransform?: TextTransform;
67 color?: string;
68 };
69 cancelTextDark: {
70 fontFamily?: string;
71 fontSize?: number;
72 fontWeight?: FontWeight;
73 textTransform?: TextTransform;
74 color?: string;
75 };
76}
77export interface DoneTextStyle {
78 doneTextLight: {
79 color?: string;
80 };
81 doneTextDark: {
82 color?: string;
83 };
84}
85export interface ModalContentContainerStyle {
86 modalContentContainerLight: {
87 height?: number;
88 backgroundColor?: string;
89 };
90 modalContentContainerDark: {
91 height?: number;
92 backgroundColor?: string;
93 };
94}
95export interface PickerItemTextStyle {
96 pickerItemTextLight: {
97 color?: string;
98 };
99 pickerItemTextDark: {
100 color?: string;
101 };
102}
103export interface DividerStyle {
104 dividerLight: {
105 marginTop?: number;
106 marginBottom?: number;
107 borderBottomWidth?: number;
108 borderColor?: string;
109 };
110 dividerDark: {
111 marginTop?: number;
112 marginBottom?: number;
113 borderBottomWidth?: number;
114 borderColor?: string;
115 };
116}
117export interface TitleTextStyle {
118 titleTextLight: {
119 fontFamily?: string;
120 fontSize?: number;
121 fontWeight?: FontWeight;
122 textTransform?: TextTransform;
123 color?: string;
124 };
125 titleTextDark: {
126 fontFamily?: string;
127 fontSize?: number;
128 fontWeight?: FontWeight;
129 textTransform?: TextTransform;
130 color?: string;
131 };
132}
133export interface PickerValue {
134 label: string;
135 value: string;
136}
137export {};