Skip to content

Commit

Permalink
Merge pull request #6 from FabricElements/typography-fix
Browse files Browse the repository at this point in the history
Fix typography responsive and apply reset
  • Loading branch information
ernysans authored Oct 6, 2017
2 parents c475080 + 07599a9 commit 72d3b9d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions classes/typography.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,24 @@
<dom-module id="skin-typography">
<template>
<style is="custom-style">
/*
* Reset browser fonts
*/
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
li {
@apply --paper-font-common-base;
@apply --paper-font-body1;
margin: 0;
padding: 0;
}

/*
"Line wrapping only applies to Body, Subhead, Headline, and the smaller Display
styles. All other styles should exist as single lines."
Expand Down Expand Up @@ -170,58 +188,72 @@

/*noinspection ALL*/
.paper-font-display4 {
@apply --paper-font-display4;
}

/*noinspection ALL*/
.paper-font-display3 {
@apply --paper-font-display3;
}

/*noinspection ALL*/
.paper-font-display2 {
@apply --paper-font-display2;
}

/*noinspection ALL*/
.paper-font-display1 {
@apply --paper-font-display1;
}

/*noinspection ALL*/
.paper-font-headline {
@apply --paper-font-headline;
}

/*noinspection ALL*/
.paper-font-title {
@apply --paper-font-title;
}

/*noinspection ALL*/
.paper-font-subhead {
@apply --paper-font-subhead;
}

/*noinspection ALL*/
.paper-font-body2 {
@apply --paper-font-body2;
}

/*noinspection ALL*/
.paper-font-body1 {
@apply --paper-font-body2;
}

/*noinspection ALL*/
.paper-font-caption {
@apply --paper-font-caption;
}

/*noinspection ALL*/
.paper-font-menu {
@apply --paper-font-menu;
}

/*noinspection ALL*/
.paper-font-button {
@apply --paper-font-button;
}

/*noinspection ALL*/
.paper-font-code2 {
@apply --paper-font-code2;
}

/*noinspection ALL*/
.paper-font-code1 {
@apply --paper-font-code1;
}

/* ===========================
Expand Down

0 comments on commit 72d3b9d

Please sign in to comment.