Merge lp:~mterry/reminders-app/no-ubuntucolors into lp:reminders-app
- no-ubuntucolors
- Merge into trunk
Proposed by
Michael Terry
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Zanetti | ||||
Approved revision: | 563 | ||||
Merged at revision: | 565 | ||||
Proposed branch: | lp:~mterry/reminders-app/no-ubuntucolors | ||||
Merge into: | lp:reminders-app | ||||
Diff against target: |
327 lines (+25/-34) 16 files modified
src/app/qml/Reminders.qml (+3/-5) src/app/qml/components/BouncingProgressBar.qml (+1/-1) src/app/qml/components/EditTagsDialog.qml (+4/-6) src/app/qml/components/ListItemWithActions.qml (+5/-6) src/app/qml/components/NoteHeader.qml (+1/-1) src/app/qml/components/NotebooksDelegate.qml (+0/-1) src/app/qml/components/NotesDelegate.qml (+0/-1) src/app/qml/components/PageWithBottomEdge.qml (+2/-2) src/app/qml/components/RemindersDelegate.qml (+0/-1) src/app/qml/components/ResolveConflictConfirmationDialog.qml (+2/-2) src/app/qml/components/RtfButton.qml (+1/-1) src/app/qml/components/TagsDelegate.qml (+0/-1) src/app/qml/ui/AccountSelectorPage.qml (+1/-1) src/app/qml/ui/EditNoteView.qml (+1/-1) src/app/qml/ui/NoteView.qml (+2/-2) src/app/qml/ui/SetReminderView.qml (+2/-2) |
||||
To merge this branch: | bzr merge lp:~mterry/reminders-app/no-ubuntucolors | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jenkins Bot | continuous-integration | Approve | |
Alan Pope πΊπ§π± π¦ (community) | Approve | ||
Review via email: mp+295460@code.launchpad.net |
Commit message
Use theme colors instead of hard-coded ones.
Description of the change
Use theme colors instead of hard-coded ones.
To post a comment you must log in.
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) : | # |
review:
Approve
(continuous-integration)
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'src/app/qml/Reminders.qml' | |||
2 | --- src/app/qml/Reminders.qml 2016-04-30 20:03:57 +0000 | |||
3 | +++ src/app/qml/Reminders.qml 2016-05-23 12:37:55 +0000 | |||
4 | @@ -515,7 +515,7 @@ | |||
5 | 515 | shown: text | 515 | shown: text |
6 | 516 | text: EvernoteConnection.error || NotesStore.error | 516 | text: EvernoteConnection.error || NotesStore.error |
7 | 517 | iconName: "sync-error" | 517 | iconName: "sync-error" |
9 | 518 | iconColor: UbuntuColors.red | 518 | iconColor: theme.palette.normal.negative |
10 | 519 | showCancelButton: true | 519 | showCancelButton: true |
11 | 520 | 520 | ||
12 | 521 | onCancel: { | 521 | onCancel: { |
13 | @@ -737,7 +737,7 @@ | |||
14 | 737 | Button { | 737 | Button { |
15 | 738 | objectName: "openAccountButton" | 738 | objectName: "openAccountButton" |
16 | 739 | text: i18n.tr("Set Upβ¦") | 739 | text: i18n.tr("Set Upβ¦") |
18 | 740 | color: UbuntuColors.green | 740 | color: theme.palette.normal.positive |
19 | 741 | onClicked: setup.exec() | 741 | onClicked: setup.exec() |
20 | 742 | Layout.fillWidth: true | 742 | Layout.fillWidth: true |
21 | 743 | } | 743 | } |
22 | @@ -763,17 +763,15 @@ | |||
23 | 763 | Button { | 763 | Button { |
24 | 764 | text: i18n.tr("Create new note") | 764 | text: i18n.tr("Create new note") |
25 | 765 | onClicked: importDialog.accepted(true) | 765 | onClicked: importDialog.accepted(true) |
27 | 766 | color: UbuntuColors.green | 766 | color: theme.palette.normal.positive |
28 | 767 | } | 767 | } |
29 | 768 | Button { | 768 | Button { |
30 | 769 | text: i18n.tr("Attach to existing note") | 769 | text: i18n.tr("Attach to existing note") |
31 | 770 | onClicked: importDialog.accepted(false); | 770 | onClicked: importDialog.accepted(false); |
32 | 771 | color: UbuntuColors.blue | ||
33 | 772 | } | 771 | } |
34 | 773 | Button { | 772 | Button { |
35 | 774 | text: i18n.tr("Cancel import") | 773 | text: i18n.tr("Cancel import") |
36 | 775 | onClicked: importDialog.rejected(); | 774 | onClicked: importDialog.rejected(); |
37 | 776 | color: UbuntuColors.red | ||
38 | 777 | } | 775 | } |
39 | 778 | } | 776 | } |
40 | 779 | } | 777 | } |
41 | 780 | 778 | ||
42 | === modified file 'src/app/qml/components/BouncingProgressBar.qml' | |||
43 | --- src/app/qml/components/BouncingProgressBar.qml 2015-09-15 14:50:55 +0000 | |||
44 | +++ src/app/qml/components/BouncingProgressBar.qml 2016-05-23 12:37:55 +0000 | |||
45 | @@ -28,7 +28,7 @@ | |||
46 | 28 | Rectangle { | 28 | Rectangle { |
47 | 29 | id: rectangle | 29 | id: rectangle |
48 | 30 | anchors.fill: parent | 30 | anchors.fill: parent |
50 | 31 | color: UbuntuColors.orange | 31 | color: theme.palette.normal.activity |
51 | 32 | visible: animation.running // Avoid to show the orange bar before animation starts | 32 | visible: animation.running // Avoid to show the orange bar before animation starts |
52 | 33 | } | 33 | } |
53 | 34 | 34 | ||
54 | 35 | 35 | ||
55 | === modified file 'src/app/qml/components/EditTagsDialog.qml' | |||
56 | --- src/app/qml/components/EditTagsDialog.qml 2016-04-30 16:34:08 +0000 | |||
57 | +++ src/app/qml/components/EditTagsDialog.qml 2016-05-23 12:37:55 +0000 | |||
58 | @@ -98,9 +98,9 @@ | |||
59 | 98 | top: textField.bottom | 98 | top: textField.bottom |
60 | 99 | right: textField.right | 99 | right: textField.right |
61 | 100 | } | 100 | } |
63 | 101 | color: "white" | 101 | color: theme.palette.normal.background |
64 | 102 | border.width: units.dp(1) | 102 | border.width: units.dp(1) |
66 | 103 | border.color: "black" | 103 | border.color: theme.palette.normal.backgroundText |
67 | 104 | height: Math.min(5, tagsListView.count) * units.gu(4) | 104 | height: Math.min(5, tagsListView.count) * units.gu(4) |
68 | 105 | visible: (textField.text.length > 0 || textField.inputMethodComposing) && (textField.focus || tagsListView.focus) | 105 | visible: (textField.text.length > 0 || textField.inputMethodComposing) && (textField.focus || tagsListView.focus) |
69 | 106 | 106 | ||
70 | @@ -121,7 +121,7 @@ | |||
71 | 121 | property bool used: root.note ? root.note.tagGuids.indexOf(model.guid) !== -1 : false | 121 | property bool used: root.note ? root.note.tagGuids.indexOf(model.guid) !== -1 : false |
72 | 122 | Label { | 122 | Label { |
73 | 123 | text: model.name | 123 | text: model.name |
75 | 124 | color: textField.text === model.name ? UbuntuColors.orange : "black" | 124 | color: textField.text === model.name ? theme.palette.normal.positionText : theme.palette.normal.backgroundText |
76 | 125 | Layout.fillHeight: true | 125 | Layout.fillHeight: true |
77 | 126 | Layout.fillWidth: true | 126 | Layout.fillWidth: true |
78 | 127 | } | 127 | } |
79 | @@ -144,7 +144,7 @@ | |||
80 | 144 | Button { | 144 | Button { |
81 | 145 | id: okButton | 145 | id: okButton |
82 | 146 | text: i18n.tr("OK") | 146 | text: i18n.tr("OK") |
84 | 147 | color: UbuntuColors.orange | 147 | color: theme.palette.normal.positive |
85 | 148 | enabled: textField.text.replace(/\s+/g, '') !== '' || textField.inputMethodComposing === true; // Not only whitespaces! | 148 | enabled: textField.text.replace(/\s+/g, '') !== '' || textField.inputMethodComposing === true; // Not only whitespaces! |
86 | 149 | onClicked: textField.accept() | 149 | onClicked: textField.accept() |
87 | 150 | } | 150 | } |
88 | @@ -197,8 +197,6 @@ | |||
89 | 197 | Layout.preferredWidth: parent.width - units.gu(2) | 197 | Layout.preferredWidth: parent.width - units.gu(2) |
90 | 198 | Layout.alignment: Qt.AlignHCenter | 198 | Layout.alignment: Qt.AlignHCenter |
91 | 199 | 199 | ||
92 | 200 | color: UbuntuColors.orange | ||
93 | 201 | |||
94 | 202 | text: i18n.tr("Close") | 200 | text: i18n.tr("Close") |
95 | 203 | 201 | ||
96 | 204 | onClicked: { | 202 | onClicked: { |
97 | 205 | 203 | ||
98 | === modified file 'src/app/qml/components/ListItemWithActions.qml' | |||
99 | --- src/app/qml/components/ListItemWithActions.qml 2015-09-15 14:50:55 +0000 | |||
100 | +++ src/app/qml/components/ListItemWithActions.qml 2016-05-23 12:37:55 +0000 | |||
101 | @@ -29,9 +29,8 @@ | |||
102 | 29 | property Action activeAction: null | 29 | property Action activeAction: null |
103 | 30 | property var activeItem: null | 30 | property var activeItem: null |
104 | 31 | property bool triggerActionOnMouseRelease: false | 31 | property bool triggerActionOnMouseRelease: false |
108 | 32 | property color color: Theme.palette.normal.background | 32 | property color color: theme.palette.normal.background |
109 | 33 | property color selectedColor: "#E6E6E6" | 33 | property color selectedRightActionColor: theme.palette.normal.positive |
107 | 34 | property color selectedRightActionColor: UbuntuColors.lightAubergine | ||
110 | 35 | property bool selected: false | 34 | property bool selected: false |
111 | 36 | property bool selectionMode: false | 35 | property bool selectionMode: false |
112 | 37 | property alias showDivider: divider.visible | 36 | property alias showDivider: divider.visible |
113 | @@ -185,7 +184,7 @@ | |||
114 | 185 | } | 184 | } |
115 | 186 | width: root.leftActionWidth + actionThreshold | 185 | width: root.leftActionWidth + actionThreshold |
116 | 187 | visible: leftSideAction | 186 | visible: leftSideAction |
118 | 188 | color: UbuntuColors.red | 187 | color: theme.palette.normal.negative |
119 | 189 | 188 | ||
120 | 190 | Icon { | 189 | Icon { |
121 | 191 | anchors { | 190 | anchors { |
122 | @@ -193,7 +192,7 @@ | |||
123 | 193 | horizontalCenterOffset: actionThreshold / 2 | 192 | horizontalCenterOffset: actionThreshold / 2 |
124 | 194 | } | 193 | } |
125 | 195 | name: leftSideAction && _showActions ? leftSideAction.iconName : "" | 194 | name: leftSideAction && _showActions ? leftSideAction.iconName : "" |
127 | 196 | color: Theme.palette.selected.field | 195 | color: theme.palette.normal.negativeText |
128 | 197 | height: units.gu(3) | 196 | height: units.gu(3) |
129 | 198 | width: units.gu(3) | 197 | width: units.gu(3) |
130 | 199 | } | 198 | } |
131 | @@ -244,7 +243,7 @@ | |||
132 | 244 | height: units.gu(3) | 243 | height: units.gu(3) |
133 | 245 | source: modelData.iconSource ? modelData.iconSource : '' | 244 | source: modelData.iconSource ? modelData.iconSource : '' |
134 | 246 | name: modelData.iconName ? modelData.iconName : '' | 245 | name: modelData.iconName ? modelData.iconName : '' |
136 | 247 | color: root.activeAction === modelData || !root.triggerActionOnMouseRelease ? root.selectedRightActionColor : UbuntuColors.lightGrey | 246 | color: root.activeAction === modelData || !root.triggerActionOnMouseRelease ? root.selectedRightActionColor : theme.palette.normal.backgroundSecondaryText |
137 | 248 | } | 247 | } |
138 | 249 | Rectangle { | 248 | Rectangle { |
139 | 250 | id: underscore | 249 | id: underscore |
140 | 251 | 250 | ||
141 | === modified file 'src/app/qml/components/NoteHeader.qml' | |||
142 | --- src/app/qml/components/NoteHeader.qml 2015-11-02 20:26:37 +0000 | |||
143 | +++ src/app/qml/components/NoteHeader.qml 2016-05-23 12:37:55 +0000 | |||
144 | @@ -117,7 +117,7 @@ | |||
145 | 117 | iconName: root.note && root.note.reminder ? "reminder" : "reminder-new" | 117 | iconName: root.note && root.note.reminder ? "reminder" : "reminder-new" |
146 | 118 | height: parent.height | 118 | height: parent.height |
147 | 119 | width: height | 119 | width: height |
149 | 120 | iconColor: root.note && note.reminder ? UbuntuColors.blue : Qt.rgba(0.0, 0.0, 0.0, 0.0) | 120 | iconColor: root.note && note.reminder ? theme.palette.normal.positive : Qt.rgba(0.0, 0.0, 0.0, 0.0) |
150 | 121 | visible: index == notebookSelector.selectedIndex | 121 | visible: index == notebookSelector.selectedIndex |
151 | 122 | onClicked: { | 122 | onClicked: { |
152 | 123 | Qt.inputMethod.hide(); | 123 | Qt.inputMethod.hide(); |
153 | 124 | 124 | ||
154 | === modified file 'src/app/qml/components/NotebooksDelegate.qml' | |||
155 | --- src/app/qml/components/NotebooksDelegate.qml 2015-09-15 14:50:55 +0000 | |||
156 | +++ src/app/qml/components/NotebooksDelegate.qml 2016-05-23 12:37:55 +0000 | |||
157 | @@ -39,7 +39,6 @@ | |||
158 | 39 | } | 39 | } |
159 | 40 | } | 40 | } |
160 | 41 | 41 | ||
161 | 42 | selectedRightActionColor: UbuntuColors.green | ||
162 | 43 | triggerActionOnMouseRelease: true | 42 | triggerActionOnMouseRelease: true |
163 | 44 | rightSideActions: [ | 43 | rightSideActions: [ |
164 | 45 | Action { | 44 | Action { |
165 | 46 | 45 | ||
166 | === modified file 'src/app/qml/components/NotesDelegate.qml' | |||
167 | --- src/app/qml/components/NotesDelegate.qml 2016-04-28 15:53:23 +0000 | |||
168 | +++ src/app/qml/components/NotesDelegate.qml 2016-05-23 12:37:55 +0000 | |||
169 | @@ -56,7 +56,6 @@ | |||
170 | 56 | } | 56 | } |
171 | 57 | } | 57 | } |
172 | 58 | 58 | ||
173 | 59 | selectedRightActionColor: UbuntuColors.green | ||
174 | 60 | triggerActionOnMouseRelease: true | 59 | triggerActionOnMouseRelease: true |
175 | 61 | rightSideActions: root.conflicting ? conflictActions : enabledRightSideActions | 60 | rightSideActions: root.conflicting ? conflictActions : enabledRightSideActions |
176 | 62 | property list<Action> conflictActions: [ | 61 | property list<Action> conflictActions: [ |
177 | 63 | 62 | ||
178 | === modified file 'src/app/qml/components/PageWithBottomEdge.qml' | |||
179 | --- src/app/qml/components/PageWithBottomEdge.qml 2015-09-15 14:50:55 +0000 | |||
180 | +++ src/app/qml/components/PageWithBottomEdge.qml 2016-05-23 12:37:55 +0000 | |||
181 | @@ -165,7 +165,7 @@ | |||
182 | 165 | visible: bottomEdgeLabelVisible | 165 | visible: bottomEdgeLabelVisible |
183 | 166 | 166 | ||
184 | 167 | z: 1 | 167 | z: 1 |
186 | 168 | color: Theme.palette.normal.background | 168 | color: theme.palette.normal.background |
187 | 169 | parent: page | 169 | parent: page |
188 | 170 | anchors { | 170 | anchors { |
189 | 171 | left: parent.left | 171 | left: parent.left |
190 | @@ -205,7 +205,7 @@ | |||
191 | 205 | 205 | ||
192 | 206 | width: tipLabel.paintedWidth + units.gu(6) | 206 | width: tipLabel.paintedWidth + units.gu(6) |
193 | 207 | height: bottomEdge.tipHeight + units.gu(1) | 207 | height: bottomEdge.tipHeight + units.gu(1) |
195 | 208 | color: Theme.palette.normal.overlay | 208 | color: theme.palette.normal.overlay |
196 | 209 | Label { | 209 | Label { |
197 | 210 | id: tipLabel | 210 | id: tipLabel |
198 | 211 | 211 | ||
199 | 212 | 212 | ||
200 | === modified file 'src/app/qml/components/RemindersDelegate.qml' | |||
201 | --- src/app/qml/components/RemindersDelegate.qml 2015-09-15 14:50:55 +0000 | |||
202 | +++ src/app/qml/components/RemindersDelegate.qml 2016-05-23 12:37:55 +0000 | |||
203 | @@ -41,7 +41,6 @@ | |||
204 | 41 | } | 41 | } |
205 | 42 | } | 42 | } |
206 | 43 | 43 | ||
207 | 44 | selectedRightActionColor: UbuntuColors.green | ||
208 | 45 | triggerActionOnMouseRelease: true | 44 | triggerActionOnMouseRelease: true |
209 | 46 | rightSideActions: [ | 45 | rightSideActions: [ |
210 | 47 | Action { | 46 | Action { |
211 | 48 | 47 | ||
212 | === modified file 'src/app/qml/components/ResolveConflictConfirmationDialog.qml' | |||
213 | --- src/app/qml/components/ResolveConflictConfirmationDialog.qml 2015-09-15 14:50:55 +0000 | |||
214 | +++ src/app/qml/components/ResolveConflictConfirmationDialog.qml 2016-05-23 12:37:55 +0000 | |||
215 | @@ -55,7 +55,7 @@ | |||
216 | 55 | 55 | ||
217 | 56 | Button { | 56 | Button { |
218 | 57 | text: i18n.tr("Yes") | 57 | text: i18n.tr("Yes") |
220 | 58 | color: UbuntuColors.green | 58 | color: theme.palette.normal.positive |
221 | 59 | onClicked: { | 59 | onClicked: { |
222 | 60 | root.accepted(); | 60 | root.accepted(); |
223 | 61 | PopupUtils.close(root); | 61 | PopupUtils.close(root); |
224 | @@ -64,7 +64,7 @@ | |||
225 | 64 | 64 | ||
226 | 65 | Button { | 65 | Button { |
227 | 66 | text: i18n.tr("No") | 66 | text: i18n.tr("No") |
229 | 67 | color: UbuntuColors.red | 67 | color: theme.palette.normal.negative |
230 | 68 | onClicked: { | 68 | onClicked: { |
231 | 69 | root.rejected(); | 69 | root.rejected(); |
232 | 70 | PopupUtils.close(root) | 70 | PopupUtils.close(root) |
233 | 71 | 71 | ||
234 | === modified file 'src/app/qml/components/RtfButton.qml' | |||
235 | --- src/app/qml/components/RtfButton.qml 2015-09-15 14:50:55 +0000 | |||
236 | +++ src/app/qml/components/RtfButton.qml 2016-05-23 12:37:55 +0000 | |||
237 | @@ -48,7 +48,7 @@ | |||
238 | 48 | 48 | ||
239 | 49 | Rectangle { | 49 | Rectangle { |
240 | 50 | anchors.fill: parent | 50 | anchors.fill: parent |
242 | 51 | color: UbuntuColors.darkGrey | 51 | color: theme.palette.normal.backgroundSecondaryText |
243 | 52 | opacity: root.active || mouseArea.pressed ? 0.2 : 0 | 52 | opacity: root.active || mouseArea.pressed ? 0.2 : 0 |
244 | 53 | } | 53 | } |
245 | 54 | 54 | ||
246 | 55 | 55 | ||
247 | === modified file 'src/app/qml/components/TagsDelegate.qml' | |||
248 | --- src/app/qml/components/TagsDelegate.qml 2015-09-15 14:50:55 +0000 | |||
249 | +++ src/app/qml/components/TagsDelegate.qml 2016-05-23 12:37:55 +0000 | |||
250 | @@ -37,7 +37,6 @@ | |||
251 | 37 | } | 37 | } |
252 | 38 | } | 38 | } |
253 | 39 | 39 | ||
254 | 40 | selectedRightActionColor: UbuntuColors.green | ||
255 | 41 | triggerActionOnMouseRelease: true | 40 | triggerActionOnMouseRelease: true |
256 | 42 | rightSideActions: [ | 41 | rightSideActions: [ |
257 | 43 | Action { | 42 | Action { |
258 | 44 | 43 | ||
259 | === modified file 'src/app/qml/ui/AccountSelectorPage.qml' | |||
260 | --- src/app/qml/ui/AccountSelectorPage.qml 2015-09-15 14:50:55 +0000 | |||
261 | +++ src/app/qml/ui/AccountSelectorPage.qml 2016-05-23 12:37:55 +0000 | |||
262 | @@ -89,7 +89,7 @@ | |||
263 | 89 | anchors.horizontalCenter: parent.horizontalCenter | 89 | anchors.horizontalCenter: parent.horizontalCenter |
264 | 90 | width: parent.width - units.gu(2) | 90 | width: parent.width - units.gu(2) |
265 | 91 | text: i18n.tr("Add new account") | 91 | text: i18n.tr("Add new account") |
267 | 92 | color: UbuntuColors.orange | 92 | color: theme.palette.normal.positive |
268 | 93 | onClicked: root.oaSetup.exec() | 93 | onClicked: root.oaSetup.exec() |
269 | 94 | } | 94 | } |
270 | 95 | } | 95 | } |
271 | 96 | 96 | ||
272 | === modified file 'src/app/qml/ui/EditNoteView.qml' | |||
273 | --- src/app/qml/ui/EditNoteView.qml 2016-04-30 16:34:08 +0000 | |||
274 | +++ src/app/qml/ui/EditNoteView.qml 2016-05-23 12:37:55 +0000 | |||
275 | @@ -603,7 +603,7 @@ | |||
276 | 603 | // TRANSLATORS: Button to close the edit mode | 603 | // TRANSLATORS: Button to close the edit mode |
277 | 604 | text: i18n.tr("Close") | 604 | text: i18n.tr("Close") |
278 | 605 | height: parent.height | 605 | height: parent.height |
280 | 606 | iconColor: UbuntuColors.green | 606 | iconColor: theme.palette.normal.positive |
281 | 607 | onClicked: { | 607 | onClicked: { |
282 | 608 | forceActiveFocus(); | 608 | forceActiveFocus(); |
283 | 609 | saveNote(); | 609 | saveNote(); |
284 | 610 | 610 | ||
285 | === modified file 'src/app/qml/ui/NoteView.qml' | |||
286 | --- src/app/qml/ui/NoteView.qml 2016-04-30 16:34:08 +0000 | |||
287 | +++ src/app/qml/ui/NoteView.qml 2016-05-23 12:37:55 +0000 | |||
288 | @@ -149,7 +149,7 @@ | |||
289 | 149 | // TRANSLATORS: Button to close the note viewer | 149 | // TRANSLATORS: Button to close the note viewer |
290 | 150 | text: i18n.tr("Close") | 150 | text: i18n.tr("Close") |
291 | 151 | height: parent.height | 151 | height: parent.height |
293 | 152 | iconColor: UbuntuColors.green | 152 | iconColor: theme.palette.normal.positive |
294 | 153 | visible: root.canClose | 153 | visible: root.canClose |
295 | 154 | onClicked: { | 154 | onClicked: { |
296 | 155 | pageStack.pop() | 155 | pageStack.pop() |
297 | @@ -171,7 +171,7 @@ | |||
298 | 171 | // TRANSLATORS: Button to go from note viewer to note editor | 171 | // TRANSLATORS: Button to go from note viewer to note editor |
299 | 172 | text: i18n.tr("Edit") | 172 | text: i18n.tr("Edit") |
300 | 173 | height: parent.height | 173 | height: parent.height |
302 | 174 | iconColor: UbuntuColors.green | 174 | iconColor: theme.palette.normal.positive |
303 | 175 | onClicked: { | 175 | onClicked: { |
304 | 176 | root.editNote() | 176 | root.editNote() |
305 | 177 | } | 177 | } |
306 | 178 | 178 | ||
307 | === modified file 'src/app/qml/ui/SetReminderView.qml' | |||
308 | --- src/app/qml/ui/SetReminderView.qml 2015-09-15 14:50:55 +0000 | |||
309 | +++ src/app/qml/ui/SetReminderView.qml 2016-05-23 12:37:55 +0000 | |||
310 | @@ -75,7 +75,7 @@ | |||
311 | 75 | // TRANSLATORS: Button that deletes a reminder | 75 | // TRANSLATORS: Button that deletes a reminder |
312 | 76 | text: i18n.tr("Delete") | 76 | text: i18n.tr("Delete") |
313 | 77 | Layout.fillWidth: true | 77 | Layout.fillWidth: true |
315 | 78 | color: UbuntuColors.red | 78 | color: theme.palette.normal.negative |
316 | 79 | onClicked: { | 79 | onClicked: { |
317 | 80 | note.reminder = false; | 80 | note.reminder = false; |
318 | 81 | NotesStore.saveNote(note.guid); | 81 | NotesStore.saveNote(note.guid); |
319 | @@ -86,7 +86,7 @@ | |||
320 | 86 | Layout.fillWidth: true | 86 | Layout.fillWidth: true |
321 | 87 | // TRANSLATORS: Button that saves a reminder | 87 | // TRANSLATORS: Button that saves a reminder |
322 | 88 | text: i18n.tr("Save") | 88 | text: i18n.tr("Save") |
324 | 89 | color: UbuntuColors.green | 89 | color: theme.palette.normal.positive |
325 | 90 | onClicked: { | 90 | onClicked: { |
326 | 91 | note.reminder = true; | 91 | note.reminder = true; |
327 | 92 | var date = datePicker.date | 92 | var date = datePicker.date |
LGTM!