Set launcher background from stylesheet
[platform/core/uifw/dali-demo.git] / resources / style / mobile / demo-theme.json
index 579bb81..653fbea 100644 (file)
@@ -22,13 +22,15 @@ distributing this software or its derivatives.
 {
   "styles":
   {
+    "textlabel-Rosemary":
+    {
+    "font-family":"Rosemary"
+    },
     "textlabel":
     {
-      "font-family":"SamsungSans",
       "font-style":"Regular",
       "point-size":18
     },
-
     "textlabel-font-size-0":
     {
       "point-size":8
@@ -64,53 +66,6 @@ distributing this software or its derivatives.
     {
       "point-size":10
     },
-    "textselectionpopuplabel":
-    {
-      "point-size":8
-    },
-    "textselectionpopup":
-    {
-      "popup-max-size":[400,100],
-      "option-divider-size":[2,0],
-      "popup-divider-color":[0.23,0.72,0.8,0.11],
-      "popup-icon-color":[1.0,1.0,1.0,1.0],
-      "popup-pressed-color":[0.24,0.72,0.8,0.11],
-      "background-image": {
-        "filename": "{DALI_IMAGE_DIR}selection-popup-bg.9.png"
-        }
-    },
-    "textfield":
-    {
-      "font-family":"SamsungSans",
-      "font-style":"Regular",
-      "primary-cursor-color":[0.0,0.71,0.9,1.0],
-      "secondary-cursor-color":[0.0,0.71,0.9,1.0],
-      "selection-highlight-color":[0.75,0.96,1.0,1.0],
-      "grab-handle-image":"{DALI_IMAGE_DIR}cursor_handler_center.png",
-      "selection-handle-image-left":"{DALI_IMAGE_DIR}selection_handle_left.png",
-      "selection-handle-image-right":"{DALI_IMAGE_DIR}selection_handle_right.png"
-    },
-
-    "textfield-font-size-0":
-    {
-      "point-size":10
-    },
-    "textfield-font-size-1":
-    {
-      "point-size":10
-    },
-    "textfield-font-size-2":
-    {
-      "point-size":10
-    },
-    "textfield-font-size-3":
-    {
-      "point-size":10
-    },
-    "textfield-font-size-4":
-    {
-      "point-size":10
-    },
 
     "scrollview":
     {
@@ -125,6 +80,19 @@ distributing this software or its derivatives.
     "buttonlabel":
     {
       "point-size":8
+    },
+
+    "launcherbackground":
+    {
+      "background":
+      {
+        "renderer-type": "gradient-renderer",
+        "gradient-center": [360, 640],
+        "gradient-radius": 1468,
+        "gradient-units": "user-space",
+        "gradient-stop-color": [[0.247,0.38,0.52,1.0],[0.055,0.18,0.286,1.0]],
+        "gradient-stop-offset":[0.0,1.0]
+      }
     }
   }
 }