We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.server.themeutils.
Class SASSAddonImportFileCreator
- java.lang.Object
-
- com.vaadin.server.themeutils.SASSAddonImportFileCreator
-
public class SASSAddonImportFileCreator extends Object
Helper class for managing the addon imports and creating an a SCSS file for importing all your addon themes. The helper method searches the classpath for Vaadin addons and uses the 'Vaadin-Themes' metadata to create the imports.
The addons.scss is always overwritten when this tool is invoked.
Since:
7.1
-
-
Constructor Summary
Constructors Constructor Description SASSAddonImportFileCreator()
-
Method Summary
All Methods Modifier and Type Method Description static void
main(String[] args)
static void
updateTheme(String themeDirectory)
Updates a themes addons.scss with the addon themes found on the classpath.
-
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException
Parameters:
args
- Theme directory where the addons.scss file should be createdThrows:
-
updateTheme
public static void updateTheme(String themeDirectory) throws IOException
Updates a themes addons.scss with the addon themes found on the classpath.
Parameters:
themeDirectory
- The target theme directoryThrows:
-
-