-
Notifications
You must be signed in to change notification settings - Fork 7
Installation
appreciated edited this page Nov 15, 2017
·
27 revisions
<dependency>
<groupId>com.github.appreciated</groupId>
<artifactId>material</artifactId>
<version>1.1.5</version>
</dependency>
Console
mvn install
located at <Project Path>/src/main/webapp/VAADIN/themes/<mytheme>/<mytheme>.scss)
Note: You can remove the Valo import since the Material Theme includes it anyways
$mat-background-color: #fafafa; // #fafafa for a light and #303030 for a dark theme
$v-focus-color: #00BCD4;
// (You can find colors at materialpalette.com) $v-focus-color is supposed to be your accent color
@import "../material/material.scss";
@mixin mytheme {
@include material;
// Insert your own theme rules here
}
Console
mvn vaadin:compile-theme