[3.0] Added a simple application for testing Styling
[platform/core/uifw/dali-demo.git] / resources / style / style-example-theme-two.json.in
1 {
2   "constants":
3   {
4     "DEMO_IMAGE_DIR":"@DEMO_STYLE_IMAGE_DIR@"
5   },
6   "styles":
7   {
8     "title":{
9       "textColor":"#0000ff",
10       "background":
11       {
12         "visualType":"COLOR",
13         "mixColor": [ 1.0, 1.0, 1.0, 1.0 ]
14       }
15     },
16     "tableview":{
17       "background":
18       {
19         "visualType":"GRADIENT",
20         "startPosition": [0,-1],
21         "endPosition": [0,1],
22         "stopColor": [ [ 1.0, 0.0, 1.0, 0.03 ], [1.0,0.0,1.0,0.15] ]
23       }
24     },
25
26     // Change an icon size, see if it gets properly re-sized
27     "radiobutton":{
28       "unselectedStateImage":"{DEMO_IMAGE_DIR}/radio-button-unselected.png",
29       "selectedStateImage":"{DEMO_IMAGE_DIR}/radio-button-selected.png",
30       "disabledStateImage":"{DEMO_IMAGE_DIR}/radio-button-unselected-disabled.png",
31       "imageLabelGap":10,
32       "label":{
33         "textColor": [0.1,1,1,1]
34       }
35     },
36     "checkboxbutton":{
37       "label":{
38         "textColor": [1,1,1,1]
39       }
40     },
41     "colorLabel1":{
42       "textColor": [1,0,0,1]
43     },
44     "colorLabel2":{
45       "textColor": [0,1,0,1]
46     },
47     "colorLabel3":{
48       "textColor": [0.3,0.3,1,1]
49     },
50     "themelabel":{
51       "textColor":[0,1,1,1]
52     },
53     "popupTitle":{
54       "textColor":[1,1,1,1]
55     },
56     "popupBody":{
57       "textColor":[1,1,0,1]
58     },
59
60     // Note, this overrides any non-renamed label styles, e.g. those in a button.
61     "textlabel":{
62       //"textColor":[0,0,0,1]
63     },
64
65     "thinslider":{
66       "styles": ["slider"],
67       "showPopup":true,
68       "showValue":false,
69       "valuePrecision":0,
70       "handleVisual":{
71         "size":[48,48]
72       },
73       "trackVisual":{
74         "size":[10, 10]
75       },
76       "enabled":true
77     },
78     "colorSlider1":{
79       "styles":["thinslider"],
80       "progressVisual":{
81         "url":"{DEMO_IMAGE_DIR}/slider-skin-progress-red.9.png"
82       }
83     },
84     "colorSlider2":{
85       "styles":["thinslider"],
86       "progressVisual":{
87         "url":"{DEMO_IMAGE_DIR}/slider-skin-progress-green.9.png"
88       }
89     },
90     "colorSlider3":{
91       "styles":["thinslider"],
92       "progressVisual":{
93         "url":"{DEMO_IMAGE_DIR}/slider-skin-progress-blue.9.png"
94       }
95     }
96   }
97 }