You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2018/07/03 21:34:39 UTC

[royale-asjs] branch develop updated: Add MDL theme

This is an automated email from the ASF dual-hosted git repository.

piotrz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new a8f9d48  Add MDL theme
a8f9d48 is described below

commit a8f9d4805336d93136a6cbc83bf71a0aa39cd002
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Tue Jul 3 23:34:32 2018 +0200

    Add MDL theme
---
 .../{Basic/pom.xml.releaseBackup => MDL/pom.xml}   |  8 ++---
 frameworks/themes/MDL/src/defaults.css             | 34 ++++++++++++++++++++++
 2 files changed, 38 insertions(+), 4 deletions(-)

diff --git a/frameworks/themes/Basic/pom.xml.releaseBackup b/frameworks/themes/MDL/pom.xml
similarity index 90%
rename from frameworks/themes/Basic/pom.xml.releaseBackup
rename to frameworks/themes/MDL/pom.xml
index d86b27b..234a5f5 100644
--- a/frameworks/themes/Basic/pom.xml.releaseBackup
+++ b/frameworks/themes/MDL/pom.xml
@@ -26,11 +26,11 @@
     <version>0.9.3-SNAPSHOT</version>
   </parent>
 
-  <artifactId>BasicTheme</artifactId>
+  <artifactId>MDLTheme</artifactId>
   <version>0.9.3-SNAPSHOT</version>
   <packaging>swc</packaging>
 
-  <name>Apache Royale: Framework: Themes: Basic</name>
+  <name>Apache Royale: Framework: Themes: MDL</name>
 
   <build>
     <sourceDirectory>src</sourceDirectory>
@@ -43,8 +43,8 @@
         <configuration>
           <includeFiles>
             <include-file>
-              <name>basic.css</name>
-              <path>../src/basic.css</path>
+              <name>defaults.css</name>
+              <path>../src/defaults.css</path>
             </include-file>
           </includeFiles>
         </configuration>
diff --git a/frameworks/themes/MDL/src/defaults.css b/frameworks/themes/MDL/src/defaults.css
new file mode 100644
index 0000000..27b77cc
--- /dev/null
+++ b/frameworks/themes/MDL/src/defaults.css
@@ -0,0 +1,34 @@
+/*
+ *
+ *  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.
+ *
+ */
+
+@namespace "library://ns.apache.org/royale/mdl";
+
+Button
+{
+}
+
+Button:hover
+{
+
+}
+
+Button:active
+{
+
+}
\ No newline at end of file