diff options
author | elmot <elmot@vaadin.com> | 2016-03-29 17:17:08 +0300 |
---|---|---|
committer | elmot <elmot@vaadin.com> | 2016-03-30 13:47:18 +0300 |
commit | e86bee0354b90d1db6d50eb7257b28101dab743e (patch) | |
tree | e8f29a81555e409caa5197083588ddd8edc4e4fe /widgets/src/main | |
parent | 1482d63643f3d03a7fa887a5de7cc251b1313a11 (diff) | |
download | vaadin-framework-e86bee0354b90d1db6d50eb7257b28101dab743e.tar.gz vaadin-framework-e86bee0354b90d1db6d50eb7257b28101dab743e.zip |
Build widgets with maven
Change-Id: I4ffe710a330e863737561d1c9d2e6f46c3d32c95
Diffstat (limited to 'widgets/src/main')
-rw-r--r-- | widgets/src/main/java/com/vaadin/themes/valoutil/BodyStyleName.java | 13 | ||||
-rw-r--r-- | widgets/src/main/resources/com/vaadin/themes/Valo.gwt.xml | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/widgets/src/main/java/com/vaadin/themes/valoutil/BodyStyleName.java b/widgets/src/main/java/com/vaadin/themes/valoutil/BodyStyleName.java new file mode 100644 index 0000000000..73a01b6fd2 --- /dev/null +++ b/widgets/src/main/java/com/vaadin/themes/valoutil/BodyStyleName.java @@ -0,0 +1,13 @@ +package com.vaadin.themes.valoutil; + +import com.google.gwt.core.client.EntryPoint; +import com.google.gwt.dom.client.Document; + +public class BodyStyleName implements EntryPoint { + + @Override + public void onModuleLoad() { + Document.get().getBody().addClassName("valo"); + } + +} diff --git a/widgets/src/main/resources/com/vaadin/themes/Valo.gwt.xml b/widgets/src/main/resources/com/vaadin/themes/Valo.gwt.xml new file mode 100644 index 0000000000..d9e0f6ab73 --- /dev/null +++ b/widgets/src/main/resources/com/vaadin/themes/Valo.gwt.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.7.0//EN" + "http://gwtproject.org/doctype/2.7.0/gwt-module.dtd"> +<module> + <entry-point class='com.vaadin.themes.valoutil.BodyStyleName' /> + <source path='valoutil' /> + <public path="public" /> + <stylesheet src="valo/styles.css" /> +</module> |