You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2010/08/30 02:48:14 UTC

svn commit: r990677 - /pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json

Author: smartini
Date: Mon Aug 30 00:48:13 2010
New Revision: 990677

URL: http://svn.apache.org/viewvc?rev=990677&view=rev
Log:
PIVOT-579, first tests with color scheme: ubuntu-like colors

Added:
    pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json

Added: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json?rev=990677&view=auto
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json (added)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json Mon Aug 30 00:48:13 2010
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+{   font: "Verdana 11",
+
+    colors: [
+        "#3c3b37",
+        "#efebe2",
+        "#ccbfa9",
+        "#f0ebe2",
+        "#3c3b37",
+        "#b9aa95",
+        "#ffe480",
+        "#f0583d"
+    ],
+
+    messageIcons: {
+        error: "message_type-error-32x32.png",
+        warning: "message_type-warning-32x32.png",
+        question: "message_type-question-32x32.png",
+        info: "message_type-info-32x32.png"
+    },
+
+    smallMessageIcons: {
+        error: "message_type-error-16x16.png",
+        warning: "message_type-warning-16x16.png",
+        question: "message_type-question-16x16.png",
+        info: "message_type-info-16x16.png"
+    }
+}



Re: Fwd: svn commit: r990677 - /pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json

Posted by Sandro Martini <sa...@gmail.com>.
Hi to all,
just a quick note:

this work is derived from the default theme of Ubuntu Lucid (10.4) release.
Some colors are different or in different places than in ubuntu, but it's
caused by how Pivot's Terra skin uses color indexes (without change Java
code), so some differences was expected, as in other colors files.

I'm still (slowly) working on some little features that could help to have a
little more flexibility in json colors file ...

An important thing to note (tonight was too late to remember it):
in the "Kitchen Sink" Demo, note that some components override the color
they use (in the bxml file), so they still aren't using the palette color
...


In any case, this first drop was just a starting point (to discuss with
others), but after improve it maybe changing palette colors or move to
another palette index ... if someone has made some experiments, tell me,
I'll be happy to see :-) .

Thank you again,
Sandro

-- 
View this message in context: http://apache-pivot-developers.417237.n3.nabble.com/Fwd-svn-commit-r990677-pivot-trunk-wtk-terra-src-org-apache-pivot-wtk-skin-terra-TerraTheme-ubuntu-jn-tp1386346p1387960.html
Sent from the Apache Pivot - Developers mailing list archive at Nabble.com.

Re: Fwd: svn commit: r990677 - /pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json

Posted by Sandro Martini <sa...@gmail.com>.
Hi Dirk,
thanks for your comments ... but my work is (already) derived from the
default Ubuntu Lucid (10.4) release.
Some colors are different or in different places than in ubuntu, but it's
caused by how Pivot's Terra skin uses color indexes (without change Java
code), so some differences was expected, as in other colors files.

I'm still (slowly) working on some little features that could help to have a
little more flexibility in json colors file ...

An important thing to note (tonight was too late to remember it):
in the "Kitchen Sink" Demo, note that some components override the color
they use (in the bxml file), so they still aren't using the palette color
...


In any case, this first drop was just a starting point (to discuss with
others), but after improve it maybe changing palette colors or move to
another palette index ... if someone has made some experiments, tell me,
I'll be happy to see :-) .

Thank you again,
Sandro

-- 
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Fwd-svn-commit-r990677-pivot-trunk-wtk-terra-src-org-apache-pivot-wtk-skin-terra-TerraTheme-ubuntu-jn-tp1386345p1387954.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: Fwd: svn commit: r990677 - /pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json

Posted by Dirk Möbius <dm...@scoop-gmbh.de>.
Looks nice, but the colors seem to be derived from the old Human theme  
(karmic/9.10), not the new Ambiance theme which is default in  
lucid/10.4.

The button gradient is much stronger on Ubuntu, going down to a darker  
color. See attached screenshot.

Dirk.


Zitat von Sandro Martini <sa...@gmail.com>:

> Hi to all,
> I've just committed the first sample of ubuntu-like colors for Pivot
> (trunk), take a look and tell me what you think ... as always I've
> tried to stay as close as possible with the original theme.
>
> In attach inside the zip you can find sample screenshots ... note that
> TextArea doesn't use the same background color of others (so probably
> this should be fixed).
>
> As colors now we are missing only a Swing-like color combinations, I
> hope next week.
>
> Bye,
> Sandro



Fwd: svn commit: r990677 - /pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json

Posted by Sandro Martini <sa...@gmail.com>.
Hi to all,
I've just committed the first sample of ubuntu-like colors for Pivot
(trunk), take a look and tell me what you think ... as always I've
tried to stay as close as possible with the original theme.

In attach inside the zip you can find sample screenshots ... note that
TextArea doesn't use the same background color of others (so probably
this should be fixed).

As colors now we are missing only a Swing-like color combinations, I
hope next week.

Bye,
Sandro

Fwd: svn commit: r990677 - /pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json

Posted by Sandro Martini <sa...@gmail.com>.
Hi to all,
I've just committed the first sample of ubuntu-like colors for Pivot
(trunk), take a look and tell me what you think ... as always I've
tried to stay as close as possible with the original theme.

In attach inside the zip you can find sample screenshots ... note that
TextArea doesn't use the same background color of others (so probably
this should be fixed).

As colors now we are missing only a Swing-like color combinations, I
hope next week.

Bye,
Sandro