Merge lp:~zsombi/ubuntu-ui-toolkit/focusedValueSet into lp:ubuntu-ui-toolkit/staging

Proposed by Zsombor Egri
Status: Merged
Merged at revision: 1878
Proposed branch: lp:~zsombi/ubuntu-ui-toolkit/focusedValueSet
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 97 lines (+17/-7)
7 files modified
components.api (+1/-0)
examples/ubuntu-ui-toolkit-gallery/Colors.qml (+1/-1)
src/Ubuntu/Components/Themes/1.3/Palette.qml (+5/-0)
src/Ubuntu/Components/Themes/Ambiance/1.3/AmbianceSelected.qml (+1/-3)
src/Ubuntu/Components/Themes/Ambiance/1.3/Palette.qml (+4/-0)
src/Ubuntu/Components/Themes/SuruDark/1.3/Palette.qml (+4/-0)
src/Ubuntu/Components/Themes/SuruDark/1.3/SuruDarkSelected.qml (+1/-3)
To merge this branch: bzr merge lp:~zsombi/ubuntu-ui-toolkit/focusedValueSet
Reviewer Review Type Date Requested Status
Ubuntu SDK team Pending
Review via email: mp+287499@code.launchpad.net

Commit message

Introducing focused valueset.
-= IN PROGRESS =-

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'components.api'
--- components.api 2016-02-24 13:18:49 +0000
+++ components.api 2016-02-29 17:24:05 +0000
@@ -862,6 +862,7 @@
862 property PaletteValues selected862 property PaletteValues selected
863Ubuntu.Components.Themes.Palette 1.3: QtObject863Ubuntu.Components.Themes.Palette 1.3: QtObject
864 property PaletteValues disabled864 property PaletteValues disabled
865 property PaletteValues focused
865 property PaletteValues highlighted866 property PaletteValues highlighted
866 property PaletteValues normal867 property PaletteValues normal
867 property PaletteValues selected868 property PaletteValues selected
868869
=== modified file 'examples/ubuntu-ui-toolkit-gallery/Colors.qml'
--- examples/ubuntu-ui-toolkit-gallery/Colors.qml 2016-02-25 15:03:52 +0000
+++ examples/ubuntu-ui-toolkit-gallery/Colors.qml 2016-02-29 17:24:05 +0000
@@ -29,7 +29,7 @@
29 className: "Palette"29 className: "Palette"
30 documentation: "qml-palette.html"30 documentation: "qml-palette.html"
3131
32 property var palettes: ["normal", "disabled", "selected", "selectedDisabled", "highlighted"]32 property var palettes: ["normal", "disabled", "selected", "selectedDisabled", "highlighted", "focused"]
33 property var paletteValues: [["background", ["backgroundText", "backgroundSecondaryText", "backgroundTertiaryText"]],33 property var paletteValues: [["background", ["backgroundText", "backgroundSecondaryText", "backgroundTertiaryText"]],
34 ["base", ["baseText"]],34 ["base", ["baseText"]],
35 ["foreground", ["foregroundText"]],35 ["foreground", ["foregroundText"]],
3636
=== modified file 'src/Ubuntu/Components/Themes/1.3/Palette.qml'
--- src/Ubuntu/Components/Themes/1.3/Palette.qml 2016-01-27 15:17:56 +0000
+++ src/Ubuntu/Components/Themes/1.3/Palette.qml 2016-02-29 17:24:05 +0000
@@ -66,6 +66,11 @@
66 property PaletteValues selected: PaletteValues{}66 property PaletteValues selected: PaletteValues{}
6767
68 /*!68 /*!
69 Color palette to use when the widget is in focused state.
70 */
71 property PaletteValues focused: PaletteValues{}
72
73 /*!
69 Color palette to use when the widget is selected and disabled.74 Color palette to use when the widget is selected and disabled.
70 \since Ubuntu.Components.Themes 1.375 \since Ubuntu.Components.Themes 1.3
71 */76 */
7277
=== modified file 'src/Ubuntu/Components/Themes/Ambiance/1.3/AmbianceSelected.qml'
--- src/Ubuntu/Components/Themes/Ambiance/1.3/AmbianceSelected.qml 2016-01-25 14:26:32 +0000
+++ src/Ubuntu/Components/Themes/Ambiance/1.3/AmbianceSelected.qml 2016-02-29 17:24:05 +0000
@@ -19,9 +19,7 @@
1919
20AmbianceNormal {20AmbianceNormal {
21 background: UbuntuColors.porcelain21 background: UbuntuColors.porcelain
22 backgroundText: UbuntuColors.blue
23 backgroundTertiaryText: UbuntuColors.blue
24 base: UbuntuColors.ash22 base: UbuntuColors.ash
25 baseText: UbuntuColors.blue
26 foreground: UbuntuColors.ash23 foreground: UbuntuColors.ash
24 overlay: UbuntuColors.porcelain
27}25}
2826
=== modified file 'src/Ubuntu/Components/Themes/Ambiance/1.3/Palette.qml'
--- src/Ubuntu/Components/Themes/Ambiance/1.3/Palette.qml 2016-01-27 15:17:56 +0000
+++ src/Ubuntu/Components/Themes/Ambiance/1.3/Palette.qml 2016-02-29 17:24:05 +0000
@@ -56,4 +56,8 @@
56 base: UbuntuColors.jet56 base: UbuntuColors.jet
57 foreground: UbuntuColors.silk57 foreground: UbuntuColors.silk
58 }58 }
59
60 focused: AmbianceNormal {
61 background: Qt.rgba(UbuntuColors.blue.r, UbuntuColors.blue.g, UbuntuColors.blue.b, 0.2)
62 }
59}63}
6064
=== modified file 'src/Ubuntu/Components/Themes/SuruDark/1.3/Palette.qml'
--- src/Ubuntu/Components/Themes/SuruDark/1.3/Palette.qml 2016-01-27 15:17:56 +0000
+++ src/Ubuntu/Components/Themes/SuruDark/1.3/Palette.qml 2016-02-29 17:24:05 +0000
@@ -58,5 +58,9 @@
58 base: UbuntuColors.graphite58 base: UbuntuColors.graphite
59 foreground: UbuntuColors.slate59 foreground: UbuntuColors.slate
60 }60 }
61
62 focused: SuruDarkNormal {
63 background: Qt.rgba(UbuntuColors.blue.r, UbuntuColors.blue.g, UbuntuColors.blue.b, 0.4)
64 }
61}65}
62//![0]66//![0]
6367
=== modified file 'src/Ubuntu/Components/Themes/SuruDark/1.3/SuruDarkSelected.qml'
--- src/Ubuntu/Components/Themes/SuruDark/1.3/SuruDarkSelected.qml 2016-01-25 14:26:32 +0000
+++ src/Ubuntu/Components/Themes/SuruDark/1.3/SuruDarkSelected.qml 2016-02-29 17:24:05 +0000
@@ -20,10 +20,8 @@
2020
21SuruDarkNormal {21SuruDarkNormal {
22 background: UbuntuColors.inkstone22 background: UbuntuColors.inkstone
23 backgroundText: UbuntuColors.blue
24 backgroundTertiaryText: UbuntuColors.blue
25 base: UbuntuColors.ash23 base: UbuntuColors.ash
26 baseText:UbuntuColors.blue
27 foreground: UbuntuColors.slate24 foreground: UbuntuColors.slate
25 overlay: UbuntuColors.slate
28}26}
2927

Subscribers

People subscribed via source and target branches