Amber primary color

Choose material color from colors page and use class .mdc-text-{color name} for colored text or .mdc-bg-{color name} for colored background.

  • code
  • source
  1. <!-- Colored text -->
  2. <span class="mdc-text-amber">Amber primary color</span>
  3. <!-- Colored background -->
  4. <div class="mdc-bg-amber" style="height: 32px"></div>
                                <!-- Colored text -->
                                <span class="mdc-text-amber">Amber primary color</span>

                                <!-- Colored background -->
                                <div class="mdc-bg-amber" style="height: 32px"></div>
  • You can change prefixes by customizing less files

Blue-800 color

Choose material color and value from colors page and use class .mdc-text-{color name}-{color value} for colored text or .mdc-bg-{color name}-{color value} for colored background.

  • code
  • source
  1. <!-- Colored text -->
  2. <span class="mdc-text-blue-800">Blue-800 color</span>
  3. <!-- Colored background -->
  4. <div class="mdc-bg-blue-800" style="height: 32px"></div>
                                <!-- Colored text -->
                                <span class="mdc-text-blue-800">Blue-800 color</span>

                                <!-- Colored background -->
                                <div class="mdc-bg-blue-800" style="height: 32px"></div>
  • You can change prefixes by customizing less files

You can use this classes with Material Design Iconic Font.

  • code
  • source
  1. <!-- Colored icon -->
  2. <i class="zmdi zmdi-settings md-spin zmdi-hc-2x mdc-text-green-400"></i>
  3. <!-- Colored icon with colored background -->
  4. <i class="zmdi zmdi-flower-alt zmdi-hc-2x mdc-text-yellow mdc-bg-green-400"></i>
                                <!-- Colored icon -->
                                <i class="zmdi zmdi-settings md-spin zmdi-hc-2x mdc-text-green-400"></i>

                                <!-- Colored icon with colored background -->
                                <i class="zmdi zmdi-flower-alt zmdi-hc-2x mdc-text-yellow mdc-bg-green-400"></i>
  • You can change prefixes by customizing less files