diff --git a/src/main/java/org/vaadin/java_pwa/MyUI.java b/src/main/java/org/vaadin/java_pwa/MyUI.java index 0d99eb1..6af400d 100644 --- a/src/main/java/org/vaadin/java_pwa/MyUI.java +++ b/src/main/java/org/vaadin/java_pwa/MyUI.java @@ -10,7 +10,8 @@ import org.apache.commons.io.IOUtils; import org.vaadin.leif.headertags.HeaderTagHandler; import org.vaadin.leif.headertags.Link; -import org.vaadin.leif.headertags.LinkTags; +import org.vaadin.leif.headertags.Meta; +import org.vaadin.leif.headertags.MetaTags; import com.vaadin.annotations.JavaScript; import com.vaadin.annotations.Theme; @@ -38,6 +39,10 @@ */ @Theme("mytheme") @JavaScript("vaadin://js/app.js") +@MetaTags({ + @Meta(name="viewport", content="width=device-width, initial-scale=1"), + @Meta(name="theme-color", content="#00b4f0") +}) @Link(rel="manifest", href="VAADIN/manifest.json") public class MyUI extends UI {