aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/src
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/src')
-rw-r--r--widgets/src/com/vaadin/themes/Valo.gwt.xml9
-rw-r--r--widgets/src/com/vaadin/themes/valoutil/BodyStyleName.java13
2 files changed, 22 insertions, 0 deletions
diff --git a/widgets/src/com/vaadin/themes/Valo.gwt.xml b/widgets/src/com/vaadin/themes/Valo.gwt.xml
new file mode 100644
index 0000000000..7c58d61ecf
--- /dev/null
+++ b/widgets/src/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="valo" />
+ <stylesheet src="styles.css" />
+</module>
diff --git a/widgets/src/com/vaadin/themes/valoutil/BodyStyleName.java b/widgets/src/com/vaadin/themes/valoutil/BodyStyleName.java
new file mode 100644
index 0000000000..73a01b6fd2
--- /dev/null
+++ b/widgets/src/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");
+ }
+
+}