~faenil/ubuntu-ui-toolkit/UbuntuTestCase_flick_flakiness_fix

« back to all changes in this revision

Viewing changes to src/Ubuntu/Components/Themes/Ambiance/1.3/SwitchStyle.qml

  • Committer: Andrea Bernabei
  • Date: 2016-02-09 21:30:24 UTC
  • mfrom: (1795.2.47 staging)
  • Revision ID: andrea.bernabei@canonical.com-20160209213024-txzjng3d5bewlu1l
merge staging

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    /*!
34
34
      The background color of the switch.
35
35
     */
36
 
    property color backgroundColor: styledItem.enabled ? theme.palette.normal.base : theme.palette.inactive.base
 
36
    property color backgroundColor: styledItem.enabled ? theme.palette.normal.base : theme.palette.disabled.base
37
37
 
38
38
    /*!
39
39
      The background color of the checked switch.
40
40
      */
41
 
    property color checkedBackgroundColor: styledItem.enabled ? theme.palette.normal.positive : theme.palette.inactive.base
 
41
    property color checkedBackgroundColor: styledItem.enabled ? theme.palette.normal.positive : theme.palette.disabled.base
42
42
    /*!
43
43
      The background color of the thumb.
44
44
     */
45
 
    property color thumbColor: styledItem.enabled ? theme.palette.normal.raised : theme.palette.inactive.raised
 
45
    property color thumbColor: styledItem.enabled ? theme.palette.normal.raised : theme.palette.disabled.raised
46
46
 
47
47
    FocusShape {
48
48
    }