root / GES_PAC / Resources / Styles / Styles.xaml @ 0a91fd76
Historique | Voir | Annoter | Télécharger (25,149 ko)
1 | 65ad7e66 | Lucas Bihannic | <?xml version="1.0" encoding="UTF-8" ?>
|
---|---|---|---|
2 | <?xaml-comp compile="true" ?>
|
||
3 | <ResourceDictionary
|
||
4 | xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
||
5 | xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> |
||
6 | |||
7 | <Style TargetType="ActivityIndicator"> |
||
8 | <Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
9 | </Style>
|
||
10 | |||
11 | <Style TargetType="IndicatorView"> |
||
12 | <Setter Property="IndicatorColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}"/> |
||
13 | <Setter Property="SelectedIndicatorColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray100}}"/> |
||
14 | </Style>
|
||
15 | |||
16 | <Style TargetType="Border"> |
||
17 | <Setter Property="Stroke" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
||
18 | <Setter Property="StrokeShape" Value="Rectangle"/> |
||
19 | <Setter Property="StrokeThickness" Value="1"/> |
||
20 | </Style>
|
||
21 | |||
22 | <Style TargetType="BoxView"> |
||
23 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" /> |
||
24 | </Style>
|
||
25 | |||
26 | <Style TargetType="Button"> |
||
27 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource PrimaryDarkText}}" /> |
||
28 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}" /> |
||
29 | <Setter Property="FontFamily" Value="OpenSansRegular"/> |
||
30 | <Setter Property="FontSize" Value="14"/> |
||
31 | <Setter Property="BorderWidth" Value="0"/> |
||
32 | <Setter Property="CornerRadius" Value="8"/> |
||
33 | <Setter Property="Padding" Value="14,10"/> |
||
34 | <Setter Property="MinimumHeightRequest" Value="44"/> |
||
35 | <Setter Property="MinimumWidthRequest" Value="44"/> |
||
36 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
37 | <VisualStateGroupList>
|
||
38 | <VisualStateGroup x:Name="CommonStates"> |
||
39 | <VisualState x:Name="Normal" /> |
||
40 | <VisualState x:Name="Disabled"> |
||
41 | <VisualState.Setters>
|
||
42 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" /> |
||
43 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" /> |
||
44 | </VisualState.Setters>
|
||
45 | </VisualState>
|
||
46 | <VisualState x:Name="PointerOver" /> |
||
47 | </VisualStateGroup>
|
||
48 | </VisualStateGroupList>
|
||
49 | </Setter>
|
||
50 | </Style>
|
||
51 | |||
52 | <Style TargetType="CheckBox"> |
||
53 | <Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
54 | <Setter Property="MinimumHeightRequest" Value="44"/> |
||
55 | <Setter Property="MinimumWidthRequest" Value="44"/> |
||
56 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
57 | <VisualStateGroupList>
|
||
58 | <VisualStateGroup x:Name="CommonStates"> |
||
59 | <VisualState x:Name="Normal" /> |
||
60 | <VisualState x:Name="Disabled"> |
||
61 | <VisualState.Setters>
|
||
62 | <Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
63 | </VisualState.Setters>
|
||
64 | </VisualState>
|
||
65 | </VisualStateGroup>
|
||
66 | </VisualStateGroupList>
|
||
67 | </Setter>
|
||
68 | </Style>
|
||
69 | |||
70 | <Style TargetType="DatePicker"> |
||
71 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
||
72 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
73 | <Setter Property="FontFamily" Value="OpenSansRegular"/> |
||
74 | <Setter Property="FontSize" Value="14"/> |
||
75 | <Setter Property="MinimumHeightRequest" Value="44"/> |
||
76 | <Setter Property="MinimumWidthRequest" Value="44"/> |
||
77 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
78 | <VisualStateGroupList>
|
||
79 | <VisualStateGroup x:Name="CommonStates"> |
||
80 | <VisualState x:Name="Normal" /> |
||
81 | <VisualState x:Name="Disabled"> |
||
82 | <VisualState.Setters>
|
||
83 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
||
84 | </VisualState.Setters>
|
||
85 | </VisualState>
|
||
86 | </VisualStateGroup>
|
||
87 | </VisualStateGroupList>
|
||
88 | </Setter>
|
||
89 | </Style>
|
||
90 | |||
91 | <Style TargetType="Editor"> |
||
92 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" /> |
||
93 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
94 | <Setter Property="FontFamily" Value="OpenSansRegular"/> |
||
95 | <Setter Property="FontSize" Value="14" /> |
||
96 | <Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
||
97 | <Setter Property="MinimumHeightRequest" Value="44"/> |
||
98 | <Setter Property="MinimumWidthRequest" Value="44"/> |
||
99 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
100 | <VisualStateGroupList>
|
||
101 | <VisualStateGroup x:Name="CommonStates"> |
||
102 | <VisualState x:Name="Normal" /> |
||
103 | <VisualState x:Name="Disabled"> |
||
104 | <VisualState.Setters>
|
||
105 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
106 | </VisualState.Setters>
|
||
107 | </VisualState>
|
||
108 | </VisualStateGroup>
|
||
109 | </VisualStateGroupList>
|
||
110 | </Setter>
|
||
111 | </Style>
|
||
112 | |||
113 | <Style TargetType="Entry"> |
||
114 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" /> |
||
115 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
116 | <Setter Property="FontFamily" Value="OpenSansRegular"/> |
||
117 | <Setter Property="FontSize" Value="14" /> |
||
118 | <Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
||
119 | <Setter Property="MinimumHeightRequest" Value="44"/> |
||
120 | <Setter Property="MinimumWidthRequest" Value="44"/> |
||
121 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
122 | <VisualStateGroupList>
|
||
123 | <VisualStateGroup x:Name="CommonStates"> |
||
124 | <VisualState x:Name="Normal" /> |
||
125 | <VisualState x:Name="Disabled"> |
||
126 | <VisualState.Setters>
|
||
127 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
128 | </VisualState.Setters>
|
||
129 | </VisualState>
|
||
130 | </VisualStateGroup>
|
||
131 | </VisualStateGroupList>
|
||
132 | </Setter>
|
||
133 | </Style>
|
||
134 | |||
135 | <Style TargetType="Frame"> |
||
136 | <Setter Property="HasShadow" Value="False" /> |
||
137 | <Setter Property="BorderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" /> |
||
138 | <Setter Property="CornerRadius" Value="8" /> |
||
139 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" /> |
||
140 | </Style>
|
||
141 | |||
142 | <Style TargetType="ImageButton"> |
||
143 | <Setter Property="Opacity" Value="1" /> |
||
144 | <Setter Property="BorderColor" Value="Transparent"/> |
||
145 | <Setter Property="BorderWidth" Value="0"/> |
||
146 | <Setter Property="CornerRadius" Value="0"/> |
||
147 | <Setter Property="MinimumHeightRequest" Value="44"/> |
||
148 | <Setter Property="MinimumWidthRequest" Value="44"/> |
||
149 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
150 | <VisualStateGroupList>
|
||
151 | <VisualStateGroup x:Name="CommonStates"> |
||
152 | <VisualState x:Name="Normal" /> |
||
153 | <VisualState x:Name="Disabled"> |
||
154 | <VisualState.Setters>
|
||
155 | <Setter Property="Opacity" Value="0.5" /> |
||
156 | </VisualState.Setters>
|
||
157 | </VisualState>
|
||
158 | <VisualState x:Name="PointerOver" /> |
||
159 | </VisualStateGroup>
|
||
160 | </VisualStateGroupList>
|
||
161 | </Setter>
|
||
162 | </Style>
|
||
163 | |||
164 | <Style TargetType="Label"> |
||
165 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" /> |
||
166 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
167 | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
||
168 | <Setter Property="FontSize" Value="14" /> |
||
169 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
170 | <VisualStateGroupList>
|
||
171 | <VisualStateGroup x:Name="CommonStates"> |
||
172 | <VisualState x:Name="Normal" /> |
||
173 | <VisualState x:Name="Disabled"> |
||
174 | <VisualState.Setters>
|
||
175 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
176 | </VisualState.Setters>
|
||
177 | </VisualState>
|
||
178 | </VisualStateGroup>
|
||
179 | </VisualStateGroupList>
|
||
180 | </Setter>
|
||
181 | </Style>
|
||
182 | |||
183 | <Style TargetType="Span"> |
||
184 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" /> |
||
185 | </Style>
|
||
186 | |||
187 | <Style TargetType="Label" x:Key="Headline"> |
||
188 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource MidnightBlue}, Dark={StaticResource White}}" /> |
||
189 | <Setter Property="FontSize" Value="32" /> |
||
190 | <Setter Property="HorizontalOptions" Value="Center" /> |
||
191 | <Setter Property="HorizontalTextAlignment" Value="Center" /> |
||
192 | </Style>
|
||
193 | |||
194 | <Style TargetType="Label" x:Key="SubHeadline"> |
||
195 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource MidnightBlue}, Dark={StaticResource White}}" /> |
||
196 | <Setter Property="FontSize" Value="24" /> |
||
197 | <Setter Property="HorizontalOptions" Value="Center" /> |
||
198 | <Setter Property="HorizontalTextAlignment" Value="Center" /> |
||
199 | </Style>
|
||
200 | |||
201 | <Style TargetType="ListView"> |
||
202 | <Setter Property="SeparatorColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
||
203 | <Setter Property="RefreshControlColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" /> |
||
204 | </Style>
|
||
205 | |||
206 | <Style TargetType="Picker"> |
||
207 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
||
208 | <Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" /> |
||
209 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
210 | <Setter Property="FontFamily" Value="OpenSansRegular"/> |
||
211 | <Setter Property="FontSize" Value="14" /> |
||
212 | <Setter Property="MinimumHeightRequest" Value="44"/> |
||
213 | <Setter Property="MinimumWidthRequest" Value="44"/> |
||
214 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
215 | <VisualStateGroupList>
|
||
216 | <VisualStateGroup x:Name="CommonStates"> |
||
217 | <VisualState x:Name="Normal" /> |
||
218 | <VisualState x:Name="Disabled"> |
||
219 | <VisualState.Setters>
|
||
220 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
221 | <Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
222 | </VisualState.Setters>
|
||
223 | </VisualState>
|
||
224 | </VisualStateGroup>
|
||
225 | </VisualStateGroupList>
|
||
226 | </Setter>
|
||
227 | </Style>
|
||
228 | |||
229 | <Style TargetType="ProgressBar"> |
||
230 | <Setter Property="ProgressColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
231 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
232 | <VisualStateGroupList>
|
||
233 | <VisualStateGroup x:Name="CommonStates"> |
||
234 | <VisualState x:Name="Normal" /> |
||
235 | <VisualState x:Name="Disabled"> |
||
236 | <VisualState.Setters>
|
||
237 | <Setter Property="ProgressColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
238 | </VisualState.Setters>
|
||
239 | </VisualState>
|
||
240 | </VisualStateGroup>
|
||
241 | </VisualStateGroupList>
|
||
242 | </Setter>
|
||
243 | </Style>
|
||
244 | |||
245 | <Style TargetType="RadioButton"> |
||
246 | <Setter Property="BackgroundColor" Value="Transparent"/> |
||
247 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" /> |
||
248 | <Setter Property="FontFamily" Value="OpenSansRegular"/> |
||
249 | <Setter Property="FontSize" Value="14"/> |
||
250 | <Setter Property="MinimumHeightRequest" Value="44"/> |
||
251 | <Setter Property="MinimumWidthRequest" Value="44"/> |
||
252 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
253 | <VisualStateGroupList>
|
||
254 | <VisualStateGroup x:Name="CommonStates"> |
||
255 | <VisualState x:Name="Normal" /> |
||
256 | <VisualState x:Name="Disabled"> |
||
257 | <VisualState.Setters>
|
||
258 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
259 | </VisualState.Setters>
|
||
260 | </VisualState>
|
||
261 | </VisualStateGroup>
|
||
262 | </VisualStateGroupList>
|
||
263 | </Setter>
|
||
264 | </Style>
|
||
265 | |||
266 | <Style TargetType="RefreshView"> |
||
267 | <Setter Property="RefreshColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" /> |
||
268 | </Style>
|
||
269 | |||
270 | <Style TargetType="SearchBar"> |
||
271 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
||
272 | <Setter Property="PlaceholderColor" Value="{StaticResource Gray500}" /> |
||
273 | <Setter Property="CancelButtonColor" Value="{StaticResource Gray500}" /> |
||
274 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
275 | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
||
276 | <Setter Property="FontSize" Value="14" /> |
||
277 | <Setter Property="MinimumHeightRequest" Value="44"/> |
||
278 | <Setter Property="MinimumWidthRequest" Value="44"/> |
||
279 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
280 | <VisualStateGroupList>
|
||
281 | <VisualStateGroup x:Name="CommonStates"> |
||
282 | <VisualState x:Name="Normal" /> |
||
283 | <VisualState x:Name="Disabled"> |
||
284 | <VisualState.Setters>
|
||
285 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
286 | <Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
287 | </VisualState.Setters>
|
||
288 | </VisualState>
|
||
289 | </VisualStateGroup>
|
||
290 | </VisualStateGroupList>
|
||
291 | </Setter>
|
||
292 | </Style>
|
||
293 | |||
294 | <Style TargetType="SearchHandler"> |
||
295 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
||
296 | <Setter Property="PlaceholderColor" Value="{StaticResource Gray500}" /> |
||
297 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
298 | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
||
299 | <Setter Property="FontSize" Value="14" /> |
||
300 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
301 | <VisualStateGroupList>
|
||
302 | <VisualStateGroup x:Name="CommonStates"> |
||
303 | <VisualState x:Name="Normal" /> |
||
304 | <VisualState x:Name="Disabled"> |
||
305 | <VisualState.Setters>
|
||
306 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
307 | <Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
308 | </VisualState.Setters>
|
||
309 | </VisualState>
|
||
310 | </VisualStateGroup>
|
||
311 | </VisualStateGroupList>
|
||
312 | </Setter>
|
||
313 | </Style>
|
||
314 | |||
315 | <Style TargetType="Shadow"> |
||
316 | <Setter Property="Radius" Value="15" /> |
||
317 | <Setter Property="Opacity" Value="0.5" /> |
||
318 | <Setter Property="Brush" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" /> |
||
319 | <Setter Property="Offset" Value="10,10" /> |
||
320 | </Style>
|
||
321 | |||
322 | <Style TargetType="Slider"> |
||
323 | <Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
324 | <Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" /> |
||
325 | <Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
326 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
327 | <VisualStateGroupList>
|
||
328 | <VisualStateGroup x:Name="CommonStates"> |
||
329 | <VisualState x:Name="Normal" /> |
||
330 | <VisualState x:Name="Disabled"> |
||
331 | <VisualState.Setters>
|
||
332 | <Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/> |
||
333 | <Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/> |
||
334 | <Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/> |
||
335 | </VisualState.Setters>
|
||
336 | </VisualState>
|
||
337 | </VisualStateGroup>
|
||
338 | </VisualStateGroupList>
|
||
339 | </Setter>
|
||
340 | </Style>
|
||
341 | |||
342 | <Style TargetType="SwipeItem"> |
||
343 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" /> |
||
344 | </Style>
|
||
345 | |||
346 | <Style TargetType="Switch"> |
||
347 | <Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
348 | <Setter Property="ThumbColor" Value="{StaticResource White}" /> |
||
349 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
350 | <VisualStateGroupList>
|
||
351 | <VisualStateGroup x:Name="CommonStates"> |
||
352 | <VisualState x:Name="Normal" /> |
||
353 | <VisualState x:Name="Disabled"> |
||
354 | <VisualState.Setters>
|
||
355 | <Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
356 | <Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
357 | </VisualState.Setters>
|
||
358 | </VisualState>
|
||
359 | <VisualState x:Name="On"> |
||
360 | <VisualState.Setters>
|
||
361 | <Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Secondary}, Dark={StaticResource Gray200}}" /> |
||
362 | <Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
363 | </VisualState.Setters>
|
||
364 | </VisualState>
|
||
365 | <VisualState x:Name="Off"> |
||
366 | <VisualState.Setters>
|
||
367 | <Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray400}, Dark={StaticResource Gray500}}" /> |
||
368 | </VisualState.Setters>
|
||
369 | </VisualState>
|
||
370 | </VisualStateGroup>
|
||
371 | </VisualStateGroupList>
|
||
372 | </Setter>
|
||
373 | </Style>
|
||
374 | |||
375 | <Style TargetType="TimePicker"> |
||
376 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
||
377 | <Setter Property="BackgroundColor" Value="Transparent"/> |
||
378 | <Setter Property="FontFamily" Value="OpenSansRegular"/> |
||
379 | <Setter Property="FontSize" Value="14"/> |
||
380 | <Setter Property="MinimumHeightRequest" Value="44"/> |
||
381 | <Setter Property="MinimumWidthRequest" Value="44"/> |
||
382 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
383 | <VisualStateGroupList>
|
||
384 | <VisualStateGroup x:Name="CommonStates"> |
||
385 | <VisualState x:Name="Normal" /> |
||
386 | <VisualState x:Name="Disabled"> |
||
387 | <VisualState.Setters>
|
||
388 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
389 | </VisualState.Setters>
|
||
390 | </VisualState>
|
||
391 | </VisualStateGroup>
|
||
392 | </VisualStateGroupList>
|
||
393 | </Setter>
|
||
394 | </Style>
|
||
395 | |||
396 | <!--
|
||
397 | <Style TargetType="TitleBar">
|
||
398 | <Setter Property="MinimumHeightRequest" Value="32"/>
|
||
399 | <Setter Property="VisualStateManager.VisualStateGroups">
|
||
400 | <VisualStateGroupList>
|
||
401 | <VisualStateGroup x:Name="TitleActiveStates">
|
||
402 | <VisualState x:Name="TitleBarTitleActive">
|
||
403 | <VisualState.Setters>
|
||
404 | <Setter Property="BackgroundColor" Value="Transparent" />
|
||
405 | <Setter Property="ForegroundColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" />
|
||
406 | </VisualState.Setters>
|
||
407 | </VisualState>
|
||
408 | <VisualState x:Name="TitleBarTitleInactive">
|
||
409 | <VisualState.Setters>
|
||
410 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" />
|
||
411 | <Setter Property="ForegroundColor" Value="{AppThemeBinding Light={StaticResource Gray400}, Dark={StaticResource Gray500}}" />
|
||
412 | </VisualState.Setters>
|
||
413 | </VisualState>
|
||
414 | </VisualStateGroup>
|
||
415 | </VisualStateGroupList>
|
||
416 | </Setter>
|
||
417 | </Style>
|
||
418 | -->
|
||
419 | |||
420 | <Style TargetType="Page" ApplyToDerivedTypes="True"> |
||
421 | <Setter Property="Padding" Value="0"/> |
||
422 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource OffBlack}}" /> |
||
423 | </Style>
|
||
424 | |||
425 | <Style TargetType="Shell" ApplyToDerivedTypes="True"> |
||
426 | <Setter Property="Shell.BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource OffBlack}}" /> |
||
427 | <Setter Property="Shell.ForegroundColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource SecondaryDarkText}}" /> |
||
428 | <Setter Property="Shell.TitleColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource SecondaryDarkText}}" /> |
||
429 | <Setter Property="Shell.DisabledColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" /> |
||
430 | <Setter Property="Shell.UnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray200}}" /> |
||
431 | <Setter Property="Shell.NavBarHasShadow" Value="False" /> |
||
432 | <Setter Property="Shell.TabBarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" /> |
||
433 | <Setter Property="Shell.TabBarForegroundColor" Value="{AppThemeBinding Light={StaticResource Magenta}, Dark={StaticResource White}}" /> |
||
434 | <Setter Property="Shell.TabBarTitleColor" Value="{AppThemeBinding Light={StaticResource Magenta}, Dark={StaticResource White}}" /> |
||
435 | <Setter Property="Shell.TabBarUnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" /> |
||
436 | </Style>
|
||
437 | |||
438 | <Style TargetType="NavigationPage"> |
||
439 | <Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource OffBlack}}" /> |
||
440 | <Setter Property="BarTextColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource White}}" /> |
||
441 | <Setter Property="IconColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource White}}" /> |
||
442 | </Style>
|
||
443 | |||
444 | <Style TargetType="TabbedPage"> |
||
445 | <Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Gray950}}" /> |
||
446 | <Setter Property="BarTextColor" Value="{AppThemeBinding Light={StaticResource Magenta}, Dark={StaticResource White}}" /> |
||
447 | <Setter Property="UnselectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" /> |
||
448 | <Setter Property="SelectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" /> |
||
449 | </Style>
|
||
450 | |||
451 | </ResourceDictionary> |