-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_typography.scss
78 lines (74 loc) · 1.57 KB
/
_typography.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@import url('http://roboto-webfont.googlecode.com/svn/trunk/roboto.all.css');
$_gmd-type-styles: (
display4: (
font-family: "Roboto light",
font-size: 8em,
color: rgba(black, .54),
),
display3: (
font-family: "Roboto regular",
font-size: 4em,
color: rgba(black, .54),
),
display2: (
font-family: "Roboto regular",
font-size: 3.21428571em,
color: rgba(black, .54),
),
display1: (
font-family: "Roboto regular",
font-size: 2.42857143em,
color: rgba(black, .54),
),
headline: (
font-family: "Roboto regular",
font-size: 1.71428571em,
color: rgba(black, .87),
),
title: (
font-family: "Roboto medium",
font-size: 1.42857143em,
color: rgba(black, .87),
),
subhead: (
font-family: "Roboto regular",
font-size: 1.14285714em,
color: rgba(black, .87),
),
body2: (
font-family: "Roboto medium",
font-size: 1em,
color: rgba(black, .87),
),
body1: (
font-family: "Roboto regular",
font-size: 1em,
color: rgba(black, .87),
),
caption: (
font-family: "Roboto regular",
font-size: .85714286em,
color: rgba(black, .54),
),
menu: (
font-family: "Roboto medium",
font-size: 1em,
color: rgba(black, .87),
),
button: (
font-family: "Roboto medium",
font-size: 1em,
text-transform: uppercase,
color: rgba(black, .87),
)
);
@mixin gmd-type-style($type) {
$style: map-get($_gmd-type-styles, $type);
@each $property, $value in $style {
#{$property}: $value;
}
}
// TEST
body {
@include gmd-type-style(display4);
}