From 0c17d92cdabda92d345b1c1c968a2a7bbe88aed2 Mon Sep 17 00:00:00 2001 From: Tarja Sundqvist Date: Wed, 17 Sep 2014 15:14:14 +0300 Subject: Update used colors on basis of the recommended color palette. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit qtdeclarative/examples/quick/animation uses some colors which are not mentioned on the recommended color palette. They are replaced with recommended colors. Task-number: QTBUG-41368 Change-Id: I6f07340735333c5da319fdc59ecf8aa7388ad2a5 Reviewed-by: Topi Reiniƶ --- examples/quick/animation/basics/animators.qml | 8 ++++---- examples/quick/animation/basics/color-animation.qml | 14 +++++++------- examples/quick/animation/basics/property-animation.qml | 8 ++++---- 3 files changed, 15 insertions(+), 15 deletions(-) (limited to 'examples/quick/animation/basics') diff --git a/examples/quick/animation/basics/animators.qml b/examples/quick/animation/basics/animators.qml index 3454eca13c..df1bd55be7 100644 --- a/examples/quick/animation/basics/animators.qml +++ b/examples/quick/animation/basics/animators.qml @@ -48,10 +48,10 @@ Item { Rectangle { anchors.fill: parent gradient: Gradient { - GradientStop { position: 0.0; color: "DeepSkyBlue" } - GradientStop { position: 0.499; color: "LightSkyBlue" } - GradientStop { position: 0.5; color: "ForestGreen" } - GradientStop { position: 1.0; color: "DarkGreen" } + GradientStop { position: 0.0; color: "#14148c" } + GradientStop { position: 0.499; color: "#14aaff" } + GradientStop { position: 0.5; color: "#80c342" } + GradientStop { position: 1.0; color: "#006325" } } } diff --git a/examples/quick/animation/basics/color-animation.qml b/examples/quick/animation/basics/color-animation.qml index 0de4177a9f..a4a149df5c 100644 --- a/examples/quick/animation/basics/color-animation.qml +++ b/examples/quick/animation/basics/color-animation.qml @@ -54,16 +54,16 @@ Item { position: 0.0 SequentialAnimation on color { loops: Animation.Infinite - ColorAnimation { from: "DeepSkyBlue"; to: "#0E1533"; duration: 5000 } - ColorAnimation { from: "#0E1533"; to: "DeepSkyBlue"; duration: 5000 } + ColorAnimation { from: "#14148c"; to: "#0E1533"; duration: 5000 } + ColorAnimation { from: "#0E1533"; to: "#14148c"; duration: 5000 } } } GradientStop { position: 1.0 SequentialAnimation on color { loops: Animation.Infinite - ColorAnimation { from: "SkyBlue"; to: "#437284"; duration: 5000 } - ColorAnimation { from: "#437284"; to: "SkyBlue"; duration: 5000 } + ColorAnimation { from: "#14aaff"; to: "#437284"; duration: 5000 } + ColorAnimation { from: "#437284"; to: "#14aaff"; duration: 5000 } } } } @@ -113,11 +113,11 @@ Item { position: 0.0 SequentialAnimation on color { loops: Animation.Infinite - ColorAnimation { from: "ForestGreen"; to: "#001600"; duration: 5000 } - ColorAnimation { from: "#001600"; to: "ForestGreen"; duration: 5000 } + ColorAnimation { from: "#80c342"; to: "#001600"; duration: 5000 } + ColorAnimation { from: "#001600"; to: "#80c342"; duration: 5000 } } } - GradientStop { position: 1.0; color: "DarkGreen" } + GradientStop { position: 1.0; color: "#006325" } } } } diff --git a/examples/quick/animation/basics/property-animation.qml b/examples/quick/animation/basics/property-animation.qml index ae808ba2fe..d237bb1f87 100644 --- a/examples/quick/animation/basics/property-animation.qml +++ b/examples/quick/animation/basics/property-animation.qml @@ -48,8 +48,8 @@ Item { Rectangle { anchors { left: parent.left; top: parent.top; right: parent.right; bottom: parent.verticalCenter } gradient: Gradient { - GradientStop { position: 0.0; color: "DeepSkyBlue" } - GradientStop { position: 1.0; color: "LightSkyBlue" } + GradientStop { position: 0.0; color: "#14148c" } + GradientStop { position: 1.0; color: "#14aaff" } } } @@ -57,8 +57,8 @@ Item { Rectangle { anchors { left: parent.left; top: parent.verticalCenter; right: parent.right; bottom: parent.bottom } gradient: Gradient { - GradientStop { position: 0.0; color: "ForestGreen" } - GradientStop { position: 1.0; color: "DarkGreen" } + GradientStop { position: 0.0; color: "#80c342" } + GradientStop { position: 1.0; color: "#006325" } } } -- cgit v1.2.3