flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Customization of MDL colors from pom, use the tool at https://getmdl.io/customize/index.html
Date Thu, 01 Dec 2016 23:01:10 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 94ed1a5f3 -> ff5b3bd1c


Customization of MDL colors from pom, use the tool at https://getmdl.io/customize/index.html


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ff5b3bd1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ff5b3bd1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ff5b3bd1

Branch: refs/heads/develop
Commit: ff5b3bd1cbf97b4d50f32e772fd9037dbc4c7dba
Parents: 94ed1a5
Author: Carlos Rovira <carlosrovira@apache.org>
Authored: Fri Dec 2 00:01:07 2016 +0100
Committer: Carlos Rovira <carlosrovira@apache.org>
Committed: Fri Dec 2 00:01:07 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/MDLExample/pom.xml              |  7 +++--
 .../src/main/resources/index_maven.html         | 33 --------------------
 .../main/resources/mdl-js-index-template.html   |  2 +-
 3 files changed, 5 insertions(+), 37 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff5b3bd1/examples/flexjs/MDLExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/pom.xml b/examples/flexjs/MDLExample/pom.xml
index fc97d01..6272e76 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -35,8 +35,9 @@
   <name>Apache Flex - FlexJS: Examples: FlexJS: MDLExample</name>
 
   <properties>
-    <primary>cyan</primary>
-    <accent>red</accent>
+    <!-- Customize MDL colors using this the tool at : https://getmdl.io/customize/index.html
-->
+    <primary>indigo</primary>
+    <accent>pink</accent>
   </properties>
 
   <build>
@@ -54,7 +55,7 @@
         <extensions>true</extensions>
         <configuration>
           <mainClass>App.mxml</mainClass>
-          <htmlTemplate>${basedir}/src/main/resources/mdl-js-index-template.html</htmlTemplate>
+          <htmlTemplate>${basedir}/target/javascript/bin/js-debug/mdl-js-index-template.html</htmlTemplate>
           <additionalCompilerOptions>-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css</additionalCompilerOptions>
         </configuration>
       </plugin>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff5b3bd1/examples/flexjs/MDLExample/src/main/resources/index_maven.html
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/resources/index_maven.html b/examples/flexjs/MDLExample/src/main/resources/index_maven.html
deleted file mode 100644
index 62cbf70..0000000
--- a/examples/flexjs/MDLExample/src/main/resources/index_maven.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!--
-  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.
--->
-<!DOCTYPE html>
-<html>
-<head>
-	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-	<meta name="Custom Template for injecting custom style CSS">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"">
-	<link rel="stylesheet" type="text/css" href="${application}.css">
-  <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
-  <link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.${primary}-${accent}.min.css">
-  <script defer src="https://code.getmdl.io/1.2.1/material.min.js"></script>
-${head}
-</head>
-<body>
-${body}
-</body>
-</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff5b3bd1/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html b/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
index e2f646d..62cbf70 100644
--- a/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
+++ b/examples/flexjs/MDLExample/src/main/resources/mdl-js-index-template.html
@@ -23,7 +23,7 @@
   <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"">
 	<link rel="stylesheet" type="text/css" href="${application}.css">
   <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
-  <link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css">
+  <link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.${primary}-${accent}.min.css">
   <script defer src="https://code.getmdl.io/1.2.1/material.min.js"></script>
 ${head}
 </head>


Mime
View raw message