Merge lp:~mterry/webbrowser-app/less-ubuntucolors into lp:webbrowser-app

Proposed by Michael Terry
Status: Merged
Approved by: Olivier Tilloy
Approved revision: 1458
Merged at revision: 1519
Proposed branch: lp:~mterry/webbrowser-app/less-ubuntucolors
Merge into: lp:webbrowser-app
Diff against target: 468 lines (+42/-44)
22 files modified
src/app/AlertDialog.qml (+2/-1)
src/app/AuthenticationDialog.qml (+2/-3)
src/app/BeforeUnloadDialog.qml (+2/-1)
src/app/CertificateVerificationDialog.qml (+3/-3)
src/app/ConfirmDialog.qml (+2/-1)
src/app/GeolocationPermissionRequest.qml (+2/-3)
src/app/HttpAuthenticationDialog.qml (+2/-3)
src/app/InvalidCertificateErrorSheet.qml (+2/-2)
src/app/MediaAccessDialog.qml (+1/-2)
src/app/PromptDialog.qml (+2/-3)
src/app/webbrowser/BookmarkOptions.qml (+2/-2)
src/app/webbrowser/BookmarksFoldersViewWide.qml (+2/-2)
src/app/webbrowser/DownloadDelegate.qml (+2/-2)
src/app/webbrowser/HistorySectionDelegate.qml (+2/-2)
src/app/webbrowser/HistoryViewWide.qml (+1/-1)
src/app/webbrowser/IndeterminateProgressBar.qml (+2/-2)
src/app/webbrowser/LeavePrivateModeDialog.qml (+2/-2)
src/app/webbrowser/SadTab.qml (+2/-2)
src/app/webbrowser/SettingsPage.qml (+1/-1)
src/app/webbrowser/UrlDelegate.qml (+2/-2)
src/app/webbrowser/UrlDelegateWide.qml (+2/-2)
src/app/webcontainer/SadPage.qml (+2/-2)
To merge this branch: bzr merge lp:~mterry/webbrowser-app/less-ubuntucolors
Reviewer Review Type Date Requested Status
system-apps-ci-bot continuous-integration Approve
Olivier Tilloy Approve
Review via email: mp+295412@code.launchpad.net

Commit message

Use less hard-coded colors in favor of theme colors.

- We were using some off-brand colors like "green" instead of UbuntuColors.green. Which are now fixed to the theme 'positive' color in this branch anyway.
- We were using a lot of orange in places we shouldn't (mostly for recommended buttons, some selected states, and in one place for a progress indicator).
- We were frequently specifying the color of a neutral button, but never the same way twice (coolGrey, warmGrey, lightGrey). No need, the default button color should be fine.
- And I fixed a few of the instances of UbuntuColors.darkGrey for text to appropriate theme colors.

Description of the change

There are still a lot of UbuntuColor.darkGrey instances sitting out there (which is now more properly called UbuntuColors.slate, or backgroundSecondaryText in the normal theme). And a lot of hardcoded "#xxxxxx"! But I didn't deal with all of it, since I'm not super familiar with the code base.

And I left the "this page is bookmarked" icon fill color as UbuntuColors.orange. That was a unique-enough case that I wasn't sure what would be appropriate there.

To post a comment you must log in.
Revision history for this message
Olivier Tilloy (osomon) wrote :

Those changes look good, thanks Michael for taking some time to apply them. A couple of minor comments:

The OK button in src/app/ConfirmDialog.qml should have an explicit color of theme.palette.normal.positive, for consistency. And probably src/app/AlertDialog.qml too.
Not sure what should be done with src/app/BeforeUnloadDialog.qml.

In the history and bookmarks views (wide layout), the color of the current date/folder in the left column when it doesn’t have active focus should be 'selected.backgroundText' instead of 'normal.positionText', according to https://docs.google.com/presentation/d/1Sgf536u5LgKgl41x7xeEeo-XibEEPQZ_phugEArwvec/edit?ts=5728be0d#slide=id.g12f5d7958f_0_92 (that visual design update hasn’t been implemented yet, I’ll get to it soon, but since you’re changing some colors now, I reckon it would be better to use the updated ones now).

Could you please update the dates in the copyright headers for files that were changed?

1458. By Michael Terry

Add a few more button colors and update copyright years

Revision history for this message
Michael Terry (mterry) wrote :

- Made the OK button green in ConfirmDialog and AlertDialog.

- Looking at BeforeUnloadDialog, I thought it made sense to make "Leave" red and keep "Stay" grey. Let me know if you don't like this.

- For the history/bookmark views... at least in the current theme shipped today, selected.backgroundText is the same as normal.backgroundText: UbuntuColors.jet. Maybe that's a bug with the theme...? But I don't think positionText is so wrong. It's supposed to be "applied to navigation elements to indicate current position" (from PaletteValues.qml). And it's the color used in the toolkit's SectionsStyle.qml to indicate which header section is active. So maybe that spec is out of date? I think positionText is a relatively new palette option.

- Updated copyrights.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Looks good to me, and your point about positionText makes sense to me.

review: Approve
Revision history for this message
system-apps-ci-bot (system-apps-ci-bot) wrote :

PASSED: Continuous integration, rev:1458
https://jenkins.canonical.com/system-apps/job/lp-webbrowser-app-ci/579/
Executed test runs:
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build/950
    SUCCESS: https://jenkins.canonical.com/system-apps/job/test-0-autopkgtest/label=phone-armhf,release=vivid+overlay,testname=default/167
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-0-fetch/950
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-1-sourcepkg/release=vivid+overlay/855
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-1-sourcepkg/release=xenial+overlay/855
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-1-sourcepkg/release=yakkety/855
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=vivid+overlay/852
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=vivid+overlay/852/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=xenial+overlay/852
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=xenial+overlay/852/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=yakkety/852
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=amd64,release=yakkety/852/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=vivid+overlay/852
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=vivid+overlay/852/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=xenial+overlay/852
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=xenial+overlay/852/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=yakkety/852
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=armhf,release=yakkety/852/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=vivid+overlay/852
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=vivid+overlay/852/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=xenial+overlay/852
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=xenial+overlay/852/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=yakkety/852
        deb: https://jenkins.canonical.com/system-apps/job/build-2-binpkg/arch=i386,release=yakkety/852/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://jenkins.canonical.com/system-apps/job/lp-webbrowser-app-ci/579/rebuild

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/AlertDialog.qml'
2--- src/app/AlertDialog.qml 2015-08-10 15:22:00 +0000
3+++ src/app/AlertDialog.qml 2016-05-23 13:25:57 +0000
4@@ -1,5 +1,5 @@
5 /*
6- * Copyright 2013-2015 Canonical Ltd.
7+ * Copyright 2013-2016 Canonical Ltd.
8 *
9 * This file is part of webbrowser-app.
10 *
11@@ -24,6 +24,7 @@
12
13 Button {
14 text: i18n.tr("OK")
15+ color: theme.palette.normal.positive
16 onClicked: model.accept()
17 }
18 }
19
20=== modified file 'src/app/AuthenticationDialog.qml'
21--- src/app/AuthenticationDialog.qml 2015-08-10 15:22:00 +0000
22+++ src/app/AuthenticationDialog.qml 2016-05-23 13:25:57 +0000
23@@ -1,5 +1,5 @@
24 /*
25- * Copyright 2013-2015 Canonical Ltd.
26+ * Copyright 2013-2016 Canonical Ltd.
27 *
28 * This file is part of webbrowser-app.
29 *
30@@ -45,13 +45,12 @@
31
32 Button {
33 text: i18n.tr("OK")
34- color: "green"
35+ color: theme.palette.normal.positive
36 onClicked: accept()
37 }
38
39 Button {
40 text: i18n.tr("Cancel")
41- color: UbuntuColors.coolGrey
42 onClicked: model.reject()
43 }
44
45
46=== modified file 'src/app/BeforeUnloadDialog.qml'
47--- src/app/BeforeUnloadDialog.qml 2015-08-10 15:22:00 +0000
48+++ src/app/BeforeUnloadDialog.qml 2016-05-23 13:25:57 +0000
49@@ -1,5 +1,5 @@
50 /*
51- * Copyright 2014-2015 Canonical Ltd.
52+ * Copyright 2014-2016 Canonical Ltd.
53 *
54 * This file is part of webbrowser-app.
55 *
56@@ -24,6 +24,7 @@
57
58 Button {
59 text: i18n.tr("Leave")
60+ color: theme.palette.normal.negative
61 onClicked: model.accept()
62 }
63
64
65=== modified file 'src/app/CertificateVerificationDialog.qml'
66--- src/app/CertificateVerificationDialog.qml 2015-08-10 15:22:00 +0000
67+++ src/app/CertificateVerificationDialog.qml 2016-05-23 13:25:57 +0000
68@@ -1,5 +1,5 @@
69 /*
70- * Copyright 2013-2015 Canonical Ltd.
71+ * Copyright 2013-2016 Canonical Ltd.
72 *
73 * This file is part of webbrowser-app.
74 *
75@@ -27,13 +27,13 @@
76
77 Button {
78 text: i18n.tr("Proceed anyway")
79- color: "red"
80+ color: theme.palette.normal.negative
81 onClicked: model.accept()
82 }
83
84 Button {
85 text: i18n.tr("Back to safety")
86- color: "green"
87+ color: theme.palette.normal.positive
88 onClicked: model.reject()
89 }
90
91
92=== modified file 'src/app/ConfirmDialog.qml'
93--- src/app/ConfirmDialog.qml 2015-08-10 15:22:00 +0000
94+++ src/app/ConfirmDialog.qml 2016-05-23 13:25:57 +0000
95@@ -1,5 +1,5 @@
96 /*
97- * Copyright 2013-2015 Canonical Ltd.
98+ * Copyright 2013-2016 Canonical Ltd.
99 *
100 * This file is part of webbrowser-app.
101 *
102@@ -24,6 +24,7 @@
103
104 Button {
105 text: i18n.tr("OK")
106+ color: theme.palette.normal.positive
107 onClicked: model.accept()
108 }
109
110
111=== modified file 'src/app/GeolocationPermissionRequest.qml'
112--- src/app/GeolocationPermissionRequest.qml 2015-09-29 13:09:26 +0000
113+++ src/app/GeolocationPermissionRequest.qml 2016-05-23 13:25:57 +0000
114@@ -1,5 +1,5 @@
115 /*
116- * Copyright 2014-2015 Canonical Ltd.
117+ * Copyright 2014-2016 Canonical Ltd.
118 *
119 * This file is part of webbrowser-app.
120 *
121@@ -31,7 +31,6 @@
122 Button {
123 objectName: "deny"
124 text: i18n.tr("Deny")
125- color: UbuntuColors.warmGrey
126 onClicked: {
127 request.deny()
128 PopupUtils.close(dialog)
129@@ -41,7 +40,7 @@
130 Button {
131 objectName: "allow"
132 text: i18n.tr("Allow")
133- color: UbuntuColors.orange
134+ color: theme.palette.normal.positive
135 onClicked: {
136 request.allow()
137 PopupUtils.close(dialog)
138
139=== modified file 'src/app/HttpAuthenticationDialog.qml'
140--- src/app/HttpAuthenticationDialog.qml 2015-08-12 16:11:24 +0000
141+++ src/app/HttpAuthenticationDialog.qml 2016-05-23 13:25:57 +0000
142@@ -1,5 +1,5 @@
143 /*
144- * Copyright 2015 Canonical Ltd.
145+ * Copyright 2015-2016 Canonical Ltd.
146 *
147 * This file is part of webbrowser-app.
148 *
149@@ -57,7 +57,7 @@
150 Button {
151 objectName: "allow"
152 text: i18n.tr("OK")
153- color: UbuntuColors.green
154+ color: theme.palette.normal.positive
155 onClicked: {
156 request.allow(usernameInput.text, passwordInput.text)
157 PopupUtils.close(dialog)
158@@ -67,7 +67,6 @@
159 Button {
160 objectName: "deny"
161 text: i18n.tr("Cancel")
162- color: UbuntuColors.coolGrey
163 onClicked: {
164 request.deny()
165 PopupUtils.close(dialog)
166
167=== modified file 'src/app/InvalidCertificateErrorSheet.qml'
168--- src/app/InvalidCertificateErrorSheet.qml 2015-08-10 15:22:00 +0000
169+++ src/app/InvalidCertificateErrorSheet.qml 2016-05-23 13:25:57 +0000
170@@ -1,5 +1,5 @@
171 /*
172- * Copyright 2014-2015 Canonical Ltd.
173+ * Copyright 2014-2016 Canonical Ltd.
174 *
175 * This file is part of webbrowser-app.
176 *
177@@ -175,7 +175,7 @@
178 certificateError.deny()
179 denied()
180 }
181- color: UbuntuColors.orange
182+ color: theme.palette.normal.positive
183 }
184 }
185 }
186
187=== modified file 'src/app/MediaAccessDialog.qml'
188--- src/app/MediaAccessDialog.qml 2016-04-08 17:05:47 +0000
189+++ src/app/MediaAccessDialog.qml 2016-05-23 13:25:57 +0000
190@@ -70,7 +70,7 @@
191 Button {
192 objectName: "mediaAccessDialog.allowButton"
193 text: i18n.tr("Yes")
194- color: UbuntuColors.green
195+ color: theme.palette.normal.positive
196 width: units.gu(10)
197 onClicked: {
198 request.allow()
199@@ -81,7 +81,6 @@
200 Button {
201 objectName: "mediaAccessDialog.denyButton"
202 text: i18n.tr("No")
203- color: UbuntuColors.lightGrey
204 width: units.gu(10)
205 onClicked: {
206 request.deny()
207
208=== modified file 'src/app/PromptDialog.qml'
209--- src/app/PromptDialog.qml 2015-08-10 15:22:00 +0000
210+++ src/app/PromptDialog.qml 2016-05-23 13:25:57 +0000
211@@ -1,5 +1,5 @@
212 /*
213- * Copyright 2013-2015 Canonical Ltd.
214+ * Copyright 2013-2016 Canonical Ltd.
215 *
216 * This file is part of webbrowser-app.
217 *
218@@ -30,13 +30,12 @@
219
220 Button {
221 text: i18n.tr("OK")
222- color: "green"
223+ color: theme.palette.normal.positive
224 onClicked: model.accept(input.text)
225 }
226
227 Button {
228 text: i18n.tr("Cancel")
229- color: UbuntuColors.coolGrey
230 onClicked: model.reject()
231 }
232
233
234=== modified file 'src/app/webbrowser/BookmarkOptions.qml'
235--- src/app/webbrowser/BookmarkOptions.qml 2016-02-17 18:27:31 +0000
236+++ src/app/webbrowser/BookmarkOptions.qml 2016-05-23 13:25:57 +0000
237@@ -99,7 +99,7 @@
238 objectName: "bookmarkOptions.okButton"
239 anchors.right: parent.right
240 text: i18n.tr("OK")
241- color: UbuntuColors.green
242+ color: theme.palette.normal.positive
243 onClicked: bookmarkOptions.destroy()
244 }
245 }
246@@ -152,7 +152,7 @@
247 }
248 text: i18n.tr("Save")
249 enabled: folderTextField.text
250- color: UbuntuColors.green
251+ color: theme.palette.normal.positive
252 // Button took focus on press what makes the keyboard be
253 // dismissed and that could make the Button moves between the
254 // press and the release. Button onClicked is not triggered
255
256=== modified file 'src/app/webbrowser/BookmarksFoldersViewWide.qml'
257--- src/app/webbrowser/BookmarksFoldersViewWide.qml 2016-04-15 11:27:13 +0000
258+++ src/app/webbrowser/BookmarksFoldersViewWide.qml 2016-05-23 13:25:57 +0000
259@@ -90,7 +90,7 @@
260 readonly property bool isAllBookmarksFolder: folder.length === 0
261 readonly property bool isCurrentDropTarget: dropArea.containsDrag && dropArea.drag.source.folder !== folder
262
263- color: isCurrentDropTarget ? "green" : "transparent"
264+ color: isCurrentDropTarget ? theme.palette.normal.positive : "transparent"
265
266 Label {
267 anchors {
268@@ -103,7 +103,7 @@
269
270 fontSize: "small"
271 text: isAllBookmarksFolder ? i18n.tr("All Bookmarks") : folderItem.name
272- color: (isActiveFolder && !folders.activeFocus) ? UbuntuColors.orange : UbuntuColors.darkGrey
273+ color: (isActiveFolder && !folders.activeFocus) ? theme.palette.normal.positionText : theme.palette.normal.backgroundSecondaryText
274 }
275
276 onClicked: folders.currentIndex = index
277
278=== modified file 'src/app/webbrowser/DownloadDelegate.qml'
279--- src/app/webbrowser/DownloadDelegate.qml 2016-02-01 12:06:20 +0000
280+++ src/app/webbrowser/DownloadDelegate.qml 2016-05-23 13:25:57 +0000
281@@ -145,7 +145,7 @@
282 height: width
283 anchors.verticalCenter: parent.verticalCenter
284 name: "dialog-warning-symbolic"
285- color: UbuntuColors.red
286+ color: theme.palette.normal.negative
287 }
288
289 Label {
290@@ -154,7 +154,7 @@
291 anchors.leftMargin: units.gu(1)
292 anchors.verticalCenter: errorIcon.verticalCenter
293 fontSize: "x-small"
294- color: UbuntuColors.red
295+ color: theme.palette.normal.negative
296 text: errorMessage !== "" ? errorMessage
297 : (incomplete && download === undefined) ? i18n.tr("Download failed")
298 : ""
299
300=== modified file 'src/app/webbrowser/HistorySectionDelegate.qml'
301--- src/app/webbrowser/HistorySectionDelegate.qml 2015-08-11 14:56:25 +0000
302+++ src/app/webbrowser/HistorySectionDelegate.qml 2016-05-23 13:25:57 +0000
303@@ -1,5 +1,5 @@
304 /*
305- * Copyright 2014-2015 Canonical Ltd.
306+ * Copyright 2014-2016 Canonical Ltd.
307 *
308 * This file is part of webbrowser-app.
309 *
310@@ -52,7 +52,7 @@
311 }
312
313 fontSize: "small"
314- color: UbuntuColors.darkGrey
315+ color: theme.palette.normal.backgroundSecondaryText
316 }
317
318 ListItem.ThinDivider {
319
320=== modified file 'src/app/webbrowser/HistoryViewWide.qml'
321--- src/app/webbrowser/HistoryViewWide.qml 2016-05-05 11:11:01 +0000
322+++ src/app/webbrowser/HistoryViewWide.qml 2016-05-23 13:25:57 +0000
323@@ -254,7 +254,7 @@
324 }
325
326 fontSize: "small"
327- color: (!lastVisitDateListView.activeFocus && lastVisitDateDelegate.ListView.isCurrentItem) ? UbuntuColors.orange : UbuntuColors.darkGrey
328+ color: (!lastVisitDateListView.activeFocus && lastVisitDateDelegate.ListView.isCurrentItem) ? theme.palette.normal.positionText : theme.palette.normal.backgroundSecondaryText
329 }
330
331 onClicked: ListView.view.currentIndex = index
332
333=== modified file 'src/app/webbrowser/IndeterminateProgressBar.qml'
334--- src/app/webbrowser/IndeterminateProgressBar.qml 2015-10-01 11:33:36 +0000
335+++ src/app/webbrowser/IndeterminateProgressBar.qml 2016-05-23 13:25:57 +0000
336@@ -1,5 +1,5 @@
337 /*
338- * Copyright 2015 Canonical Ltd.
339+ * Copyright 2015-2016 Canonical Ltd.
340 *
341 * This file is part of webbrowser-app.
342 *
343@@ -35,7 +35,7 @@
344 anchors.left: parent.left
345 anchors.leftMargin: 0
346 anchors.top: parent.top
347- color: UbuntuColors.orange
348+ color: theme.palette.normal.activity
349 width: indeterminateProgress ? parent.width / 6 : (progress / 100) * parent.width
350
351 SequentialAnimation {
352
353=== modified file 'src/app/webbrowser/LeavePrivateModeDialog.qml'
354--- src/app/webbrowser/LeavePrivateModeDialog.qml 2015-08-10 15:22:00 +0000
355+++ src/app/webbrowser/LeavePrivateModeDialog.qml 2016-05-23 13:25:57 +0000
356@@ -1,5 +1,5 @@
357 /*
358- * Copyright 2015 Canonical Ltd.
359+ * Copyright 2015-2016 Canonical Ltd.
360 *
361 * This file is part of webbrowser-app.
362 *
363@@ -37,7 +37,7 @@
364 objectName: "leavePrivateModeDialog.okButton"
365 anchors { left: parent.left; right: parent.right }
366 text: i18n.tr("OK")
367- color: UbuntuColors.green
368+ color: theme.palette.normal.positive
369 onClicked: okButtonClicked()
370 }
371 }
372
373=== modified file 'src/app/webbrowser/SadTab.qml'
374--- src/app/webbrowser/SadTab.qml 2015-09-29 19:31:47 +0000
375+++ src/app/webbrowser/SadTab.qml 2016-05-23 13:25:57 +0000
376@@ -1,5 +1,5 @@
377 /*
378- * Copyright 2015 Canonical Ltd.
379+ * Copyright 2015-2016 Canonical Ltd.
380 *
381 * This file is part of webbrowser-app.
382 *
383@@ -84,7 +84,7 @@
384 Button {
385 objectName: "reloadButton"
386 text: i18n.tr("Reload")
387- color: UbuntuColors.green
388+ color: theme.palette.normal.positive
389 onClicked: webview.reload()
390 }
391 }
392
393=== modified file 'src/app/webbrowser/SettingsPage.qml'
394--- src/app/webbrowser/SettingsPage.qml 2016-05-04 10:30:57 +0000
395+++ src/app/webbrowser/SettingsPage.qml 2016-05-23 13:25:57 +0000
396@@ -263,7 +263,7 @@
397 objectName: "privacyConfirmDialog.confirmButton"
398 width: (parent.width - parent.spacing) / 2
399 text: i18n.tr("Clear")
400- color: UbuntuColors.green
401+ color: theme.palette.normal.positive
402 onClicked: {
403 confirmed()
404 PopupUtils.close(privacyConfirmDialog)
405
406=== modified file 'src/app/webbrowser/UrlDelegate.qml'
407--- src/app/webbrowser/UrlDelegate.qml 2016-03-01 11:22:35 +0000
408+++ src/app/webbrowser/UrlDelegate.qml 2016-05-23 13:25:57 +0000
409@@ -68,7 +68,7 @@
410 right: parent.right
411 }
412 fontSize: "x-small"
413- color: UbuntuColors.darkGrey
414+ color: theme.palette.normal.backgroundSecondaryText
415 wrapMode: Text.Wrap
416 elide: Text.ElideRight
417 maximumLineCount: 1
418@@ -81,7 +81,7 @@
419 right: parent.right
420 }
421 fontSize: "xx-small"
422- color: UbuntuColors.darkGrey
423+ color: theme.palette.normal.backgroundTertiaryText
424 wrapMode: Text.Wrap
425 elide: Text.ElideRight
426 maximumLineCount: 1
427
428=== modified file 'src/app/webbrowser/UrlDelegateWide.qml'
429--- src/app/webbrowser/UrlDelegateWide.qml 2016-01-28 16:48:27 +0000
430+++ src/app/webbrowser/UrlDelegateWide.qml 2016-05-23 13:25:57 +0000
431@@ -54,7 +54,7 @@
432 id: title
433
434 fontSize: "x-small"
435- color: UbuntuColors.darkGrey
436+ color: theme.palette.normal.backgroundSecondaryText
437 wrapMode: Text.Wrap
438 elide: Text.ElideRight
439 maximumLineCount: 1
440@@ -64,7 +64,7 @@
441 id: url
442
443 fontSize: "xx-small"
444- color: UbuntuColors.darkGrey
445+ color: theme.palette.normal.backgroundTertiaryText
446 wrapMode: Text.Wrap
447 elide: Text.ElideRight
448 maximumLineCount: 1
449
450=== modified file 'src/app/webcontainer/SadPage.qml'
451--- src/app/webcontainer/SadPage.qml 2015-09-29 20:14:51 +0000
452+++ src/app/webcontainer/SadPage.qml 2016-05-23 13:25:57 +0000
453@@ -1,5 +1,5 @@
454 /*
455- * Copyright 2015 Canonical Ltd.
456+ * Copyright 2015-2016 Canonical Ltd.
457 *
458 * This file is part of webbrowser-app.
459 *
460@@ -49,7 +49,7 @@
461 anchors.horizontalCenter: parent.horizontalCenter
462 objectName: "reloadButton"
463 text: i18n.tr("Reload")
464- color: UbuntuColors.green
465+ color: theme.palette.normal.positive
466 onClicked: webview.reload()
467 }
468 }

Subscribers

People subscribed via source and target branches

to status/vote changes: