jekyll-rtd-theme 2.0.2 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +6 -5
  4. data/_includes/assets/sw.caches.js +3 -7
  5. data/_includes/class/_breadcrumbs.liquid +1 -1
  6. data/_includes/class/_footer.liquid +11 -9
  7. data/_includes/class/_toctree.liquid +2 -2
  8. data/_includes/extend/list.liquid +1 -1
  9. data/_includes/extend/toctree.liquid +2 -2
  10. data/_includes/list.liquid +1 -1
  11. data/_includes/node/links.liquid +16 -3
  12. data/_includes/node/metadata.liquid +9 -1
  13. data/_includes/node/script.extension.liquid +1 -1
  14. data/_includes/node/script.liquid +8 -4
  15. data/_includes/reset/content.liquid +6 -0
  16. data/_includes/reset/defaults.liquid +6 -64
  17. data/_includes/reset/description.liquid +6 -0
  18. data/_includes/reset/navigation.liquid +20 -0
  19. data/_includes/reset/title.liquid +18 -0
  20. data/_includes/reset/variables.liquid +32 -0
  21. data/_includes/reset/version.liquid +1 -0
  22. data/_includes/shortcodes/danger.liquid +3 -3
  23. data/_includes/shortcodes/mermaid.liquid +1 -1
  24. data/_includes/shortcodes/note.liquid +3 -3
  25. data/_includes/shortcodes/tip.liquid +3 -3
  26. data/_includes/shortcodes/warning.liquid +2 -2
  27. data/_layouts/default.liquid +2 -3
  28. data/_layouts/plugins/compress.liquid +1 -1
  29. data/_layouts/plugins/{extension.liquid → shortcodes.liquid} +2 -3
  30. data/_sass/_direction.scss +92 -0
  31. data/_sass/_layout.scss +4 -3
  32. data/_sass/_variables.scss +6 -1
  33. data/_sass/class/markdown-body.scss +49 -7
  34. data/_sass/class/sidebar-wrap.scss +7 -2
  35. data/_sass/class/{admonition.scss → toasts.scss} +7 -1
  36. data/_sass/lib/@primer/css/base/README.md +24 -0
  37. data/_sass/{@primer → lib/@primer/css}/base/base.scss +0 -0
  38. data/_sass/{@primer → lib/@primer/css}/base/index.scss +0 -0
  39. data/_sass/{@primer → lib/@primer/css}/base/kbd.scss +0 -0
  40. data/_sass/{@primer → lib/@primer/css}/base/normalize.scss +1 -0
  41. data/_sass/{@primer → lib/@primer/css}/base/typography-base.scss +0 -0
  42. data/_sass/lib/@primer/css/breadcrumb/README.md +24 -0
  43. data/_sass/{@primer → lib/@primer/css}/breadcrumb/breadcrumb.scss +0 -0
  44. data/_sass/{@primer → lib/@primer/css}/breadcrumb/index.scss +0 -0
  45. data/_sass/lib/@primer/css/buttons/README.md +24 -0
  46. data/_sass/{@primer → lib/@primer/css}/buttons/button-group.scss +0 -0
  47. data/_sass/{@primer → lib/@primer/css}/buttons/button.scss +0 -0
  48. data/_sass/{@primer → lib/@primer/css}/buttons/index.scss +0 -0
  49. data/_sass/{@primer → lib/@primer/css}/buttons/misc.scss +0 -0
  50. data/_sass/lib/@primer/css/forms/README.md +24 -0
  51. data/_sass/{@primer → lib/@primer/css}/forms/form-control.scss +6 -3
  52. data/_sass/{@primer → lib/@primer/css}/forms/form-group.scss +0 -0
  53. data/_sass/{@primer → lib/@primer/css}/forms/form-select.scss +0 -0
  54. data/_sass/{@primer → lib/@primer/css}/forms/form-validation.scss +0 -0
  55. data/_sass/{@primer → lib/@primer/css}/forms/index.scss +0 -0
  56. data/_sass/{@primer → lib/@primer/css}/forms/input-group.scss +0 -0
  57. data/_sass/{@primer → lib/@primer/css}/forms/radio-group.scss +0 -0
  58. data/_sass/lib/@primer/css/loaders/README.md +24 -0
  59. data/_sass/{@primer → lib/@primer/css}/loaders/index.scss +0 -0
  60. data/_sass/{@primer → lib/@primer/css}/loaders/loaders.scss +0 -0
  61. data/_sass/lib/@primer/css/markdown/README.md +24 -0
  62. data/_sass/{@primer → lib/@primer/css}/markdown/blob-csv.scss +0 -0
  63. data/_sass/{@primer → lib/@primer/css}/markdown/code.scss +0 -0
  64. data/_sass/{@primer → lib/@primer/css}/markdown/headings.scss +0 -0
  65. data/_sass/{@primer → lib/@primer/css}/markdown/images.scss +0 -0
  66. data/_sass/{@primer → lib/@primer/css}/markdown/index.scss +0 -0
  67. data/_sass/{@primer → lib/@primer/css}/markdown/lists.scss +1 -0
  68. data/_sass/{@primer → lib/@primer/css}/markdown/markdown-body.scss +0 -0
  69. data/_sass/{@primer → lib/@primer/css}/markdown/tables.scss +0 -0
  70. data/_sass/lib/@primer/css/support/README.md +24 -0
  71. data/_sass/{@primer → lib/@primer/css}/support/index.scss +0 -0
  72. data/_sass/{@primer → lib/@primer/css}/support/mixins/buttons.scss +0 -0
  73. data/_sass/{@primer → lib/@primer/css}/support/mixins/layout.scss +0 -0
  74. data/_sass/{@primer → lib/@primer/css}/support/mixins/misc.scss +0 -0
  75. data/_sass/{@primer → lib/@primer/css}/support/mixins/typography.scss +0 -0
  76. data/_sass/{@primer → lib/@primer/css}/support/variables/color-system.scss +0 -0
  77. data/_sass/{@primer → lib/@primer/css}/support/variables/colors.scss +0 -0
  78. data/_sass/{@primer → lib/@primer/css}/support/variables/layout.scss +0 -0
  79. data/_sass/{@primer → lib/@primer/css}/support/variables/misc.scss +1 -0
  80. data/_sass/{@primer → lib/@primer/css}/support/variables/typography.scss +0 -0
  81. data/_sass/lib/@primer/css/utilities/README.md +24 -0
  82. data/_sass/{@primer → lib/@primer/css}/utilities/animations.scss +0 -0
  83. data/_sass/{@primer → lib/@primer/css}/utilities/borders.scss +6 -3
  84. data/_sass/{@primer → lib/@primer/css}/utilities/box-shadow.scss +0 -0
  85. data/_sass/{@primer → lib/@primer/css}/utilities/colors.scss +0 -0
  86. data/_sass/{@primer → lib/@primer/css}/utilities/details.scss +0 -0
  87. data/_sass/{@primer → lib/@primer/css}/utilities/flexbox.scss +3 -0
  88. data/_sass/{@primer → lib/@primer/css}/utilities/index.scss +0 -0
  89. data/_sass/{@primer → lib/@primer/css}/utilities/layout.scss +42 -25
  90. data/_sass/{@primer → lib/@primer/css}/utilities/margin.scss +0 -0
  91. data/_sass/{@primer → lib/@primer/css}/utilities/padding.scss +0 -0
  92. data/_sass/{@primer → lib/@primer/css}/utilities/typography.scss +0 -0
  93. data/_sass/{@primer → lib/@primer/css}/utilities/visibility-display.scss +0 -0
  94. data/_sass/lib/font-awesome/_icons.scss +2139 -0
  95. data/_sass/lib/font-awesome/_variables.scss +799 -0
  96. data/_sass/lib/material-design-lite/_color-definitions.scss +378 -0
  97. data/_sass/lib/material-design-lite/_functions.scss +19 -0
  98. data/_sass/lib/material-design-lite/_mixins.scss +301 -0
  99. data/_sass/lib/material-design-lite/_variables.scss +612 -0
  100. data/_sass/{class/highlight.scss → lib/rouge/github.scss} +0 -0
  101. data/_sass/theme.scss +17 -11
  102. data/assets/css/theme.min.css +1 -1
  103. data/assets/images/apple-touch-icon-300x300.jpg +0 -0
  104. data/assets/images/favicon-16x16.png +0 -0
  105. data/assets/images/favicon-32x32.png +0 -0
  106. data/assets/images/favicon-96x96.png +0 -0
  107. data/assets/{favicon.liquid → images/favicon.svg} +2 -7
  108. data/assets/js/theme.js +246 -243
  109. data/assets/js/theme.min.js +1 -1
  110. data/assets/sw.caches.liquid +1 -1
  111. metadata +82 -59
  112. data/_includes/node/custom.liquid +0 -17
  113. data/_sass/_icons.scss +0 -57
@@ -0,0 +1,378 @@
1
+ /**
2
+ * Copyright 2015 Google Inc. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /* ========== Color Palettes ========== */
18
+
19
+ // Color order: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200,
20
+ // A400, A700.
21
+
22
+ $palette-red: "255,235,238" "255,205,210" "239,154,154" "229,115,115"
23
+ "239,83,80" "244,67,54" "229,57,53" "211,47,47" "198,40,40" "183,28,28"
24
+ "255,138,128" "255,82,82" "255,23,68" "213,0,0";
25
+
26
+ $palette-red-50: nth($palette-red, 1);
27
+ $palette-red-100: nth($palette-red, 2);
28
+ $palette-red-200: nth($palette-red, 3);
29
+ $palette-red-300: nth($palette-red, 4);
30
+ $palette-red-400: nth($palette-red, 5);
31
+ $palette-red-500: nth($palette-red, 6);
32
+ $palette-red-600: nth($palette-red, 7);
33
+ $palette-red-700: nth($palette-red, 8);
34
+ $palette-red-800: nth($palette-red, 9);
35
+ $palette-red-900: nth($palette-red, 10);
36
+ $palette-red-A100: nth($palette-red, 11);
37
+ $palette-red-A200: nth($palette-red, 12);
38
+ $palette-red-A400: nth($palette-red, 13);
39
+ $palette-red-A700: nth($palette-red, 14);
40
+
41
+ $palette-pink: "252,228,236" "248,187,208" "244,143,177" "240,98,146"
42
+ "236,64,122" "233,30,99" "216,27,96" "194,24,91" "173,20,87" "136,14,79"
43
+ "255,128,171" "255,64,129" "245,0,87" "197,17,98";
44
+
45
+ $palette-pink-50: nth($palette-pink, 1);
46
+ $palette-pink-100: nth($palette-pink, 2);
47
+ $palette-pink-200: nth($palette-pink, 3);
48
+ $palette-pink-300: nth($palette-pink, 4);
49
+ $palette-pink-400: nth($palette-pink, 5);
50
+ $palette-pink-500: nth($palette-pink, 6);
51
+ $palette-pink-600: nth($palette-pink, 7);
52
+ $palette-pink-700: nth($palette-pink, 8);
53
+ $palette-pink-800: nth($palette-pink, 9);
54
+ $palette-pink-900: nth($palette-pink, 10);
55
+ $palette-pink-A100: nth($palette-pink, 11);
56
+ $palette-pink-A200: nth($palette-pink, 12);
57
+ $palette-pink-A400: nth($palette-pink, 13);
58
+ $palette-pink-A700: nth($palette-pink, 14);
59
+
60
+ $palette-purple: "243,229,245" "225,190,231" "206,147,216" "186,104,200"
61
+ "171,71,188" "156,39,176" "142,36,170" "123,31,162" "106,27,154" "74,20,140"
62
+ "234,128,252" "224,64,251" "213,0,249" "170,0,255";
63
+
64
+ $palette-purple-50: nth($palette-purple, 1);
65
+ $palette-purple-100: nth($palette-purple, 2);
66
+ $palette-purple-200: nth($palette-purple, 3);
67
+ $palette-purple-300: nth($palette-purple, 4);
68
+ $palette-purple-400: nth($palette-purple, 5);
69
+ $palette-purple-500: nth($palette-purple, 6);
70
+ $palette-purple-600: nth($palette-purple, 7);
71
+ $palette-purple-700: nth($palette-purple, 8);
72
+ $palette-purple-800: nth($palette-purple, 9);
73
+ $palette-purple-900: nth($palette-purple, 10);
74
+ $palette-purple-A100: nth($palette-purple, 11);
75
+ $palette-purple-A200: nth($palette-purple, 12);
76
+ $palette-purple-A400: nth($palette-purple, 13);
77
+ $palette-purple-A700: nth($palette-purple, 14);
78
+
79
+ $palette-deep-purple: "237,231,246" "209,196,233" "179,157,219" "149,117,205"
80
+ "126,87,194" "103,58,183" "94,53,177" "81,45,168" "69,39,160" "49,27,146"
81
+ "179,136,255" "124,77,255" "101,31,255" "98,0,234";
82
+
83
+ $palette-deep-purple-50: nth($palette-deep-purple, 1);
84
+ $palette-deep-purple-100: nth($palette-deep-purple, 2);
85
+ $palette-deep-purple-200: nth($palette-deep-purple, 3);
86
+ $palette-deep-purple-300: nth($palette-deep-purple, 4);
87
+ $palette-deep-purple-400: nth($palette-deep-purple, 5);
88
+ $palette-deep-purple-500: nth($palette-deep-purple, 6);
89
+ $palette-deep-purple-600: nth($palette-deep-purple, 7);
90
+ $palette-deep-purple-700: nth($palette-deep-purple, 8);
91
+ $palette-deep-purple-800: nth($palette-deep-purple, 9);
92
+ $palette-deep-purple-900: nth($palette-deep-purple, 10);
93
+ $palette-deep-purple-A100: nth($palette-deep-purple, 11);
94
+ $palette-deep-purple-A200: nth($palette-deep-purple, 12);
95
+ $palette-deep-purple-A400: nth($palette-deep-purple, 13);
96
+ $palette-deep-purple-A700: nth($palette-deep-purple, 14);
97
+
98
+ $palette-indigo: "232,234,246" "197,202,233" "159,168,218" "121,134,203"
99
+ "92,107,192" "63,81,181" "57,73,171" "48,63,159" "40,53,147" "26,35,126"
100
+ "140,158,255" "83,109,254" "61,90,254" "48,79,254";
101
+
102
+ $palette-indigo-50: nth($palette-indigo, 1);
103
+ $palette-indigo-100: nth($palette-indigo, 2);
104
+ $palette-indigo-200: nth($palette-indigo, 3);
105
+ $palette-indigo-300: nth($palette-indigo, 4);
106
+ $palette-indigo-400: nth($palette-indigo, 5);
107
+ $palette-indigo-500: nth($palette-indigo, 6);
108
+ $palette-indigo-600: nth($palette-indigo, 7);
109
+ $palette-indigo-700: nth($palette-indigo, 8);
110
+ $palette-indigo-800: nth($palette-indigo, 9);
111
+ $palette-indigo-900: nth($palette-indigo, 10);
112
+ $palette-indigo-A100: nth($palette-indigo, 11);
113
+ $palette-indigo-A200: nth($palette-indigo, 12);
114
+ $palette-indigo-A400: nth($palette-indigo, 13);
115
+ $palette-indigo-A700: nth($palette-indigo, 14);
116
+
117
+ $palette-blue: "227,242,253" "187,222,251" "144,202,249" "100,181,246"
118
+ "66,165,245" "33,150,243" "30,136,229" "25,118,210" "21,101,192" "13,71,161"
119
+ "130,177,255" "68,138,255" "41,121,255" "41,98,255";
120
+
121
+ $palette-blue-50: nth($palette-blue, 1);
122
+ $palette-blue-100: nth($palette-blue, 2);
123
+ $palette-blue-200: nth($palette-blue, 3);
124
+ $palette-blue-300: nth($palette-blue, 4);
125
+ $palette-blue-400: nth($palette-blue, 5);
126
+ $palette-blue-500: nth($palette-blue, 6);
127
+ $palette-blue-600: nth($palette-blue, 7);
128
+ $palette-blue-700: nth($palette-blue, 8);
129
+ $palette-blue-800: nth($palette-blue, 9);
130
+ $palette-blue-900: nth($palette-blue, 10);
131
+ $palette-blue-A100: nth($palette-blue, 11);
132
+ $palette-blue-A200: nth($palette-blue, 12);
133
+ $palette-blue-A400: nth($palette-blue, 13);
134
+ $palette-blue-A700: nth($palette-blue, 14);
135
+
136
+ $palette-light-blue: "225,245,254" "179,229,252" "129,212,250" "79,195,247"
137
+ "41,182,246" "3,169,244" "3,155,229" "2,136,209" "2,119,189" "1,87,155"
138
+ "128,216,255" "64,196,255" "0,176,255" "0,145,234";
139
+
140
+ $palette-light-blue-50: nth($palette-light-blue, 1);
141
+ $palette-light-blue-100: nth($palette-light-blue, 2);
142
+ $palette-light-blue-200: nth($palette-light-blue, 3);
143
+ $palette-light-blue-300: nth($palette-light-blue, 4);
144
+ $palette-light-blue-400: nth($palette-light-blue, 5);
145
+ $palette-light-blue-500: nth($palette-light-blue, 6);
146
+ $palette-light-blue-600: nth($palette-light-blue, 7);
147
+ $palette-light-blue-700: nth($palette-light-blue, 8);
148
+ $palette-light-blue-800: nth($palette-light-blue, 9);
149
+ $palette-light-blue-900: nth($palette-light-blue, 10);
150
+ $palette-light-blue-A100: nth($palette-light-blue, 11);
151
+ $palette-light-blue-A200: nth($palette-light-blue, 12);
152
+ $palette-light-blue-A400: nth($palette-light-blue, 13);
153
+ $palette-light-blue-A700: nth($palette-light-blue, 14);
154
+
155
+ $palette-cyan: "224,247,250" "178,235,242" "128,222,234" "77,208,225"
156
+ "38,198,218" "0,188,212" "0,172,193" "0,151,167" "0,131,143" "0,96,100"
157
+ "132,255,255" "24,255,255" "0,229,255" "0,184,212";
158
+
159
+ $palette-cyan-50: nth($palette-cyan, 1);
160
+ $palette-cyan-100: nth($palette-cyan, 2);
161
+ $palette-cyan-200: nth($palette-cyan, 3);
162
+ $palette-cyan-300: nth($palette-cyan, 4);
163
+ $palette-cyan-400: nth($palette-cyan, 5);
164
+ $palette-cyan-500: nth($palette-cyan, 6);
165
+ $palette-cyan-600: nth($palette-cyan, 7);
166
+ $palette-cyan-700: nth($palette-cyan, 8);
167
+ $palette-cyan-800: nth($palette-cyan, 9);
168
+ $palette-cyan-900: nth($palette-cyan, 10);
169
+ $palette-cyan-A100: nth($palette-cyan, 11);
170
+ $palette-cyan-A200: nth($palette-cyan, 12);
171
+ $palette-cyan-A400: nth($palette-cyan, 13);
172
+ $palette-cyan-A700: nth($palette-cyan, 14);
173
+
174
+ $palette-teal: "224,242,241" "178,223,219" "128,203,196" "77,182,172"
175
+ "38,166,154" "0,150,136" "0,137,123" "0,121,107" "0,105,92" "0,77,64"
176
+ "167,255,235" "100,255,218" "29,233,182" "0,191,165";
177
+
178
+ $palette-teal-50: nth($palette-teal, 1);
179
+ $palette-teal-100: nth($palette-teal, 2);
180
+ $palette-teal-200: nth($palette-teal, 3);
181
+ $palette-teal-300: nth($palette-teal, 4);
182
+ $palette-teal-400: nth($palette-teal, 5);
183
+ $palette-teal-500: nth($palette-teal, 6);
184
+ $palette-teal-600: nth($palette-teal, 7);
185
+ $palette-teal-700: nth($palette-teal, 8);
186
+ $palette-teal-800: nth($palette-teal, 9);
187
+ $palette-teal-900: nth($palette-teal, 10);
188
+ $palette-teal-A100: nth($palette-teal, 11);
189
+ $palette-teal-A200: nth($palette-teal, 12);
190
+ $palette-teal-A400: nth($palette-teal, 13);
191
+ $palette-teal-A700: nth($palette-teal, 14);
192
+
193
+ $palette-green: "232,245,233" "200,230,201" "165,214,167" "129,199,132"
194
+ "102,187,106" "76,175,80" "67,160,71" "56,142,60" "46,125,50" "27,94,32"
195
+ "185,246,202" "105,240,174" "0,230,118" "0,200,83";
196
+
197
+ $palette-green-50: nth($palette-green, 1);
198
+ $palette-green-100: nth($palette-green, 2);
199
+ $palette-green-200: nth($palette-green, 3);
200
+ $palette-green-300: nth($palette-green, 4);
201
+ $palette-green-400: nth($palette-green, 5);
202
+ $palette-green-500: nth($palette-green, 6);
203
+ $palette-green-600: nth($palette-green, 7);
204
+ $palette-green-700: nth($palette-green, 8);
205
+ $palette-green-800: nth($palette-green, 9);
206
+ $palette-green-900: nth($palette-green, 10);
207
+ $palette-green-A100: nth($palette-green, 11);
208
+ $palette-green-A200: nth($palette-green, 12);
209
+ $palette-green-A400: nth($palette-green, 13);
210
+ $palette-green-A700: nth($palette-green, 14);
211
+
212
+ $palette-light-green: "241,248,233" "220,237,200" "197,225,165" "174,213,129"
213
+ "156,204,101" "139,195,74" "124,179,66" "104,159,56" "85,139,47" "51,105,30"
214
+ "204,255,144" "178,255,89" "118,255,3" "100,221,23";
215
+
216
+ $palette-light-green-50: nth($palette-light-green, 1);
217
+ $palette-light-green-100: nth($palette-light-green, 2);
218
+ $palette-light-green-200: nth($palette-light-green, 3);
219
+ $palette-light-green-300: nth($palette-light-green, 4);
220
+ $palette-light-green-400: nth($palette-light-green, 5);
221
+ $palette-light-green-500: nth($palette-light-green, 6);
222
+ $palette-light-green-600: nth($palette-light-green, 7);
223
+ $palette-light-green-700: nth($palette-light-green, 8);
224
+ $palette-light-green-800: nth($palette-light-green, 9);
225
+ $palette-light-green-900: nth($palette-light-green, 10);
226
+ $palette-light-green-A100: nth($palette-light-green, 11);
227
+ $palette-light-green-A200: nth($palette-light-green, 12);
228
+ $palette-light-green-A400: nth($palette-light-green, 13);
229
+ $palette-light-green-A700: nth($palette-light-green, 14);
230
+
231
+ $palette-lime: "249,251,231" "240,244,195" "230,238,156" "220,231,117"
232
+ "212,225,87" "205,220,57" "192,202,51" "175,180,43" "158,157,36" "130,119,23"
233
+ "244,255,129" "238,255,65" "198,255,0" "174,234,0";
234
+
235
+ $palette-lime-50: nth($palette-lime, 1);
236
+ $palette-lime-100: nth($palette-lime, 2);
237
+ $palette-lime-200: nth($palette-lime, 3);
238
+ $palette-lime-300: nth($palette-lime, 4);
239
+ $palette-lime-400: nth($palette-lime, 5);
240
+ $palette-lime-500: nth($palette-lime, 6);
241
+ $palette-lime-600: nth($palette-lime, 7);
242
+ $palette-lime-700: nth($palette-lime, 8);
243
+ $palette-lime-800: nth($palette-lime, 9);
244
+ $palette-lime-900: nth($palette-lime, 10);
245
+ $palette-lime-A100: nth($palette-lime, 11);
246
+ $palette-lime-A200: nth($palette-lime, 12);
247
+ $palette-lime-A400: nth($palette-lime, 13);
248
+ $palette-lime-A700: nth($palette-lime, 14);
249
+
250
+ $palette-yellow: "255,253,231" "255,249,196" "255,245,157" "255,241,118"
251
+ "255,238,88" "255,235,59" "253,216,53" "251,192,45" "249,168,37" "245,127,23"
252
+ "255,255,141" "255,255,0" "255,234,0" "255,214,0";
253
+
254
+ $palette-yellow-50: nth($palette-yellow, 1);
255
+ $palette-yellow-100: nth($palette-yellow, 2);
256
+ $palette-yellow-200: nth($palette-yellow, 3);
257
+ $palette-yellow-300: nth($palette-yellow, 4);
258
+ $palette-yellow-400: nth($palette-yellow, 5);
259
+ $palette-yellow-500: nth($palette-yellow, 6);
260
+ $palette-yellow-600: nth($palette-yellow, 7);
261
+ $palette-yellow-700: nth($palette-yellow, 8);
262
+ $palette-yellow-800: nth($palette-yellow, 9);
263
+ $palette-yellow-900: nth($palette-yellow, 10);
264
+ $palette-yellow-A100: nth($palette-yellow, 11);
265
+ $palette-yellow-A200: nth($palette-yellow, 12);
266
+ $palette-yellow-A400: nth($palette-yellow, 13);
267
+ $palette-yellow-A700: nth($palette-yellow, 14);
268
+
269
+ $palette-amber: "255,248,225" "255,236,179" "255,224,130" "255,213,79"
270
+ "255,202,40" "255,193,7" "255,179,0" "255,160,0" "255,143,0" "255,111,0"
271
+ "255,229,127" "255,215,64" "255,196,0" "255,171,0";
272
+
273
+ $palette-amber-50: nth($palette-amber, 1);
274
+ $palette-amber-100: nth($palette-amber, 2);
275
+ $palette-amber-200: nth($palette-amber, 3);
276
+ $palette-amber-300: nth($palette-amber, 4);
277
+ $palette-amber-400: nth($palette-amber, 5);
278
+ $palette-amber-500: nth($palette-amber, 6);
279
+ $palette-amber-600: nth($palette-amber, 7);
280
+ $palette-amber-700: nth($palette-amber, 8);
281
+ $palette-amber-800: nth($palette-amber, 9);
282
+ $palette-amber-900: nth($palette-amber, 10);
283
+ $palette-amber-A100: nth($palette-amber, 11);
284
+ $palette-amber-A200: nth($palette-amber, 12);
285
+ $palette-amber-A400: nth($palette-amber, 13);
286
+ $palette-amber-A700: nth($palette-amber, 14);
287
+
288
+ $palette-orange: "255,243,224" "255,224,178" "255,204,128" "255,183,77"
289
+ "255,167,38" "255,152,0" "251,140,0" "245,124,0" "239,108,0" "230,81,0"
290
+ "255,209,128" "255,171,64" "255,145,0" "255,109,0";
291
+
292
+ $palette-orange-50: nth($palette-orange, 1);
293
+ $palette-orange-100: nth($palette-orange, 2);
294
+ $palette-orange-200: nth($palette-orange, 3);
295
+ $palette-orange-300: nth($palette-orange, 4);
296
+ $palette-orange-400: nth($palette-orange, 5);
297
+ $palette-orange-500: nth($palette-orange, 6);
298
+ $palette-orange-600: nth($palette-orange, 7);
299
+ $palette-orange-700: nth($palette-orange, 8);
300
+ $palette-orange-800: nth($palette-orange, 9);
301
+ $palette-orange-900: nth($palette-orange, 10);
302
+ $palette-orange-A100: nth($palette-orange, 11);
303
+ $palette-orange-A200: nth($palette-orange, 12);
304
+ $palette-orange-A400: nth($palette-orange, 13);
305
+ $palette-orange-A700: nth($palette-orange, 14);
306
+
307
+ $palette-deep-orange: "251,233,231" "255,204,188" "255,171,145" "255,138,101"
308
+ "255,112,67" "255,87,34" "244,81,30" "230,74,25" "216,67,21" "191,54,12"
309
+ "255,158,128" "255,110,64" "255,61,0" "221,44,0";
310
+
311
+ $palette-deep-orange-50: nth($palette-deep-orange, 1);
312
+ $palette-deep-orange-100: nth($palette-deep-orange, 2);
313
+ $palette-deep-orange-200: nth($palette-deep-orange, 3);
314
+ $palette-deep-orange-300: nth($palette-deep-orange, 4);
315
+ $palette-deep-orange-400: nth($palette-deep-orange, 5);
316
+ $palette-deep-orange-500: nth($palette-deep-orange, 6);
317
+ $palette-deep-orange-600: nth($palette-deep-orange, 7);
318
+ $palette-deep-orange-700: nth($palette-deep-orange, 8);
319
+ $palette-deep-orange-800: nth($palette-deep-orange, 9);
320
+ $palette-deep-orange-900: nth($palette-deep-orange, 10);
321
+ $palette-deep-orange-A100: nth($palette-deep-orange, 11);
322
+ $palette-deep-orange-A200: nth($palette-deep-orange, 12);
323
+ $palette-deep-orange-A400: nth($palette-deep-orange, 13);
324
+ $palette-deep-orange-A700: nth($palette-deep-orange, 14);
325
+
326
+ // Color order: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900.
327
+
328
+ $palette-brown: "239,235,233" "215,204,200" "188,170,164" "161,136,127"
329
+ "141,110,99" "121,85,72" "109,76,65" "93,64,55" "78,52,46" "62,39,35";
330
+
331
+ $palette-brown-50: nth($palette-brown, 1);
332
+ $palette-brown-100: nth($palette-brown, 2);
333
+ $palette-brown-200: nth($palette-brown, 3);
334
+ $palette-brown-300: nth($palette-brown, 4);
335
+ $palette-brown-400: nth($palette-brown, 5);
336
+ $palette-brown-500: nth($palette-brown, 6);
337
+ $palette-brown-600: nth($palette-brown, 7);
338
+ $palette-brown-700: nth($palette-brown, 8);
339
+ $palette-brown-800: nth($palette-brown, 9);
340
+ $palette-brown-900: nth($palette-brown, 10);
341
+
342
+ $palette-grey: "250,250,250" "245,245,245" "238,238,238" "224,224,224"
343
+ "189,189,189" "158,158,158" "117,117,117" "97,97,97" "66,66,66" "33,33,33";
344
+
345
+ $palette-grey-50: nth($palette-grey, 1);
346
+ $palette-grey-100: nth($palette-grey, 2);
347
+ $palette-grey-200: nth($palette-grey, 3);
348
+ $palette-grey-300: nth($palette-grey, 4);
349
+ $palette-grey-400: nth($palette-grey, 5);
350
+ $palette-grey-500: nth($palette-grey, 6);
351
+ $palette-grey-600: nth($palette-grey, 7);
352
+ $palette-grey-700: nth($palette-grey, 8);
353
+ $palette-grey-800: nth($palette-grey, 9);
354
+ $palette-grey-900: nth($palette-grey, 10);
355
+
356
+ $palette-blue-grey: "236,239,241" "207,216,220" "176,190,197" "144,164,174"
357
+ "120,144,156" "96,125,139" "84,110,122" "69,90,100" "55,71,79" "38,50,56";
358
+
359
+ $palette-blue-grey-50: nth($palette-blue-grey, 1);
360
+ $palette-blue-grey-100: nth($palette-blue-grey, 2);
361
+ $palette-blue-grey-200: nth($palette-blue-grey, 3);
362
+ $palette-blue-grey-300: nth($palette-blue-grey, 4);
363
+ $palette-blue-grey-400: nth($palette-blue-grey, 5);
364
+ $palette-blue-grey-500: nth($palette-blue-grey, 6);
365
+ $palette-blue-grey-600: nth($palette-blue-grey, 7);
366
+ $palette-blue-grey-700: nth($palette-blue-grey, 8);
367
+ $palette-blue-grey-800: nth($palette-blue-grey, 9);
368
+ $palette-blue-grey-900: nth($palette-blue-grey, 10);
369
+
370
+ $color-black: "0,0,0";
371
+ $color-white: "255,255,255";
372
+
373
+ /* colors.scss */
374
+ $styleguide-generate-template: false !default;
375
+
376
+ // The two possible colors for overlayed text.
377
+ $color-dark-contrast: $color-white !default;
378
+ $color-light-contrast: $color-black !default;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright 2015 Google Inc. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ @function strip-units($number) {
18
+ @return $number / ($number * 0 + 1);
19
+ }
@@ -0,0 +1,301 @@
1
+ /**
2
+ * Copyright 2015 Google Inc. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /* Typography */
18
+
19
+ @mixin typo-preferred-font($usePreferred: true) {
20
+ @if $usePreferred {
21
+ font-family: $preferred_font;
22
+ }
23
+ }
24
+
25
+ @mixin typo-display-4($colorContrast: false, $usePreferred: true) {
26
+ @include typo-preferred-font($usePreferred);
27
+ font-size: 112px;
28
+ font-weight: 300;
29
+ line-height: 1;
30
+ letter-spacing: -0.04em;
31
+
32
+ @if $colorContrast {
33
+ opacity: 0.54;
34
+ }
35
+ }
36
+
37
+ @mixin typo-display-3($colorContrast: false, $usePreferred: true) {
38
+ @include typo-preferred-font($usePreferred);
39
+ font-size: 56px;
40
+ font-weight: 400;
41
+ line-height: 1.35;
42
+ letter-spacing: -0.02em;
43
+
44
+ @if $colorContrast {
45
+ opacity: 0.54;
46
+ }
47
+ }
48
+
49
+ @mixin typo-display-2($colorContrast: false, $usePreferred: true) {
50
+ @include typo-preferred-font($usePreferred);
51
+ font-size: 45px;
52
+ font-weight: 400;
53
+ line-height: 48px;
54
+
55
+ @if $colorContrast {
56
+ opacity: 0.54;
57
+ }
58
+ }
59
+
60
+ @mixin typo-display-1($colorContrast: false, $usePreferred: true) {
61
+ @include typo-preferred-font($usePreferred);
62
+ font-size: 34px;
63
+ font-weight: 400;
64
+ line-height: 40px;
65
+
66
+ @if $colorContrast {
67
+ opacity: 0.54;
68
+ }
69
+ }
70
+
71
+ @mixin typo-headline($colorContrast: false, $usePreferred: true) {
72
+ @include typo-preferred-font($usePreferred);
73
+ font-size: 24px;
74
+ font-weight: 400;
75
+ line-height: 32px;
76
+ -moz-osx-font-smoothing: grayscale;
77
+
78
+ @if $colorContrast {
79
+ opacity: 0.87;
80
+ }
81
+ }
82
+
83
+ @mixin typo-title($colorContrast: false, $usePreferred: true) {
84
+ @include typo-preferred-font($usePreferred);
85
+ font-size: 20px;
86
+ font-weight: 500;
87
+ line-height: 1;
88
+ letter-spacing: 0.02em;
89
+
90
+ @if $colorContrast {
91
+ opacity: 0.87;
92
+ }
93
+ }
94
+
95
+ @mixin typo-subhead($colorContrast: false, $usePreferred: true) {
96
+ @include typo-preferred-font($usePreferred);
97
+ font-size: 16px;
98
+ font-weight: 400;
99
+ line-height: 24px;
100
+ letter-spacing: 0.04em;
101
+
102
+ @if $colorContrast {
103
+ opacity: 0.87;
104
+ }
105
+ }
106
+
107
+ @mixin typo-subhead-2($colorContrast: false, $usePreferred: true) {
108
+ @include typo-preferred-font($usePreferred);
109
+ font-size: 16px;
110
+ font-weight: 400;
111
+ line-height: 28px;
112
+ letter-spacing: 0.04em;
113
+
114
+ @if $colorContrast {
115
+ opacity: 0.87;
116
+ }
117
+ }
118
+
119
+ @mixin typo-body-2($colorContrast: false, $usePreferred: false) {
120
+ @include typo-preferred-font($usePreferred);
121
+ font-size: 14px;
122
+ @if $usePreferred {
123
+ font-weight: 500;
124
+ } @else {
125
+ font-weight: bold;
126
+ }
127
+ line-height: 24px;
128
+ letter-spacing: 0;
129
+
130
+ @if $colorContrast {
131
+ opacity: 0.87;
132
+ }
133
+ }
134
+
135
+ @mixin typo-body-1($colorContrast: false, $usePreferred: false) {
136
+ @include typo-preferred-font($usePreferred);
137
+ font-size: 14px;
138
+ font-weight: 400;
139
+ line-height: 24px;
140
+ letter-spacing: 0;
141
+
142
+ @if $colorContrast {
143
+ opacity: 0.87;
144
+ }
145
+ }
146
+
147
+ @mixin typo-caption($colorContrast: false, $usePreferred: false) {
148
+ @include typo-preferred-font($usePreferred);
149
+ font-size: 12px;
150
+ font-weight: 400;
151
+ line-height: 1;
152
+ letter-spacing: 0;
153
+
154
+ @if $colorContrast {
155
+ opacity: 0.54;
156
+ }
157
+ }
158
+
159
+ @mixin typo-blockquote($colorContrast: false, $usePreferred: true) {
160
+ @include typo-preferred-font($usePreferred);
161
+ position: relative;
162
+ font-size: 24px;
163
+ font-weight: 300;
164
+ font-style: italic;
165
+ line-height: 1.35;
166
+ letter-spacing: 0.08em;
167
+
168
+ &:before {
169
+ position: absolute;
170
+ left: -0.5em;
171
+ content: "“";
172
+ }
173
+
174
+ &:after {
175
+ content: "”";
176
+ margin-left: -0.05em;
177
+ }
178
+
179
+ @if $colorContrast {
180
+ opacity: 0.54;
181
+ }
182
+ }
183
+
184
+ @mixin typo-menu($colorContrast: false, $usePreferred: true) {
185
+ @include typo-preferred-font($usePreferred);
186
+ font-size: 14px;
187
+ font-weight: 500;
188
+ line-height: 1;
189
+ letter-spacing: 0;
190
+
191
+ @if $colorContrast {
192
+ opacity: 0.87;
193
+ }
194
+ }
195
+
196
+ @mixin typo-button($colorContrast: false, $usePreferred: true) {
197
+ @include typo-preferred-font($usePreferred);
198
+ font-size: 14px;
199
+ font-weight: 500;
200
+ text-transform: uppercase;
201
+ line-height: 1;
202
+ letter-spacing: 0;
203
+
204
+ @if $colorContrast {
205
+ opacity: 0.87;
206
+ }
207
+ }
208
+
209
+ @mixin typo-icon() {
210
+ font-family: "Material Icons";
211
+ font-weight: normal;
212
+ font-style: normal;
213
+ font-size: 24px;
214
+ line-height: 1;
215
+ letter-spacing: normal;
216
+ text-transform: none;
217
+ display: inline-block;
218
+ word-wrap: normal;
219
+ font-feature-settings: "liga";
220
+ -webkit-font-feature-settings: "liga";
221
+ -webkit-font-smoothing: antialiased;
222
+ }
223
+
224
+ /* Shadows */
225
+
226
+ // Focus shadow mixin.
227
+ @mixin focus-shadow() {
228
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.36);
229
+ }
230
+
231
+ @mixin shadow-2dp() {
232
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, $shadow-key-penumbra-opacity),
233
+ 0 3px 1px -2px rgba(0, 0, 0, $shadow-key-umbra-opacity),
234
+ 0 1px 5px 0 rgba(0, 0, 0, $shadow-ambient-shadow-opacity);
235
+ }
236
+ @mixin shadow-3dp() {
237
+ box-shadow: 0 3px 4px 0 rgba(0, 0, 0, $shadow-key-penumbra-opacity),
238
+ 0 3px 3px -2px rgba(0, 0, 0, $shadow-key-umbra-opacity),
239
+ 0 1px 8px 0 rgba(0, 0, 0, $shadow-ambient-shadow-opacity);
240
+ }
241
+ @mixin shadow-4dp() {
242
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, $shadow-key-penumbra-opacity),
243
+ 0 1px 10px 0 rgba(0, 0, 0, $shadow-ambient-shadow-opacity),
244
+ 0 2px 4px -1px rgba(0, 0, 0, $shadow-key-umbra-opacity);
245
+ }
246
+ @mixin shadow-6dp() {
247
+ box-shadow: 0 6px 10px 0 rgba(0, 0, 0, $shadow-key-penumbra-opacity),
248
+ 0 1px 18px 0 rgba(0, 0, 0, $shadow-ambient-shadow-opacity),
249
+ 0 3px 5px -1px rgba(0, 0, 0, $shadow-key-umbra-opacity);
250
+ }
251
+ @mixin shadow-8dp() {
252
+ box-shadow: 0 8px 10px 1px rgba(0, 0, 0, $shadow-key-penumbra-opacity),
253
+ 0 3px 14px 2px rgba(0, 0, 0, $shadow-ambient-shadow-opacity),
254
+ 0 5px 5px -3px rgba(0, 0, 0, $shadow-key-umbra-opacity);
255
+ }
256
+
257
+ @mixin shadow-16dp() {
258
+ box-shadow: 0 16px 24px 2px rgba(0, 0, 0, $shadow-key-penumbra-opacity),
259
+ 0 6px 30px 5px rgba(0, 0, 0, $shadow-ambient-shadow-opacity),
260
+ 0 8px 10px -5px rgba(0, 0, 0, $shadow-key-umbra-opacity);
261
+ }
262
+
263
+ @mixin shadow-24dp() {
264
+ box-shadow: 0 9px 46px 8px rgba(0, 0, 0, $shadow-key-penumbra-opacity),
265
+ 0 11px 15px -7px rgba(0, 0, 0, $shadow-ambient-shadow-opacity),
266
+ 0 24px 38px 3px rgba(0, 0, 0, $shadow-key-umbra-opacity);
267
+ }
268
+
269
+ /* Animations */
270
+
271
+ @mixin material-animation-fast-out-slow-in($duration: 0.2s) {
272
+ transition-duration: $duration;
273
+ transition-timing-function: $animation-curve-fast-out-slow-in;
274
+ }
275
+
276
+ @mixin material-animation-linear-out-slow-in($duration: 0.2s) {
277
+ transition-duration: $duration;
278
+ transition-timing-function: $animation-curve-linear-out-slow-in;
279
+ }
280
+
281
+ @mixin material-animation-fast-out-linear-in($duration: 0.2s) {
282
+ transition-duration: $duration;
283
+ transition-timing-function: $animation-curve-fast-out-linear-in;
284
+ }
285
+
286
+ @mixin material-animation-default($duration: 0.2s) {
287
+ transition-duration: $duration;
288
+ transition-timing-function: $animation-curve-default;
289
+ }
290
+
291
+ /* Dialog */
292
+
293
+ @mixin dialog-width($units: 5) {
294
+ @if (type_of($units) != "number") {
295
+ @error "The unit given to dialog-width should be a number.";
296
+ }
297
+ // 56dp is the base unit width for Dialogs.
298
+ // With 5 units being the number of units for a mobile device.
299
+ // https://goo.gl/sK2O5o
300
+ width: $units * 56px;
301
+ }