ffe93265df1d75a10ef0daa0015e7c10c87567c0
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / styles / 720x1280 / dali-toolkit-default-theme.json
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
3  *
4  * This file is part of Dali Toolkit
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18
19
20 //******************************************************************************
21 //
22 // Default Reference style theme for a 720x1280 resolution, The values determined by UX design specification.
23 // This file can be copied to a new folder within the styles/ directory and amended with new default values.
24 // Can be overriden if StyleManager applies another style sheet.
25 //
26 //******************************************************************************
27
28 {
29   "styles":
30   {
31     "textlabel":
32     {
33       "pointSize":18
34     },
35
36     "textlabelFontSize0":
37     {
38       "pointSize":8
39     },
40     "textlabelFontSize1":
41     {
42       "pointSize":10
43     },
44     "textlabelFontSize2":
45     {
46       "pointSize":15
47     },
48     "textlabelFontSize3":
49     {
50       "pointSize":19
51     },
52     "textlabelFontSize4":
53     {
54       "pointSize":25
55     },
56
57     "textfield":
58     {
59       "pointSize":18,
60       "primaryCursorColor":[0.0,0.72,0.9,1.0],
61       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
62       "cursorWidth":3,
63       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
64       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
65       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
66       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
67     },
68
69     "textfieldFontSize0":
70     {
71       "pointSize":10
72     },
73     "textfieldFontSize1":
74     {
75       "pointSize":10
76     },
77     "textfieldFontSize2":
78     {
79       "pointSize":10
80     },
81     "textfieldFontSize3":
82     {
83       "pointSize":10
84     },
85     "textfieldFontSize4":
86     {
87       "pointSize":10
88     },
89     "textselectionpopup":
90     {
91       "popupMaxSize":[656,72],
92       "optionDividerSize":[2,0],
93       "popupDividerColor":[0.23,0.72,0.8,0.11],
94       "popupIconColor":[1.0,1.0,1.0,1.0],
95       "popupPressedColor":[0.24,0.72,0.8,0.11],
96       "background": {
97         "rendererType": "image",
98         "url": "{DALI_IMAGE_DIR}selection-popup-bg.9.png"
99         },
100       "popupFadeInDuration":0.25,
101       "popupFadeOutDuration":0.25
102     },
103     "textselectionpopupbutton":
104     {
105       "label":
106       {
107         "pointSize":8,
108         "fontStyle":"{\"weight\":\"light\"}"
109       }
110     },
111     "textselectiontoolbar":
112     {
113       "enableOvershoot":true,
114       "scrollView":
115       {
116         "overshootAnimationSpeed":360.0,
117         "overshootSize":[720.0,130.0]
118       }
119     },
120     "scrollview":
121     {
122       "overshootEffectColor":"B018",
123       "overshootAnimationSpeed":360.0,
124       "overshootSize":[720.0,130.0]
125     },
126     "itemview":
127     {
128       "overshootEffectColor":"B018",
129       "overshootAnimationSpeed":360.0,
130       "overshootSize":[720.0,130.0]
131     },
132     "texteditor":
133     {
134       "pointSize":18,
135       "primaryCursorColor":[0.0,0.72,0.9,1.0],
136       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
137       "cursorWidth":3,
138       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
139       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
140       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
141       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
142     }
143   }
144 }