Search code examples
cssgwt

How do I use standard GWT CSS style themes from non-GWT pages?


I have written an GWT app and a static Intro page that introduces the app. It is turning out to be convenient for the intro to be a separate .jsp page, rather than part of the app; however, I want the CSS styling to be the same for the app and the intro page. How do I include the same GWT CSS style for the static or .jsp page as for the GWT app?


Solution

  • For instance using the Clean css provided by gwt, defined in projectname.gwt.xml:

    <inherits name='com.google.gwt.user.theme.clean.Clean'/>
    

    Your css will be stored in:

    /projectname/gwt/clean/clean.css

    Is that what you mean?