[NUI] Update button components text size
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Components / Theme / DefaultThemeCommon.cs
1 /*
2  * Copyright(c) 2021 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 #if !PROFILE_WEARABLE
18
19 using System.Diagnostics.CodeAnalysis;
20 using Tizen.NUI.BaseComponents;
21
22 namespace Tizen.NUI.Components
23 {
24     // It is a C# version of res/Tizen.NUI.Components_Tizen.NUI.Theme.Common.xaml
25     internal partial class DefaultThemeCreator : IThemeCreator
26     {
27         /// <summary>
28         /// The base theme description.
29         /// </summary>
30         [SuppressMessage("Microsoft.Reliability", "CA2000: Dispose objects before losing scope", Justification = "The responsibility to dispose the object is transferred to the theme object.")]
31         public Theme Create()
32         {
33             var theme = new Theme()
34             {
35                 Id = Tizen.NUI.DefaultThemeCreator.DefaultId,
36                 Version = Tizen.NUI.DefaultThemeCreator.DefaultVersion
37             };
38
39             // Button base style
40             theme.AddStyleWithoutClone("Tizen.NUI.Components.Button", new ButtonStyle()
41             {
42                 Size = new Size(339, 96),
43                 CornerRadius = 28.0f,
44                 ItemAlignment = LinearLayout.Alignment.Center,
45                 BackgroundColor = new Selector<Color>()
46                 {
47                     Normal = new Color(0.039f, 0.055f, 0.29f, 1),
48                     Pressed = new Color(0.106f, 0.412f, 0.792f, 1),
49                     Focused = new Color(0, 0.2f, 0.545f, 1),
50                     Disabled = new Color(0.765f, 0.792f, 0.824f, 1),
51                 },
52                 Text = new TextLabelStyle()
53                 {
54                     TextColor = Color.White,
55                     PixelSize = 32,
56                 }
57             });
58
59             // CheckBox base style
60             theme.AddStyleWithoutClone("Tizen.NUI.Components.CheckBox", new ButtonStyle()
61             {
62                 ItemSpacing = new Size2D(32, 32),
63                 ItemAlignment = LinearLayout.Alignment.CenterVertical,
64                 Icon = new ImageViewStyle()
65                 {
66                     Size = new Size(36, 36),
67                     ResourceUrl = new Selector<string>()
68                     {
69                         Normal = FrameworkInformation.ResourcePath + "IoT_check_off.png",
70                         Pressed = FrameworkInformation.ResourcePath + "IoT_check_off_p.png",
71                         Disabled = FrameworkInformation.ResourcePath + "IoT_check_off_d.png",
72                         Focused = FrameworkInformation.ResourcePath + "IoT_check_off_f.png",
73                         Selected = FrameworkInformation.ResourcePath + "IoT_check_on.png",
74                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_check_on_p.png",
75                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_check_on_f.png",
76                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_check_on_d.png",
77                     },
78                 },
79                 Text = new TextLabelStyle()
80                 {
81                     TextColor = new Color("#001447"),
82                     PixelSize = 32,
83                 }
84             });
85
86             // Popup base style
87             theme.AddStyleWithoutClone("Tizen.NUI.Components.Popup", new PopupStyle()
88             {
89                 Size = new Size(500, 280),
90                 BackgroundColor = new Color(0.9f, 0.9f, 0.9f, 1),
91                 ImageShadow = new ImageShadow()
92                 {
93                     Url = FrameworkInformation.ResourcePath + "nui_component_default_popup_shadow.png",
94                     Border = new Rectangle(24, 24, 24, 24),
95                     Extents = new Vector2(48, 48)
96                 },
97                 Title = new TextLabelStyle()
98                 {
99                     PointSize = 16,
100                     Padding = new Extents(20, 20, 20, 20),
101                 },
102                 Buttons = new ButtonStyle()
103                 {
104                     Size = new Size(0, 80),
105                     CornerRadius = 0,
106                     BackgroundColor = new Selector<Color>()
107                     {
108                         Normal = new Color(1, 1, 1, 1),
109                         Pressed = new Color(1, 1, 1, 0.5f),
110                     },
111                     Overlay = new ImageViewStyle()
112                     {
113                         BackgroundColor = new Selector<Color>()
114                         {
115                             Pressed = new Color(0, 0, 0, 0.1f),
116                             Other = new Color(1, 1, 1, 0.1f),
117                         },
118                     },
119                     Text = new TextLabelStyle()
120                     {
121                         TextColor = new Color(0.05f, 0.63f, 0.9f, 1),
122                     }
123                 }
124             });
125
126             // Progress base style
127             theme.AddStyleWithoutClone("Tizen.NUI.Components.Progress", new ProgressStyle()
128             {
129                 Size = new Size(200, 25),
130                 Track = new ImageViewStyle()
131                 {
132                     ResourceUrl = FrameworkInformation.ResourcePath + "IoT_progressindicator_empty.png",
133                     BackgroundColor = new Color(0, 0, 0, 0.1f),
134                 },
135                 Buffer = new ImageViewStyle()
136                 {
137                     BackgroundColor = new Color(0.05f, 0.63f, 0.9f, 0.3f),
138                 },
139                 Progress = new ImageViewStyle()
140                 {
141                     ResourceUrl = new Selector<string>()
142                     {
143                         Normal = FrameworkInformation.ResourcePath + "IoT_progressindicator_progress.png",
144                         Disabled = FrameworkInformation.ResourcePath + "IoT_progressindicator_progressdisabled.png",
145                     },
146                     BackgroundColor = new Color(0.05f, 0.63f, 0.9f, 1),
147                 },
148                 IndeterminateImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_progress_indeterminate.png",
149             });
150
151             // RadioButton base style
152             theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle()
153             {
154                 ItemSpacing = new Size2D(32, 32),
155                 ItemAlignment = LinearLayout.Alignment.CenterVertical,
156                 Icon = new ImageViewStyle()
157                 {
158                     Size = new Size(36, 36),
159                     ResourceUrl = new Selector<string>()
160                     {
161                         Normal = FrameworkInformation.ResourcePath + "IoT_radiobutton_off.png",
162                         Pressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_p.png",
163                         Disabled = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_d.png",
164                         Focused = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_f.png",
165                         Selected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on.png",
166                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_p.png",
167                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_f.png",
168                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_d.png",
169                     },
170                 },
171                 Text = new TextLabelStyle()
172                 {
173                     TextColor = new Color("#001447"),
174                     PixelSize = 32,
175                 }
176             });
177
178             // Slider base style
179             theme.AddStyleWithoutClone("Tizen.NUI.Components.Slider", new SliderStyle()
180             {
181                 Size = new Size(200, 50),
182                 TrackThickness = 8,
183                 Track = new ImageViewStyle()
184                 {
185                     Size = new Size(100, 8),
186                     ResourceUrl = new Selector<string>()
187                     {
188                         Normal = FrameworkInformation.ResourcePath + "IoT_slider_status_empty_track.png",
189                         Disabled = FrameworkInformation.ResourcePath + "IoT_slider_status_track_disabled.png",
190                     },
191                     BackgroundColor = new Color(1.0f, 1.0f, 1.0f, 0.1f),
192                 },
193                 Progress = new ImageViewStyle()
194                 {
195                     Size = new Size(100, 8),
196                     ResourceUrl = FrameworkInformation.ResourcePath + "IoT_slider_status_track.png",
197                     BackgroundColor = new Color(0.03f, 0.05f, 0.3f, 1),
198                 },
199                 Thumb = new ImageViewStyle()
200                 {
201                     Size = new Size(36, 36),
202                     ResourceUrl = FrameworkInformation.ResourcePath + "IoT_slider_handler_normal.png",
203                     // TODO : Should check later when UX guide provides the pressed image
204                     /*BackgroundImage = new Selector<string>()
205                     {
206                         Normal = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_bg_p.png",
207                         Pressed = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_bg_p.png",
208                     }*/
209                 },
210                 ValueIndicatorImage = new ImageViewStyle()
211                 {
212                     Size = new Size(49, 24),
213                     BackgroundColor = new Color(0.0f, 0.04f, 0.16f, 1.0f),
214                 },
215             });
216
217             // Switch base style
218             theme.AddStyleWithoutClone("Tizen.NUI.Components.Switch", new SwitchStyle()
219             {
220                 ItemSpacing = new Size2D(32, 32),
221                 ItemAlignment = LinearLayout.Alignment.CenterVertical,
222                 Track = new ImageViewStyle()
223                 {
224                     Size = new Size(80, 40),
225                     ResourceUrl = new Selector<string>()
226                     {
227                         Normal = FrameworkInformation.ResourcePath + "IoT_switch_track_off.png",
228                         Pressed = FrameworkInformation.ResourcePath + "IoT_switch_track_off_p.png",
229                         Disabled = FrameworkInformation.ResourcePath + "IoT_switch_track_off_d.png",
230                         Focused = FrameworkInformation.ResourcePath + "IoT_switch_track_off_f.png",
231                         Selected = FrameworkInformation.ResourcePath + "IoT_switch_track_on.png",
232                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_track_on_p.png",
233                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_track_on_f.png",
234                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_switch_track_on_d.png",
235                     },
236                 },
237                 Thumb = new ImageViewStyle()
238                 {
239                     Size = new Size(40, 40),
240                     ResourceUrl = new Selector<string>()
241                     {
242                         Normal = FrameworkInformation.ResourcePath + "IoT_switch_thumb.png",
243                         Disabled = FrameworkInformation.ResourcePath + "IoT_switch_thumb_d.png",
244                         Selected = FrameworkInformation.ResourcePath + "IoT_switch_thumb_s.png",
245                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sp.png",
246                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sf.png",
247                     }
248                 },
249                 Text = new TextLabelStyle()
250                 {
251                     TextColor = new Color("#001447"),
252                     PixelSize = 32,
253                 }
254             });
255
256             // Loading base style
257             theme.AddStyleWithoutClone("Tizen.NUI.Components.Loading", new LoadingStyle()
258             {
259                 LoadingSize = new Size(100, 100),
260             });
261
262             // Pagination base style
263             theme.AddStyleWithoutClone("Tizen.NUI.Components.Pagination", new PaginationStyle()
264             {
265                 IndicatorImageUrl = new Selector<string>()
266                 {
267                     Normal = FrameworkInformation.ResourcePath + "nui_component_default_pagination_normal_dot.png",
268                     Selected = FrameworkInformation.ResourcePath + "nui_component_default_pagination_focus_dot.png",
269                 },
270                 IndicatorSize = new Size(10, 10),
271             });
272
273             // Scrollbar base style
274             theme.AddStyleWithoutClone("Tizen.NUI.Components.Scrollbar", new ScrollbarStyle()
275             {
276                 TrackThickness = 12,
277                 ThumbThickness = 12,
278                 TrackColor = new Color(0f, 0f, 0f, 0f),
279                 ThumbColor = new Color("#0A0E4A"),
280                 TrackPadding = 4,
281                 ThumbVerticalImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_scroll_vbar.#.png",
282                 ThumbHorizontalImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_scroll_hbar.#.png",
283             });
284
285             // LinearLayouter base style
286             theme.AddStyleWithoutClone("Tizen.NUI.Components.LinearLayouter", new ViewStyle()
287             {
288                 Padding = new Extents(64, 64, 0, 0)
289             });
290
291             // GridLayouter base style
292             theme.AddStyleWithoutClone("Tizen.NUI.Components.GridLayouter", new ViewStyle()
293             {
294                 Padding = new Extents(0, 0, 0, 0),
295             });
296
297             // ItemsLayouter base style
298             theme.AddStyleWithoutClone("Tizen.NUI.Components.ItemsLayouter", new ViewStyle()
299             {
300                 Padding = new Extents(0, 0, 0, 0),
301             });
302
303             // RecyclerViewItem base style
304             theme.AddStyleWithoutClone("Tizen.NUI.Components.RecyclerViewItem", new RecyclerViewItemStyle()
305             {
306                 BackgroundColor = new Selector<Color>()
307                 {
308                     Normal = new Color(1, 1, 1, 1),
309                     Pressed = new Color(0.85f, 0.85f, 0.85f, 1),
310                     Disabled = new Color(0.70f, 0.70f, 0.70f, 1),
311                     Selected = new Color(0.701f, 0.898f, 0.937f, 1),
312                 },
313             });
314
315             // DefaultLinearItem base style
316             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultLinearItem", new DefaultLinearItemStyle()
317             {
318                 SizeHeight = 108,
319                 Padding = new Extents(64, 64, 18, 17),
320                 Margin = new Extents(0, 0, 0, 0),
321                 BackgroundColor = new Selector<Color>()
322                 {
323                     Normal = new Color(1, 1, 1, 1),
324                     Pressed = new Color(0.85f, 0.85f, 0.85f, 1),
325                     Disabled = new Color(0.70f, 0.70f, 0.70f, 1),
326                     Selected = new Color(0.85f, 0.85f, 0.85f, 1),
327                 },
328                 Label = new TextLabelStyle()
329                 {
330                     PixelSize = 32,
331                     Ellipsis = true,
332                     FontFamily = "BreezeSans", //FXIME Font Weight is Light
333                     TextColor = new Color("#001447"),
334                     ThemeChangeSensitive = false
335                 },
336                 SubLabel = new TextLabelStyle()
337                 {
338                     PixelSize = 28,
339                     Ellipsis = true,
340                     FontFamily = "BreezeSans",
341                     TextColor = new Color("#001447"),
342                     ThemeChangeSensitive = false
343                 },
344                 Icon = new ViewStyle()
345                 {
346                     Margin = new Extents(0, 32, 0, 0)
347                 },
348                 Extra = new ViewStyle()
349                 {
350                     Margin = new Extents(32, 0, 0, 0)
351                 },
352                 Seperator = new ViewStyle()
353                 {
354                     SizeHeight = 1,
355                     Margin = new Extents(64, 64, 0, 0),
356                     BackgroundColor = new Color("#C3CAD2"),
357                 },
358             });
359
360             // DefaultGridItem base style
361             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultGridItem", new DefaultGridItemStyle()
362             {
363                 Padding = new Extents(0, 0, 0, 0),
364                 Margin = new Extents(5, 5, 5, 5),
365                 Label = new TextLabelStyle()
366                 {
367                     SizeHeight = 60,
368                     PixelSize = 24,
369                     LineWrapMode = LineWrapMode.Character,
370                     ThemeChangeSensitive = false
371                 },
372                 Badge = new ViewStyle()
373                 {
374                     Margin = new Extents(5, 5, 5, 5),
375                 },
376             });
377
378             // DefaultTitleItem base style
379             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultTitleItem", new DefaultTitleItemStyle()
380             {
381                 SizeHeight = 60,
382                 Padding = new Extents(64, 64, 12, 12),
383                 Margin = new Extents(0, 0, 0, 0),
384                 BackgroundColor = new Selector<Color>()
385                 {
386                     Normal = new Color("#EEEEF1"),
387                 },
388                 Label = new TextLabelStyle()
389                 {
390                     PixelSize = 28,
391                     Ellipsis = true,
392                     TextColor = new Color("#001447"),
393                     ThemeChangeSensitive = false
394                 },
395                 Icon = new ViewStyle()
396                 {
397                     Margin = new Extents(40, 0, 0, 0)
398                 },
399                 Seperator = new ViewStyle()
400                 {
401                     Margin = new Extents(0, 0, 0, 0),
402                     BackgroundColor = new Color(0, 0, 0, 0),
403                 },
404             });
405
406             // ContentPage base style
407             theme.AddStyleWithoutClone("Tizen.NUI.Components.ContentPage", new ViewStyle()
408             {
409                 BackgroundColor = new Color("#EEEFF1"),
410             });
411
412             // AppBar base style
413             theme.AddStyleWithoutClone("Tizen.NUI.Components.AppBar", new AppBarStyle()
414             {
415                 Size = new Size(-1, 120),
416                 BackgroundColor = new Color("#EEEFF1"),
417                 BackButton = new ButtonStyle()
418                 {
419                     Size = new Size(48, 48),
420                     CornerRadius = 0,
421                     BackgroundColor = new Color(0, 0, 0, 0),
422                     Icon = new ImageViewStyle()
423                     {
424                         Size = new Size(48, 48),
425                         ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_back_button.png",
426                         Color = new Selector<Color>()
427                         {
428                             Normal = new Color("#0A0E4A"),
429                             Focused = new Color("#00338B"),
430                             Pressed = new Color("#1B69CA"),
431                             Disabled = new Color("#C3CAD2"),
432                         },
433                     },
434                     ThemeChangeSensitive = false
435                 },
436                 TitleTextLabel = new TextLabelStyle()
437                 {
438                     PixelSize = 40,
439                     VerticalAlignment = VerticalAlignment.Center,
440                     TextColor = new Selector<Color>()
441                     {
442                         Normal = new Color("#000C2B"),
443                     },
444                     ThemeChangeSensitive = false
445                 },
446                 ActionView = new ViewStyle()
447                 {
448                     Size = new Size(-1, 120),
449                     CornerRadius = 0,
450                     BackgroundColor = new Color(0, 0, 0, 0),
451                 },
452                 ActionButton = new ButtonStyle()
453                 {
454                     Size = new Size(-1, 120),
455                     CornerRadius = 0,
456                     BackgroundColor = new Color(0, 0, 0, 0),
457                     Text = new TextLabelStyle()
458                     {
459                         PixelSize = 26,
460                         TextColor = new Selector<Color>()
461                         {
462                             Normal = new Color("#0A0E4A"),
463                             Focused = new Color("#00338B"),
464                             Pressed = new Color("#1B69CA"),
465                             Disabled = new Color("#C3CAD2"),
466                         },
467                     },
468                     Icon = new ImageViewStyle()
469                     {
470                         Size = new Size(-1, 48),
471                         Color = new Selector<Color>()
472                         {
473                             Normal = new Color("#0A0E4A"),
474                             Focused = new Color("#00338B"),
475                             Pressed = new Color("#1B69CA"),
476                             Disabled = new Color("#C3CAD2"),
477                         },
478                     },
479                     ThemeChangeSensitive = false,
480                 },
481                 Padding = new Extents(64, 64, 0, 0),
482                 NavigationPadding = new Extents(0, 24, 0, 0),
483                 ActionPadding = new Extents(40, 0, 0, 0),
484                 ActionCellPadding = new Size2D(40, 0),
485             });
486
487             // Picker base style
488             theme.AddStyleWithoutClone("Tizen.NUI.Components.Picker", new PickerStyle()
489             {
490                 Size = new Size(160, 339),
491                 ItemTextLabel = new TextLabelStyle()
492                 {
493                     //FIXME: Should be check PointSize. given size from UX is too large.
494                     PixelSize = 32,
495                     VerticalAlignment = VerticalAlignment.Center,
496                     HorizontalAlignment = HorizontalAlignment.Center,
497                     Size = new Size(0,72),
498                     TextColor = new Selector<Color>()
499                     {
500                         Normal = new Color("#000C2B"),
501                     },
502                     BackgroundColor = Color.White,
503                 },
504                 Divider = new ViewStyle()
505                 {
506                     SizeHeight = 2.0f,
507                     WidthResizePolicy = ResizePolicyType.FillToParent,
508                     Position = new Position(0, 132),
509                     BackgroundColor = new Color("#0A0E4A"),
510                 },
511                 StartScrollOffset = new Size(0, 12),
512             });
513
514             // TabButton base style
515             theme.AddStyleWithoutClone("Tizen.NUI.Components.TabButton", new TabButtonStyle()
516             {
517                 Size = new Size(-1, 84),
518                 CornerRadius = 0,
519                 BackgroundColor = Color.White,
520                 Text = new TextLabelStyle()
521                 {
522                     PixelSize = 28,
523                     Size = new Size(-2, -2),
524                     TextColor = new Selector<Color>()
525                     {
526                         Normal = new Color("#000C2B"),
527                         Selected = new Color("#000C2B"),
528                         Pressed = new Color("#1473E6"),
529                         Disabled = new Color("#C3CAD2"),
530                     },
531                     ThemeChangeSensitive = false,
532                 },
533                 Icon = new ImageViewStyle()
534                 {
535                     Size = new Size(48, 48),
536                     Color = new Selector<Color>()
537                     {
538                         Normal = new Color("#000C2B"),
539                         Selected = new Color("#000C2B"),
540                         Pressed = new Color("#1473E6"),
541                         Disabled = new Color("#C3CAD2"),
542                     },
543                 },
544                 TopLine = new ViewStyle()
545                 {
546                     Size = new Size(-1, 1),
547                     BackgroundColor = new Selector<Color>()
548                     {
549                         Normal = new Color("#000C2B"),
550                         Selected = new Color("#000C2B"),
551                         Pressed = new Color("#1473E6"),
552                         Disabled = new Color("#C3CAD2"),
553                     },
554                 },
555                 BottomLine = new ViewStyle()
556                 {
557                     Size = new Size(-1, 8),
558                     Position = new Position(0, 76), // 84 - 8
559                     BackgroundColor = new Selector<Color>()
560                     {
561                         Normal = Color.Transparent,
562                         Selected = new Color("#000C2B"),
563                         Pressed = new Color("#1473E6"),
564                         Disabled = Color.Transparent,
565                     },
566                 },
567             });
568
569             // NotificationToast base style
570             theme.AddStyleWithoutClone("NotificationToast", new TextLabelStyle()
571             {
572                 BackgroundColor = new Color("#F2F7FF"),
573                 CornerRadius = 20.0f,
574                 BoxShadow = new Shadow(5.0f, new Color("#00000066"), new Vector2(2.0f, 2.0f)),
575                 TextColor = new Color("#000C2B"),
576                 PixelSize = 32,
577                 WidthResizePolicy = ResizePolicyType.UseNaturalSize,
578                 HeightResizePolicy = ResizePolicyType.UseNaturalSize,
579                 PositionUsesPivotPoint = true,
580                 HorizontalAlignment = HorizontalAlignment.Center,
581                 VerticalAlignment = VerticalAlignment.Center,
582                 Padding = new Extents(40, 40, 24, 24),
583                 PositionY = 120,
584             });
585
586             // AlertDialog base style
587             theme.AddStyleWithoutClone("Tizen.NUI.Components.AlertDialog", new AlertDialogStyle()
588             {
589                 Size = new Size(-2, -2),
590                 Padding = new Extents(80, 80, 0, 0),
591                 BackgroundColor = Color.White,
592                 CornerRadius = 28.0f,
593                 BoxShadow = new Shadow(2.0f, new Color("#00000029"), new Vector2(2.0f, 2.0f)),
594                 TitleTextLabel = new TextLabelStyle()
595                 {
596                     Size = new Size(720, -2),
597                     Margin = new Extents(0, 0, 40, 40),
598                     PixelSize = 40,
599                     HorizontalAlignment = HorizontalAlignment.Center,
600                     VerticalAlignment = VerticalAlignment.Center,
601                     TextColor = new Color("#000C2B"),
602                     ThemeChangeSensitive = false,
603                 },
604                 MessageTextLabel = new TextLabelStyle()
605                 {
606                     Size = new Size(720, -2),
607                     Margin = new Extents(0, 0, 0, 64),
608                     PixelSize = 32,
609                     MultiLine = true,
610                     HorizontalAlignment = HorizontalAlignment.Center,
611                     VerticalAlignment = VerticalAlignment.Center,
612                     TextColor = new Color("#000C2B"),
613                     ThemeChangeSensitive = false,
614                 },
615                 ActionContent = new ViewStyle()
616                 {
617                     Size = new Size(720, -2),
618                 },
619             });
620
621             // TimePicker base style
622             theme.AddStyleWithoutClone("Tizen.NUI.Components.TimePicker", new TimePickerStyle()
623             {
624                 CellPadding = new Size(50, 339),
625
626                 Pickers = new PickerStyle()
627                 {
628                     Size = new Size(160, 339),
629                     ItemTextLabel = new TextLabelStyle()
630                     {
631                         //FIXME: Should be check PointSize. given size from UX is too large.
632                         PixelSize = 32,
633                         VerticalAlignment = VerticalAlignment.Center,
634                         HorizontalAlignment = HorizontalAlignment.Center,
635                         Size = new Size(0,72),
636                         TextColor = new Color("#000C2B"),
637                         BackgroundColor = Color.White,
638                         ThemeChangeSensitive = false
639                     },
640                     Divider = new ViewStyle()
641                     {
642                         SizeHeight = 2.0f,
643                         WidthResizePolicy = ResizePolicyType.FillToParent,
644                         Position = new Position(0, 132),
645                         BackgroundColor = new Color("#0A0E4A"),
646                     },
647                     StartScrollOffset = new Size2D(0, 12),
648                 }
649             });
650
651             // DatePicker base style
652             theme.AddStyleWithoutClone("Tizen.NUI.Components.DatePicker", new DatePickerStyle()
653             {
654                 CellPadding = new Size(50, 339),
655
656                 Pickers = new PickerStyle()
657                 {
658                     Size = new Size(160, 339),
659                     ItemTextLabel = new TextLabelStyle()
660                     {
661                         //FIXME: Should be check PointSize. given size from UX is too large.
662                         PixelSize = 32,
663                         VerticalAlignment = VerticalAlignment.Center,
664                         HorizontalAlignment = HorizontalAlignment.Center,
665                         Size = new Size(0,72),
666                         TextColor = new Color("#000C2B"),
667                         BackgroundColor = Color.White,
668                         ThemeChangeSensitive = false
669                     },
670                     Divider = new ViewStyle()
671                     {
672                         SizeHeight = 2.0f,
673                         WidthResizePolicy = ResizePolicyType.FillToParent,
674                         Position = new Position(0, 132),
675                         BackgroundColor = new Color("#0A0E4A"),
676                     },
677                     StartScrollOffset = new Size2D(0, 12),
678                 }
679             });
680
681             // Menu base style
682             theme.AddStyleWithoutClone("Tizen.NUI.Components.Menu", new ViewStyle()
683             {
684                 BackgroundColor = new Color("#EEEFF1"),
685             });
686
687             // MenuItem base style
688             theme.AddStyleWithoutClone("Tizen.NUI.Components.MenuItem", new ButtonStyle()
689             {
690                 Size = new Size(480, -2),
691                 MinimumSize = new Size2D(0, 72),
692                 CornerRadius = 0,
693                 BackgroundImage = FrameworkInformation.ResourcePath + "nui_component_menu_item_bg.png",
694                 Padding = new Extents(16, 16, 16, 16),
695                 Text = new TextLabelStyle()
696                 {
697                     PixelSize = 32,
698                     MultiLine = true,
699                     HorizontalAlignment = HorizontalAlignment.Begin,
700                     VerticalAlignment = VerticalAlignment.Center,
701                     TextColor = new Selector<Color>()
702                     {
703                         Normal = new Color("#001447"),
704                         Focused = new Color("#00338B"),
705                         Pressed = new Color("#1B69CA"),
706                         Disabled = new Color("#C3CAD2"),
707                     },
708                     ThemeChangeSensitive = false
709                 },
710                 Icon = new ImageViewStyle()
711                 {
712                     Size = new Size(-2, 48),
713                     Color = new Selector<Color>()
714                     {
715                         Normal = new Color("#001447"),
716                         Focused = new Color("#00338B"),
717                         Pressed = new Color("#1B69CA"),
718                         Disabled = new Color("#C3CAD2"),
719                     },
720                 },
721             });
722
723             return theme;
724         }
725     }
726 }
727
728 #endif // !PROFILE_WEARABLE