Skip to content
Gwt Material Design Themes for https://github.com/GwtMaterialDesign/gwt-material
CSS Other
  1. CSS 99.1%
  2. Other 0.9%
Branch: master
Clone or download
Latest commit abaa565 Jan 12, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea/copyright Update git details. Nov 6, 2015
.utility Enable 2.3-SNAPSHOT auto deploy to maven. Jul 24, 2019
src/main Removed unused style name Jan 2, 2020
.gitignore Ignore idea files. Nov 10, 2015
.travis.yml Fixed Travis Build Aug 7, 2019
LICENSE Initial commit Nov 6, 2015
README.md Update README.md Jan 12, 2020
pom.xml Updated version 2.3.0 Jan 10, 2020

README.md

gwt-material-themes

Gwt Material Design Themes for https://github.com/GwtMaterialDesign/gwt-material

Build Status Join us

Usage

<dependency>
    <groupId>com.github.gwtmaterialdesign</groupId>
    <artifactId>gwt-material-themes</artifactId>
    <version>2.3.0</version>
</dependency>

Changelog

You can view the changelog here

Import the theme in your GWT Module

<inherits name="gwt.material.design.themes.ThemeBlue"/>

Dynamic Themes

Starting GMD 2.0 we supported dynamic theming.

Step 1: Choose GMD Theme Resources you want to include into your app.

<inherits name="gwt.material.design.themes.ThemeAmberResources"/>
<inherits name="gwt.material.design.themes.ThemeBlueResources"/>
<inherits name="gwt.material.design.themes.ThemeBrownResources"/>
<inherits name="gwt.material.design.themes.ThemeGreenResources"/>
<inherits name="gwt.material.design.themes.ThemeGreyResources"/>
<inherits name="gwt.material.design.themes.ThemeOrangeResources"/>
<inherits name="gwt.material.design.themes.ThemePinkResources"/>
<inherits name="gwt.material.design.themes.ThemePurpleResources"/>
<inherits name="gwt.material.design.themes.ThemeRedResources"/>
<inherits name="gwt.material.design.themes.ThemeYellowResources"/>

Step 2: Create your theme switcher (Below is a custom example)

A ComboBox widget that contains lists of theme selection. Sample

Step 3: Create your Theme Manager (Below is a custom example)

A Custom theme manager to store selected theme to browser’s cache. Theme Manager

Follow Us

Google Plus

You can’t perform that action at this time.