@agorapulse/ui-theme 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/agorapulse-ui-theme-0.0.1.tgz +0 -0
  2. package/assets/lib-ui-theme/fonts/averta/AvertaStd-Black.otf +0 -0
  3. package/assets/lib-ui-theme/fonts/averta/AvertaStd-Bold.otf +0 -0
  4. package/assets/lib-ui-theme/fonts/averta/AvertaStd-Extrabold.otf +0 -0
  5. package/assets/lib-ui-theme/fonts/averta/AvertaStd-Regular.otf +0 -0
  6. package/assets/lib-ui-theme/fonts/averta/AvertaStd-Semibold.otf +0 -0
  7. package/assets/lib-ui-theme/style/_colors.scss +323 -0
  8. package/assets/lib-ui-theme/style/_font-face.scss +35 -0
  9. package/assets/lib-ui-theme/style/_grid.scss +166 -0
  10. package/assets/lib-ui-theme/style/_helpers.scss +78 -0
  11. package/assets/lib-ui-theme/style/_mat-typography.scss +85 -0
  12. package/assets/lib-ui-theme/style/_variables.scss +104 -0
  13. package/assets/lib-ui-theme/style/components-custom-style/_alert.scss +35 -0
  14. package/assets/lib-ui-theme/style/components-custom-style/_clickable-text.scss +8 -0
  15. package/assets/lib-ui-theme/style/components-custom-style/_form.scss +35 -0
  16. package/assets/lib-ui-theme/style/components-custom-style/_input-error.scss +7 -0
  17. package/assets/lib-ui-theme/style/components-custom-style/_input.scss +127 -0
  18. package/assets/lib-ui-theme/style/components-custom-style/_mat-button-toggle-group.scss +68 -0
  19. package/assets/lib-ui-theme/style/components-custom-style/_mat-button.scss +434 -0
  20. package/assets/lib-ui-theme/style/components-custom-style/_mat-checkbox.scss +103 -0
  21. package/assets/lib-ui-theme/style/components-custom-style/_mat-dialog.scss +36 -0
  22. package/assets/lib-ui-theme/style/components-custom-style/_mat-divider.scss +3 -0
  23. package/assets/lib-ui-theme/style/components-custom-style/_mat-expansion-panel.scss +21 -0
  24. package/assets/lib-ui-theme/style/components-custom-style/_mat-list.scss +19 -0
  25. package/assets/lib-ui-theme/style/components-custom-style/_mat-menu.scss +181 -0
  26. package/assets/lib-ui-theme/style/components-custom-style/_mat-radio-button.scss +86 -0
  27. package/assets/lib-ui-theme/style/components-custom-style/_mat-slide-toggle.scss +45 -0
  28. package/assets/lib-ui-theme/style/components-custom-style/_mat-snack-bar.scss +40 -0
  29. package/assets/lib-ui-theme/style/components-custom-style/_ng-select.scss +130 -0
  30. package/assets/lib-ui-theme/style/components-custom-style/_notification.scss +48 -0
  31. package/assets/lib-ui-theme/style/components-custom-style/_reduction.scss +14 -0
  32. package/assets/lib-ui-theme/style/components-custom-style/_select.scss +16 -0
  33. package/assets/lib-ui-theme/style/components-custom-style/_sign.scss +10 -0
  34. package/assets/lib-ui-theme/style/theme.scss +77 -0
  35. package/ng-package.json +4 -0
  36. package/package.json +15 -0
Binary file
@@ -0,0 +1,323 @@
1
+ @use '../../../../../node_modules/@angular/material/index' as mat;
2
+ // Color palettes from the Material Design spec.
3
+ // See https://www.google.com/design/spec/style/color.html
4
+ //
5
+ // Contrast colors are hard-coded because it is too difficult (probably impossible) to
6
+ // calculate them. These contrast colors are pulled from the public Material Design spec swatches.
7
+ // While the contrast colors in the spec are not prescriptive, we use them for convenience.
8
+
9
+ // NOTE
10
+ // Just the palette we created with the colors arthur gave us
11
+ // http://mcg.mbitson.com/#!?mcgpalette0=%233f51b5
12
+ // so we can use them like this:
13
+ // mat-state($ap-orange, 500) = #ff4d00,
14
+ // mat.get-contrast-color-from-palette($ap-orange, 500) = $white-87-opacity
15
+
16
+ $black-87-opacity: rgba(black, 0.87);
17
+ $white-87-opacity: rgba(white, 0.87);
18
+
19
+ $colors-grey: (
20
+ 100: #344563,
21
+ 80: #5d6a82,
22
+ 60: #858fa1,
23
+ 40: #aeb5c1,
24
+ 20: #d6dae0,
25
+ 10: #eaecef,
26
+ 5: #f5f5f7,
27
+ );
28
+
29
+ $colors-orange: (
30
+ 110: #ff4d00,
31
+ 105: #FF560D,
32
+ 100: #ff6726,
33
+ 85 : #ff7e46,
34
+ 60: #ffa47d,
35
+ 40: #ffc2a8,
36
+ 20: #ffe1d4,
37
+ 10: #ffefe9
38
+ );
39
+
40
+ $colors-soft-orange: (
41
+ 100: #fbb500,
42
+ 85: #fcc026,
43
+ 60: #fdd366,
44
+ 40: #fde199,
45
+ 20: #fef0cc,
46
+ 10: #fff8e6
47
+ );
48
+
49
+ $colors-electric-blue: (
50
+ 100: #178dfe,
51
+ 85: #3a9efe,
52
+ 60: #74bbfe,
53
+ 40: #a2d1ff,
54
+ 20: #d1e8ff,
55
+ 10: #e8f4ff
56
+ );
57
+
58
+ $colors-soft-blue: (
59
+ 100: #61a4e4,
60
+ 85 : #78b1e8,
61
+ 60: #a0c8ef,
62
+ 40: #c0dbf4,
63
+ 20: #dfedfa,
64
+ 10: #eff5fc
65
+ );
66
+
67
+ $colors-purple: (
68
+ 100: #6554c0,
69
+ 85 : #7c6dc9,
70
+ 60: #a398d9,
71
+ 40: #c1bbe6,
72
+ 20: #e0ddf2,
73
+ 10: #efedf8
74
+ );
75
+
76
+ $colors-green: (
77
+ 100: #45B854,
78
+ 85: #61c26d,
79
+ 60: #8fd498,
80
+ 40: #b5e3bb,
81
+ 20: #daf1dd,
82
+ 10: #ecf7ed
83
+ );
84
+
85
+ $colors-primary: (
86
+ 50: #fff7f3,
87
+ 100: #ffeae0,
88
+ 200: #ffcab3,
89
+ 300: #ffa680,
90
+ 400: #ff824d,
91
+ 500: #ff6726,
92
+ 600: #ff4600,
93
+ 700: #ff3d00,
94
+ 800: #ff3400,
95
+ 900: #ff2500,
96
+ A100: #ffffff,
97
+ A200: #fff3f2,
98
+ A400: #ffc5bf,
99
+ A700: #ffaea6,
100
+ contrast: (
101
+ 50: black,
102
+ 100: black,
103
+ 200: black,
104
+ 300: black,
105
+ 400: black,
106
+ 500: $white-87-opacity,
107
+ 600: $white-87-opacity,
108
+ 700: $white-87-opacity,
109
+ 800: $white-87-opacity,
110
+ 900: $white-87-opacity,
111
+ A100: black,
112
+ A200: black,
113
+ A400: black,
114
+ A700: black,
115
+ )
116
+ );
117
+
118
+ $colors-accent: (
119
+ 50: #e8f4ff,
120
+ 100: #d1e8ff,
121
+ 200: #a2d1ff,
122
+ 300: #74bbfe,
123
+ 400: #3a9efe,
124
+ 500: #178dfe,
125
+ 600: #008fe0,
126
+ 700: #007bc2,
127
+ 800: #0068a3,
128
+ 900: #005485,
129
+ A100: #ffffff,
130
+ A200: #bde7ff,
131
+ A400: #1fadff,
132
+ A700: #007bc2,
133
+ contrast: (
134
+ 50: black,
135
+ 100: black,
136
+ 200: black,
137
+ 300: black,
138
+ 400: black,
139
+ 500: $white-87-opacity,
140
+ 600: $white-87-opacity,
141
+ 700: $white-87-opacity,
142
+ 800: $white-87-opacity,
143
+ 900: $white-87-opacity,
144
+ A100: black,
145
+ A200: black,
146
+ A400: black,
147
+ A700: $white-87-opacity,
148
+ )
149
+ );
150
+
151
+ $colors-red: (
152
+ 100: #E81313,
153
+ 85: #EB3636,
154
+ 60: #F17171,
155
+ 40: #F6A1A1,
156
+ 20: #FAD0D0,
157
+ 10: #FDE7E7
158
+ );
159
+
160
+ $colors-yellow: (
161
+ 100: #FFE91F,
162
+ 85: #FFEC41,
163
+ 60: #FFF279,
164
+ 40: #FFF6A5,
165
+ 20: #FFFBD2,
166
+ 10: #FFFDE9
167
+ );
168
+
169
+ $colors-warn: (
170
+ 50: #ffffff,
171
+ 100: #f6bebe,
172
+ 200: #ef8c8c,
173
+ 300: #e64e4e,
174
+ 400: #e33333,
175
+ 500: #d91e1e,
176
+ 600: #be1a1a,
177
+ 700: #a31717,
178
+ 800: #881313,
179
+ 900: #6d0f0f,
180
+ A100: #ffffff,
181
+ A200: #f6bebe,
182
+ A400: #e33333,
183
+ A700: #a31717,
184
+ contrast: (
185
+ 50: black,
186
+ 100: black,
187
+ 200: black,
188
+ 300: $white-87-opacity,
189
+ 400: $white-87-opacity,
190
+ 500: $white-87-opacity,
191
+ 600: $white-87-opacity,
192
+ 700: $white-87-opacity,
193
+ 800: $white-87-opacity,
194
+ 900: $white-87-opacity,
195
+ A100: black,
196
+ A200: black,
197
+ A400: $white-87-opacity,
198
+ A700: $white-87-opacity,
199
+ )
200
+ );
201
+
202
+ // Primary colors
203
+ $color-blood-orange: #ff4d00;
204
+ $color-pinkish-orange: #ff7b49;
205
+ $color-charcoal-grey: #2a2f34;
206
+
207
+ // Secondary colors
208
+ $color-azure: #00aeef;
209
+ $color-light-azure: #eaf5fd;
210
+ $color-cool-green: #33c15d;
211
+ $color-light-green: #ebfaef;
212
+ $color-strawberry: #f4282d;
213
+ $color-light-strawberry: #f8eded;
214
+ $color-blue-grey: #8d98a9;
215
+ $color-silver: #ced0da;
216
+ $color-pale-grey: #dfe3e9;
217
+ $color-grey-white: #f5f7f8;
218
+ $color-queued: #8C50CF;
219
+ $color-approve: #f4bd49; //mat.get-color-from-palette($ap-orange, 500);
220
+ $color-alice-blue: #f3f9ff;
221
+
222
+ // Colors of 2021 Agorapulse Website
223
+ $color-peach: #FFF9F4;
224
+ $color-blue-sky: #F5FDFF;
225
+ $color-very-light-blue: #F6F8FF;
226
+ $color-very-light-orange: #FFF7F3;
227
+ $color-very-light-green: #F3FAFF;
228
+
229
+ // Grey dark max
230
+ $color-grey-dark-max: #212E44;
231
+
232
+ $state-light-orange: #ffe2b3;
233
+ //$state-light-transparent-orange: #fff1da;
234
+ // Text colors
235
+ $color-black: #344563;
236
+ $color-cool-grey: #b4bbc6;
237
+ $color-grey-blue: #68768c;
238
+ $color-blue-link: #499EFF;
239
+
240
+ $color-white: #ffffff;
241
+
242
+ $color-grey-background: #F9F9FA;
243
+
244
+ // Social networks colors
245
+ $color-facebook: #1877f2;
246
+ $color-google: #4e85e8;
247
+ $color-instagram: #e1306c;
248
+ $color-instagrammagenta: #c13584;
249
+ $color-instagramblue: #5851db;
250
+ $color-instagrampurple: #833ab4;
251
+ $color-instagramorange: #f56040;
252
+ $color-instagramyellow: #ffdc80;
253
+ $color-linkedin: #2c67bc;
254
+ $color-twitter: #55acee;
255
+ $color-youtube: #ff0000;
256
+ $color-instagramlink: #00376b;
257
+
258
+ // Others
259
+ //$state-tag: #5EA9FF;
260
+ //$state-error: #DB1E1E;
261
+ //$state-warning: #ff4d00;
262
+ //$state-info: #00a2ff;
263
+ //$state-success: #8DDE57;
264
+
265
+ $ap-colors: (
266
+ 'facebook': $color-facebook,
267
+ 'google': $color-google,
268
+ 'instagram': $color-instagram,
269
+ 'instagrammagenta': $color-instagrammagenta,
270
+ 'instagramblue': $color-instagramblue,
271
+ 'instagrampurple': $color-instagrampurple,
272
+ 'instagramorange': $color-instagramorange,
273
+ 'instagramyellow': $color-instagramyellow,
274
+ 'linkedin': $color-linkedin,
275
+ 'twitter': $color-twitter,
276
+ 'youtube': $color-youtube,
277
+ 'blood-orange': $color-blood-orange,
278
+ 'pinkish-orange': $color-pinkish-orange,
279
+ 'charcoal-grey': $color-charcoal-grey,
280
+ 'azure': $color-azure,
281
+ 'light-azure':$color-light-azure,
282
+ 'blue-grey':$color-blue-grey,
283
+ 'silver': $color-silver,
284
+ //'middle-grey':$state-disabled,
285
+ 'pale-grey':$color-pale-grey,
286
+ 'grey-white':$color-grey-white,
287
+ 'cool-grey':$color-cool-grey,
288
+ 'black':$color-black,
289
+ 'grey-blue':$color-grey-blue,
290
+ 'strawberry':$color-strawberry,
291
+ 'light-strawberry':$color-light-strawberry,
292
+ 'white':$color-white,
293
+ 'cool-green':$color-cool-green,
294
+ 'light-green':$color-light-green,
295
+ 'transparent': transparent,
296
+
297
+ 'c0': #A566A5,
298
+ 'c1': #C7AB82,
299
+ 'c2': #F2713C,
300
+ 'c3': #FFD006,
301
+ 'c4': #94C5AA,
302
+ 'c5': #2A9D8F,
303
+ 'c6': #78ACD8,
304
+ 'c7': #525A9E,
305
+ 'c8': #6A2459,
306
+ 'c9': #74729E,
307
+ );
308
+
309
+ // Utility class for colors
310
+ @each $key, $value in $ap-colors {
311
+ [color="#{$key}"] {
312
+ color: $value;
313
+ }
314
+ [bgcolor="#{$key}"] {
315
+ background-color: $value;
316
+ }
317
+ [hcolor="#{$key}"]:hover {
318
+ background-color: $value;
319
+ }
320
+ [border="#{$key}"] {
321
+ border: 1px solid $value;
322
+ }
323
+ }
@@ -0,0 +1,35 @@
1
+ // Import Averta Regular
2
+ @font-face {
3
+ font-family: "Averta";
4
+ font-weight: normal;
5
+ font-style: normal;
6
+ src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Regular.otf") format("opentype");
7
+ }
8
+
9
+ // Import Averta Bold
10
+ @font-face {
11
+ font-family: "Averta";
12
+ src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Bold.otf") format("opentype");
13
+ font-weight: bold;
14
+ }
15
+
16
+ // Import Averta Semibold
17
+ @font-face {
18
+ font-family: "Averta";
19
+ src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Semibold.otf") format("opentype");
20
+ font-weight: 600;
21
+ }
22
+
23
+ /* Import Averta extra bold */
24
+ @font-face {
25
+ font-family: "Averta";
26
+ src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Extrabold.otf") format("opentype");
27
+ font-weight: 800;
28
+ }
29
+
30
+ // Import Averta Black
31
+ @font-face {
32
+ font-family: "Averta";
33
+ src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Black.otf") format("opentype");
34
+ font-weight: 900;
35
+ }
@@ -0,0 +1,166 @@
1
+ /*
2
+ * Grid, mostly from https://materializecss.com/grid.html
3
+ */
4
+
5
+ @use "sass:math";
6
+
7
+ body {
8
+ margin : 0 !important;
9
+ }
10
+
11
+ .container {
12
+ margin: 0 auto;
13
+ max-width: 1280px;
14
+ width: 90%;
15
+ }
16
+ @media #{$medium-and-up} {
17
+ .container {
18
+ width: 85%;
19
+ }
20
+ }
21
+ @media #{$large-and-up} {
22
+ .container {
23
+ width: 70%;
24
+ }
25
+ }
26
+ .col .row {
27
+ margin-left: (-1 * $gutter-width * 0.5);
28
+ margin-right: (-1 * $gutter-width * 0.5);
29
+ }
30
+
31
+ .section {
32
+ padding-top: 1rem;
33
+ padding-bottom: 1rem;
34
+
35
+ &.no-pad {
36
+ padding: 0;
37
+ }
38
+ &.no-pad-bot {
39
+ padding-bottom: 0;
40
+ }
41
+ &.no-pad-top {
42
+ padding-top: 0;
43
+ }
44
+ }
45
+
46
+
47
+ // Mixins to eliminate code repitition
48
+ @mixin reset-offset {
49
+ margin-left: auto;
50
+ left: auto;
51
+ right: auto;
52
+ }
53
+ @mixin grid-classes($size, $i, $perc) {
54
+ &.offset-#{$size}#{$i} {
55
+ margin-left: $perc;
56
+ }
57
+ &.pull-#{$size}#{$i} {
58
+ right: $perc;
59
+ }
60
+ &.push-#{$size}#{$i} {
61
+ left: $perc;
62
+ }
63
+ }
64
+
65
+
66
+ .row {
67
+ margin-left: auto;
68
+ margin-right: auto;
69
+ margin-bottom: 20px;
70
+
71
+ // Clear floating children
72
+ &:after {
73
+ content: "";
74
+ display: table;
75
+ clear: both;
76
+ }
77
+
78
+ .col {
79
+ float: left;
80
+ box-sizing: border-box;
81
+ padding: 0 $gutter-width * 0.5;
82
+ min-height: 1px;
83
+
84
+ &[class*="push-"],
85
+ &[class*="pull-"] {
86
+ position: relative;
87
+ }
88
+
89
+ $i: 1;
90
+ @while $i <= $num-cols {
91
+ $perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
92
+ &.s#{$i} {
93
+ width: $perc;
94
+ @include reset-offset;
95
+ }
96
+ $i: $i + 1;
97
+ }
98
+
99
+ $i: 1;
100
+ @while $i <= $num-cols {
101
+ $perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
102
+ @include grid-classes("s", $i, $perc);
103
+ $i: $i + 1;
104
+ }
105
+
106
+ @media #{$medium-and-up} {
107
+
108
+ $i: 1;
109
+ @while $i <= $num-cols {
110
+ $perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
111
+ &.m#{$i} {
112
+ width: $perc;
113
+ @include reset-offset;
114
+ }
115
+ $i: $i + 1
116
+ }
117
+
118
+ $i: 1;
119
+ @while $i <= $num-cols {
120
+ $perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
121
+ @include grid-classes("m", $i, $perc);
122
+ $i: $i + 1;
123
+ }
124
+ }
125
+
126
+ @media #{$large-and-up} {
127
+
128
+ $i: 1;
129
+ @while $i <= $num-cols {
130
+ $perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
131
+ &.l#{$i} {
132
+ width: $perc;
133
+ @include reset-offset;
134
+ }
135
+ $i: $i + 1;
136
+ }
137
+
138
+ $i: 1;
139
+ @while $i <= $num-cols {
140
+ $perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
141
+ @include grid-classes("l", $i, $perc);
142
+ $i: $i + 1;
143
+ }
144
+ }
145
+
146
+ @media #{$extra-large-and-up} {
147
+
148
+ $i: 1;
149
+ @while $i <= $num-cols {
150
+ $perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
151
+ &.xl#{$i} {
152
+ width: $perc;
153
+ @include reset-offset;
154
+ }
155
+ $i: $i + 1;
156
+ }
157
+
158
+ $i: 1;
159
+ @while $i <= $num-cols {
160
+ $perc: unquote(math.div(100, math.div($num-cols, $i)) + "%");
161
+ @include grid-classes("xl", $i, $perc);
162
+ $i: $i + 1;
163
+ }
164
+ }
165
+ }
166
+ }
@@ -0,0 +1,78 @@
1
+ @import 'variables';
2
+
3
+ /*
4
+ * Helpers, mostly from https://materializecss.com/helpers.html
5
+ */
6
+ blockquote {
7
+ border-left: 5px solid $color-azure;
8
+ margin: $padding-l 0;
9
+ padding-left: 1.5rem;
10
+ font-style: italic;
11
+ }
12
+
13
+ .divider {
14
+ height: 1px;
15
+ overflow: hidden;
16
+ background-color: $color-silver;
17
+ }
18
+
19
+
20
+ .left-align {
21
+ text-align: left;
22
+ }
23
+ .center-align {
24
+ text-align: center;
25
+ }
26
+ .right-align {
27
+ text-align: right;
28
+ }
29
+
30
+ .valign-wrapper {
31
+ align-items: center;
32
+ display: flex;
33
+ }
34
+
35
+ .truncate {
36
+ display: block;
37
+ white-space: nowrap;
38
+ overflow: hidden;
39
+ text-overflow: ellipsis;
40
+ }
41
+
42
+ .circle {
43
+ border-radius: 50%;
44
+ }
45
+
46
+ .center-block {
47
+ display: block;
48
+ margin-left: auto;
49
+ margin-right: auto;
50
+ }
51
+
52
+ img.responsive-img,
53
+ video.responsive-video {
54
+ max-width: 100%;
55
+ height: auto;
56
+ }
57
+
58
+ .video-container {
59
+ position: relative;
60
+ padding-bottom: 56.25%;
61
+ height: 0;
62
+ overflow: hidden;
63
+ }
64
+ object, embed {
65
+ position: absolute;
66
+ top: 0;
67
+ left: 0;
68
+ width: 100%;
69
+ height: 100%;
70
+ }
71
+
72
+ /* Other (used?) */
73
+ .square, .rounded, .round {
74
+ overflow: hidden;
75
+ }
76
+ .rounded {
77
+ border-radius: 100%;
78
+ }
@@ -0,0 +1,85 @@
1
+ @use '../../../../../node_modules/@angular/material/index' as mat;
2
+ @import 'colors';
3
+ @import 'variables';
4
+
5
+ /*
6
+ * TYPOGRAPHY
7
+ * See https://material.angular.io/guide/typography
8
+ */
9
+
10
+ // Override typography for all Angular Material, including mat-base-typography and all components.
11
+ $custom-typography: mat.define-typography-config(
12
+ $font-family: $font-family,
13
+ $headline: mat.define-typography-level($font-size-h1, $font-line-height-h1, $font-weight-semibold),
14
+ $title: mat.define-typography-level($font-size-h2, $font-line-height-h2, $font-weight-semibold),
15
+ $subheading-2: mat.define-typography-level($font-size-h3, $font-line-height-h3, $font-weight-semibold),
16
+ $body-1: mat.define-typography-level($font-size, $font-line-height, $font-weight),
17
+ $body-2: mat.define-typography-level($font-size, $font-line-height, $font-weight-semibold),
18
+ $caption: mat.define-typography-level($font-size-s, $font-line-height-s, $font-weight)
19
+ //$button: mat.define-typography-level(16px, 24px, 500),
20
+ //$input: mat.define-typography-level(16px, 24px, 500)
21
+ );
22
+ @include mat.all-component-typographies($custom-typography);
23
+
24
+ // Override base header tags (so that we don't have to add Material classes, e.g: class="mat-h1")
25
+ h1, h2, h3, h4 {
26
+ color: $color-black;
27
+ font-family: $font-family-header;
28
+ }
29
+ h1 {
30
+ font-size: mat.font-size($custom-typography, headline);
31
+ line-height: mat.line-height($custom-typography, headline);
32
+ margin-bottom: $padding-s;
33
+ }
34
+ h2 {
35
+ font-size: mat.font-size($custom-typography, title);
36
+ line-height: mat.line-height($custom-typography, title);
37
+ margin-bottom: $padding-sl;
38
+ }
39
+ h3 {
40
+ font-size: mat.font-size($custom-typography, subheading-2);
41
+ line-height: mat.line-height($custom-typography, subheading-2);
42
+ margin-bottom: $padding-sm;
43
+ }
44
+ h4 {
45
+ font-size: $font-size-h4;
46
+ font-weight: bold;
47
+ line-height: $font-line-height-h4;
48
+ margin-bottom: $padding-sm;
49
+ }
50
+ p {
51
+ margin: 0 0 $padding-ml;
52
+ }
53
+ p.large,
54
+ span.large {
55
+ font-size: 16px;
56
+ line-height: 20px;
57
+ }
58
+ p.caption,
59
+ span.caption,
60
+ .mat-caption,
61
+ .mat-caption {
62
+ font-size: 12px;
63
+ line-height: 15px;
64
+ }
65
+ p.small,
66
+ span.small,
67
+ small {
68
+ font-size: 10px;
69
+ line-height: 14px;
70
+ }
71
+
72
+ // Override default text state
73
+ body {
74
+ .mat-drawer-container{
75
+ color: $font-color;
76
+ }
77
+ }
78
+
79
+ a {
80
+ color: $link-color;
81
+ text-decoration: none;
82
+
83
+ // Gets rid of tap active state
84
+ -webkit-tap-highlight-color: transparent;
85
+ }