A Material theme for the Vaadin Framework 7.3+ and 8.0+
This is a Theme for the Vaadin Framework 7.3+ and 8.0+ based on the Google Material Design.
Official releases of this add-on are available at Vaadin Directory. For Maven instructions, download and reviews, go to https://vaadin.com/directory#!addon/material
git clone [email protected]:appreciated/material-design.git
mvn clean install
cd demo
mvn jetty:run
To see the demo, navigate to http://localhost:8080/
Issues for this add-on are tracked here. All bug reports and feature requests are welcome.
Contributions are welcome, but there are no guarantees that they are accepted as such. Process for contributing is the following:
The Designer won't be able to successfully compile the SCSS as long as it doesn't have access to the theme files.
To fix this you will either need to unzip the jar and copy the files to src/main/webapp/VAADIN/themes
or you could use the following maven plugin that does the job for you.
Notes:
mvn clean install
otherwise the designer and the scss compiler will continue to use the older version (since they are in the same folder).src/main/webapp/VAADIN/themes/material/
to your .gitignore
. <plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-one</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>com.github.appreciated</includeGroupIds>
<includeArtifactIds>material</includeArtifactIds>
<type>zip</type>
<excludes>*</excludes>
<includes>VAADIN/themes/**</includes>
<outputDirectory>src/main/webapp/</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
The Theme (material-addon) is mostly written by Appreciated and is distributed under Apache License 2.0. For license terms, see LICENSE.txt.
A small part in the material-addon has been taken from the Materialize Project which has been Licensed under the MIT License see MIT-LICENSE.txt.
Most of the code in the Demo (material-demo) has been written by the Vaadin Team and has been taken from here for the developement of the theme but is not included in the addon itself and is distributed under Apache License 2.0. For license terms, see also LICENSE.txt. The modified parts are also licensed under Apache License 2.0.