Merge "Clipping API feature in Actor" into devel/master
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / styles / 1920x1080 / 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 1920x1080 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":108,
34       "enableAutoScroll":false,
35       "autoScrollLoopCount":2,
36       "autoScrollGap":50,
37       "autoScrollSpeed":80
38     },
39
40     "TextLabelFontSize0":
41     {
42       "pointSize":84
43     },
44     "TextLabelFontSize1":
45     {
46       "pointSize":96
47     },
48     "TextLabelFontSize2":
49     {
50       "pointSize":108
51     },
52     "TextLabelFontSize3":
53     {
54       "pointSize":120
55     },
56     "TextLabelFontSize4":
57     {
58       "pointSize":132
59     },
60
61     "TextField":
62     {
63       "pointSize":120,
64       "primaryCursorColor":[0.0,0.72,0.9,1.0],
65       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
66       "cursorWidth":6,
67       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
68       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
69       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
70       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
71     },
72
73     "TextFieldFontSize0":
74     {
75       "pointSize":120
76     },
77     "TextFieldFontSize1":
78     {
79       "pointSize":120
80     },
81     "TextFieldFontSize2":
82     {
83       "pointSize":120
84     },
85     "TextFieldFontSize3":
86     {
87       "pointSize":120
88     },
89     "TextFieldFontSize4":
90     {
91       "pointSize":120
92     },
93     "TextSelectionPopup":
94     {
95       "popupMaxSize":[1700,100],
96       "optionDividerSize":[2,0],
97       "popupDividerColor":[0.23,0.72,0.8,0.11],
98       "popupIconColor":[1.0,1.0,1.0,1.0],
99       "popupPressedColor":[0.24,0.72,0.8,0.11],
100       "background": {
101         "rendererType": "image",
102         "url": "{DALI_IMAGE_DIR}selection-popup-bg.9.png"
103         },
104       "popupFadeInDuration":0.25,
105       "popupFadeOutDuration":0.25
106     },
107     "TextSelectionPopupButton":
108     {
109       "label":
110       {
111         "pointSize":120,
112         "fontStyle":"{\"weight\":\"light\"}"
113       }
114     },
115     "TextSelectionToolbar":
116     {
117       "enableOvershoot":true,
118       "scrollView":
119       {
120         "overshootAnimationSpeed":360.0,
121         "overshootSize":[1920.0,130.0]
122       }
123     },
124     "ScrollView":
125     {
126       "overshootEffectColor":"B018",
127       "overshootAnimationSpeed":960.0,
128       "overshootSize":[1920.0,130.0]
129     },
130     "ItemView":
131     {
132       "overshootEffectColor":"B018",
133       "overshootAnimationSpeed":960.0,
134       "overshootSize":[1920.0,130.0]
135     },
136     "TextEditor":
137     {
138       "pointSize":120,
139       "primaryCursorColor":[0.0,0.72,0.9,1.0],
140       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
141       "cursorWidth":6,
142       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
143       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
144       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
145       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
146     },
147     "ProgressBar":
148     {
149       "progressValue": 0,
150       "trackVisual":{
151         "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
152         "size":[24,24]
153       },
154       "progressVisual":{
155         "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
156         "size":[24,24]
157       }
158     },
159     "ProgressBarValueTextLabel":
160     {
161       "textColor":[0.8,0.8,1,1]
162     }
163   }
164 }