-
-
Save jasonlemay/e95afe2278617f6db81d to your computer and use it in GitHub Desktop.
Managing your CSS (GSS) files with variables and a theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/main/java/com/company/project/client/resources/AppResources.java | |
package com.company.project.client.resources; | |
import com.google.gwt.resources.client.ClientBundle; | |
import com.google.gwt.resources.client.CssResource; | |
public interface AppResources extends ClientBundle { | |
interface Style extends CssResource { | |
// Your classes here | |
} | |
// We only need to source the theme file | |
@Source({"css/theme.gss", | |
"css/style.gss"}) | |
Style style(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment