style-example-theme-two.json.in 2.14 KB
{
  "constants":
  {
    "STYLE_DIR":"{APPLICATION_RESOURCE_PATH}/style"
  },
  "styles":
  {
    "title":{
      "textColor":"#0000ff",
      "background":
      {
        "visualType":"COLOR",
        "mixColor": [ 1.0, 1.0, 1.0, 1.0 ]
      }
    },
    "tableview":{
      "background":
      {
        "visualType":"GRADIENT",
        "startPosition": [0,-1],
        "endPosition": [0,1],
        "stopColor": [ [ 1.0, 0.0, 1.0, 0.03 ], [1.0,0.0,1.0,0.15] ]
      }
    },

    // Change an icon size, see if it gets properly re-sized
    "radiobutton":{
      "unselectedStateImage":"{STYLE_DIR}/images/radio-button-unselected.png",
      "selectedStateImage":"{STYLE_DIR}/images/radio-button-selected.png",
      "disabledStateImage":"{STYLE_DIR}/images/radio-button-unselected-disabled.png",
      "imageLabelGap":10,
      "label":{
        "textColor": [0.1,1,1,1]
      }
    },
    "checkboxbutton":{
      "label":{
        "textColor": [1,1,1,1]
      }
    },
    "colorLabel1":{
      "textColor": [1,0,0,1]
    },
    "colorLabel2":{
      "textColor": [0,1,0,1]
    },
    "colorLabel3":{
      "textColor": [0.3,0.3,1,1]
    },
    "themelabel":{
      "textColor":[0,1,1,1]
    },
    "popupTitle":{
      "textColor":[1,1,1,1]
    },
    "popupBody":{
      "textColor":[1,1,0,1]
    },

    // Note, this overrides any non-renamed label styles, e.g. those in a button.
    "textlabel":{
      //"textColor":[0,0,0,1]
    },

    "thinslider":{
      "styles": ["slider"],
      "showPopup":true,
      "showValue":false,
      "valuePrecision":0,
      "handleVisual":{
        "size":[48,48]
      },
      "trackVisual":{
        "size":[10, 10]
      },
      "enabled":true
    },
    "colorSlider1":{
      "styles":["thinslider"],
      "progressVisual":{
        "url":"{STYLE_DIR}/images/slider-skin-progress-red.9.png"
      }
    },
    "colorSlider2":{
      "styles":["thinslider"],
      "progressVisual":{
        "url":"{STYLE_DIR}/images/slider-skin-progress-green.9.png"
      }
    },
    "colorSlider3":{
      "styles":["thinslider"],
      "progressVisual":{
        "url":"{STYLE_DIR}/images/slider-skin-progress-blue.9.png"
      }
    }
  }
}