/polymer-theme

Polymer Theme based on BEM Methodology and Material Design.

Primary LanguageCSSMIT LicenseMIT

Polymer Theme

Polymer Theme based on BEM Methodology and Material Design language.

For scaffolding Polymer apps use Polymer Starter Kit or Polymer generator.

DEMO

Features

Installation

bower install polymer-theme --save

Usage

app.scss

$font-name-heading:       'roboto-slab';
$font-lang:               'en';
@import 'bower_components/polymer-theme/sass/base';

body {
  font-family: $font-body;

  /deep/ {
    h1,
    h2,
    h3 {
      font-family: $font-heading;
    }
  }
}

.polymer-theme {
  $color-name-primary:    'indigo';
  $color-name-secondary:  'pink';
  $color-name-text:       'grey';
  @import 'bower_components/polymer-theme/sass/variables';
  /deep/ {
    @import 'bower_components/polymer-theme/sass/blocks/all';
  }
}

index.html

<body class="polymer-theme">

Material Design Colors

$color-name-primary:      'indigo';
$color-name-secondary:    'pink';
$color-name-text:         'grey';

Roboto Font Combinations

$font-name-heading:       'roboto-slab';
$font-lang:               'en';

Contributing 👍

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Make your changes
  4. Run the tests, adding new ones for your own code if necessary
  5. Commit your changes (git commit -am 'Added some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create new Pull Request

Copyright (c) 2015 Start Polymer (http://startpolymer.org)