20ef793e40b494d7235de3e6a07c0e5297012802
[platform/core/uifw/dali-demo.git] / resources / style / style-example-theme-one.json.in
1 {
2   "styles":
3   {
4     "Title":{
5       "textColor":"#0000ff",
6       "background":
7       {
8         "visualType":"COLOR",
9         "mixColor": [ 1.0, 1.0, 1.0, 1.0 ]
10       }
11     },
12     "TableView":{
13       "background":
14       {
15         "visualType":"COLOR",
16         "mixColor": [ 1.0, 1.0, 1.0, 0.03 ]
17       }
18     },
19     "FlexContainer":{
20       "background":
21       {
22         "visualType":"COLOR",
23         "mixColor": [ 1.0, 1.0, 1.0, 0.1 ]
24       }
25     },
26     "RadioButton":{
27       "label":{
28         "textColor": [1,1,1,1]
29       }
30     },
31     "CheckBoxButton":{
32       "label":{
33         "textColor": [1,1,1,1]
34       }
35     },
36     "ColorLabel1":{
37       "textColor": [1,0,0,1]
38     },
39     "ColorLabel2":{
40       "textColor": [0,1,0,1]
41     },
42     "ColorLabel3":{
43       "textColor": [0.3,0.3,1,1]
44     },
45     "ThemeLabel":{
46       "textColor":[0,1,1,1]
47     },
48     "PopupTitle":{
49       "textColor":[1,1,1,1]
50     },
51     "PopupBody":{
52       "textColor":[1,1,0,1]
53     },
54     "TextLabel":{
55       "textColor":[0,0,0,1]
56     },
57     "ColorSlider1":{
58       "styles":["Slider"]
59     },
60     "ColorSlider2":{
61       "styles":["slider"]
62     },
63     "ColorSlider3":{
64       "styles":["slider"]
65     },
66     "ImageChannelControl":
67     {
68       "enableVisibilityTransition":
69       [
70         {
71           "target":"imageVisual",
72           "property":"colorAlpha",
73           "initialValue":0,
74           "targetValue":1,
75           "animator":
76           {
77             "alphaFunction":"EASE_IN_OUT",
78             "timePeriod":
79             {
80               "duration":0.25,
81               "delay":0
82             }
83           }
84         },
85         {
86           "target":"imageVisual",
87           "property":"scale",
88           "targetValue":[1,1,1]
89         }
90       ],
91       "disableVisibilityTransition":
92       [
93         {
94           "target":"imageVisual",
95           "property":"colorAlpha",
96           "targetValue":0,
97           "animator":
98           {
99             "alphaFunction":"EASE_IN_OUT",
100             "timePeriod":
101             {
102               "duration":0.25,
103               "delay":0
104             }
105           }
106         },
107         {
108           "target":"imageVisual",
109           "property":"scale",
110           "targetValue":[1,1,1]
111         }
112       ]
113     },
114     "BeatControl":
115     {
116       "beatVisual":{
117         "visualType":"IMAGE",
118         "url":"{APPLICATION_RESOURCE_PATH}/images/Logo-for-demo.png"
119       },
120
121       "bounceTransition":
122       [
123         {
124           "target":"beatVisual",
125           "property":"size",
126           "initialValue":[0.5, 0.5],
127           "targetValue":[0.75, 0.75],
128           "animator":
129           {
130             "alphaFunction":"BOUNCE",
131             "timePeriod":
132             {
133               "duration":0.5,
134               "delay":0
135             }
136           }
137         }
138       ],
139
140       "leftTransition":
141       [
142         {
143           "target":"beatVisual",
144           "property":"offset",
145           "initialValue":[0, 0],
146           "targetValue":[0.25, 0],
147           "animator":
148           {
149             "alphaFunction":"BOUNCE",
150             "timePeriod":
151             {
152               "duration":0.5,
153               "delay":0
154             }
155           }
156         }
157       ],
158
159       "upTransition":
160       [
161         {
162           "target":"beatVisual",
163           "property":"offset",
164           "initialValue":[0, 0],
165           "targetValue":[0, 0.25],
166           "animator":
167           {
168             "alphaFunction":"BOUNCE",
169             "timePeriod":
170             {
171               "duration":0.5,
172               "delay":0
173             }
174           }
175         }
176       ]
177     }
178   }
179 }