Merge lp:~verzegnassi-stefano/ubuntu-terminal-app/ubuntu-color-scheme into lp:~ubuntu-terminal-dev/ubuntu-terminal-app/reboot

Proposed by Stefano Verzegnassi
Status: Merged
Approved by: Niklas Wenzel
Approved revision: 163
Merged at revision: 168
Proposed branch: lp:~verzegnassi-stefano/ubuntu-terminal-app/ubuntu-color-scheme
Merge into: lp:~ubuntu-terminal-dev/ubuntu-terminal-app/reboot
Diff against target: 163 lines (+56/-21)
1 file modified
src/plugin/qmltermwidget/lib/color-schemes/Ubuntu.colorscheme (+56/-21)
To merge this branch: bzr merge lp:~verzegnassi-stefano/ubuntu-terminal-app/ubuntu-color-scheme
Reviewer Review Type Date Requested Status
Niklas Wenzel (community) Approve
Evan McIntire Approve
Alan Pope 🍺🐧🐱 πŸ¦„ (community) Approve
Jenkins Bot continuous-integration Approve
Review via email: mp+285170@code.launchpad.net

Commit message

* Fixed standard ANSI blue color in the Ubuntu color scheme (previously it was red)
* Use the official Ubuntu palette (based on the UbuntuColors singleton of UITK)

Description of the change

* Fixed standard ANSI blue color in the Ubuntu color scheme (previously it was red)
* Use the official Ubuntu palette (based on the UbuntuColors singleton of UITK)

Comparison: (left: new color scheme - right: old color scheme)
https://imgur.com/FqnT8GG

QUESTIONS:
* The background is much darker now. That's the background color used in SuruDark (UbuntuColors.jet).
  Let me know if we want to use a lighter color (e.g. the UbuntuColors.inkstone - currently used as Color0Intense)

* Should intense color be a bit lighter too?

Alternatively, I can use the color of the new app-icon as background - RGB(65, 65, 65).
Visually, it's more consistent with the current palette we're going to replace.

Alt. BG proposal - screenshot: https://imgur.com/Q0fGgY6

To post a comment you must log in.
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Tested on device and it looks great exactly as it is

http://people.canonical.com/~alan/screenshots/device-2016-02-05-135844.png

I think the background in https://imgur.com/Q0fGgY6 looks too washed-out personally.

Thanks for fixing this!

review: Approve
Revision history for this message
Evan McIntire (mcintire-evan) wrote :

Awesome change, looks great to me! Loving those comments that say where everything is from

review: Approve
Revision history for this message
Niklas Wenzel (nikwen) wrote :

The new color scheme is great! Very good job, Stefano!

I was about to merge this, but given that this isn't a minor color change, I'd love to see the old scheme still being an option to choose in the settings. We have quite a lot of themes anyway and the old one is probably better than a lot of them, at least in my opinion.

So what do you think about readding it with another name?

review: Needs Information
Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :

@Niklas: the current "Ubuntu" theme uses exactly the same palette of "DarkPastels".
The only differences are the background color[1] and the blue color (which in the Ubuntu theme is shown as red).

We could rename "Dark Pastels" as "Dark Pastels / Ubuntu (old)" (or something similar), but I don't think users will complain that the "old" Ubuntu theme does not exist anymore.

[1] Ubuntu theme: RGB(51,51,51)
    Dark Pastels theme: RGB(44,44,44)
    Visually the two colors are the same.

Revision history for this message
Niklas Wenzel (nikwen) wrote :

@Stefano: I compared them earlier today due to line 161 of the diff and it looks like those two colors confused me. However, you're right about the background color and the red/blue thing also isn't that much of an issue.

Hence, I support renaming the Dark Pastels scheme to the name you suggested.

Would you mind making this small change? We can happily merge the MP afterwards. :)

Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :

Ack... Now I realised that the name of color schemes is hard-coded. :(

We'd have to rename the color scheme file and accordingly change the schemes model in "ubuntu-terminal-app.qml". However it'd break the setting to the ones who are using the "DarkPastels" theme, since the old "DarkPastel.schema" file would not exist anymore, and the app would then revert to the default theme (not Ubuntu, but the IBM-like theme built inside the terminal plugin itself).

Adding an entry to the changelog we'll publish on the store would be much easier, I guess...

Revision history for this message
Niklas Wenzel (nikwen) wrote :

That's ugly...

Ok, so let's merge this now and I'll prepare a "proper" fix for the name.

I guess we can do it much easier by having some sort of mapping which only changes the displayed name in ColorSchemePage.qml, but doesn't change the file names. That way we can also make the scheme names translatable. :)

review: Approve
Revision history for this message
Niklas Wenzel (nikwen) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/plugin/qmltermwidget/lib/color-schemes/Ubuntu.colorscheme'
2--- src/plugin/qmltermwidget/lib/color-schemes/Ubuntu.colorscheme 2014-11-16 22:38:02 +0000
3+++ src/plugin/qmltermwidget/lib/color-schemes/Ubuntu.colorscheme 2016-02-05 10:33:19 +0000
4@@ -1,103 +1,138 @@
5+# UbuntuColors are taken from:
6+# http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/staging/view/head:/src/Ubuntu/Components/1.3/UbuntuColors.qml
7+
8+# Colors that are not included in the official palette have been generated with:
9+# http://www.color-hex.com/
10+
11+# Same as Color0 (Black)
12 [Background]
13 Bold=false
14-Color=51,51,51
15+Color=17,17,17
16 Transparency=false
17
18+# Same as Color0Intense (Black)
19 [BackgroundIntense]
20 Bold=true
21-Color=51,51,51
22+Color=59,59,59
23 Transparency=false
24
25+# Black: UbuntuColors.jet
26 [Color0]
27 Bold=false
28-Color=63,63,63
29+Color=17,17,17
30 Transparency=false
31
32+# BlackIntense: UbuntuColors.inkstone
33 [Color0Intense]
34 Bold=true
35-Color=112,144,128
36+Color=59,59,59
37 Transparency=false
38
39+# Red: UbuntuColors.red
40 [Color1]
41 Bold=false
42-Color=112,80,80
43+Color=237,49,70
44 Transparency=false
45
46+# RedIntense: a tint of UbuntuColors.red (#f05a6a)
47+# http://www.color-hex.com/color/ed3146
48 [Color1Intense]
49 Bold=true
50-Color=220,163,163
51+Color=240,90,106
52 Transparency=false
53
54+#`Green: UbuntuColors.green
55 [Color2]
56 Bold=false
57-Color=96,180,138
58+Color=62,179,79
59 Transparency=false
60
61+#`GreenIntense: a tint of UbuntuColors.green (#64c272)
62+# http://www.color-hex.com/color/3eb34f
63 [Color2Intense]
64 Bold=true
65-Color=114,213,163
66+Color=100,194,114
67 Transparency=false
68
69+# Yellow: analogous of UbuntuColors.orange (#e9b920)
70+# http://www.color-hex.com/color/e95420
71 [Color3]
72 Bold=false
73-Color=223,175,143
74+Color=223,185,32
75 Transparency=false
76
77+# YellowIntense: a tint of the yellow above (#edc74c)
78+# http://www.color-hex.com/color/e9b920
79 [Color3Intense]
80 Bold=true
81-Color=240,223,175
82+Color=237,199,76
83 Transparency=false
84
85+# Blue: UbuntuColors.blue
86 [Color4]
87 Bold=false
88-Color=220,62,16
89+Color=25,182,238
90 Transparency=false
91
92+# BlueIntense: a tint of UbuntuColors.blue (#46c4f1)
93+# http://www.color-hex.com/color/19b6ee
94 [Color4Intense]
95 Bold=true
96-Color=221,72,20
97+Color=70,196,241
98 Transparency=false
99
100+# Magenta: complementary of UbuntuColors.green (#b33ea2)
101+# http://www.color-hex.com/color/3eb34f
102 [Color5]
103 Bold=false
104-Color=220,140,195
105+Color=179,62,162
106 Transparency=false
107
108+# MagentaIntense: a tint of the magenta above (#c264b4)
109+# http://www.color-hex.com/color/b33ea2
110 [Color5Intense]
111 Bold=true
112-Color=236,147,211
113+Color=194,100,180
114 Transparency=false
115
116+# Cyan: complementary of UbuntuColors.red (#31edd8)
117+# http://www.color-hex.com/color/ed3146
118 [Color6]
119 Bold=false
120-Color=140,208,211
121+Color=49,237,216
122 Transparency=false
123
124+# CyanIntense: a tint of the cyan above (#5af0df)
125+# http://www.color-hex.com/color/31edd8
126 [Color6Intense]
127 Bold=true
128-Color=147,224,227
129+Color=90,240,223
130 Transparency=false
131
132+# White: UbuntuColors.silk
133 [Color7]
134 Bold=false
135-Color=220,220,204
136+Color=193,193,193
137 Transparency=false
138
139+# WhiteIntense: 255 - UbuntuColors.jet
140 [Color7Intense]
141 Bold=true
142-Color=255,255,255
143+Color=236,236,236
144 Transparency=false
145
146+# Same as Color7 (White)
147 [Foreground]
148 Bold=false
149-Color=220,220,204
150+Color=193,193,193
151 Transparency=false
152
153+# Same as Color7Intense (White)
154 [ForegroundIntense]
155 Bold=true
156-Color=220,220,204
157+Color=236,236,236
158 Transparency=false
159
160 [General]
161-Description=Dark Pastels
162+Description=Ubuntu
163 Opacity=1

Subscribers

People subscribed via source and target branches