@agorapulse/ui-theme 0.0.3 → 1.0.0-SNAPSHOT

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 (66) hide show
  1. package/agorapulse-ui-theme-1.0.0-SNAPSHOT.tgz +0 -0
  2. package/assets/desktop_variables.css +616 -0
  3. package/assets/mobile_variables.css +616 -0
  4. package/assets/style/_colors.scss +84 -78
  5. package/assets/style/_font-face.scss +15 -10
  6. package/assets/style/_helpers.scss +5 -3
  7. package/assets/style/_input.scss +52 -0
  8. package/assets/style/_link.scss +70 -0
  9. package/assets/style/_mat-typography.scss +45 -48
  10. package/assets/style/_select.scss +631 -0
  11. package/assets/style/_tooltip.scss +138 -0
  12. package/assets/style/_variables.scss +11 -12
  13. package/assets/style/components-custom-style/_clickable-text.scss +1 -1
  14. package/assets/style/components-custom-style/_form.scss +17 -18
  15. package/assets/style/components-custom-style/_input.scss +38 -38
  16. package/assets/style/components-custom-style/_mat-button-toggle-group.scss +8 -12
  17. package/assets/style/components-custom-style/_mat-button.scss +243 -49
  18. package/assets/style/components-custom-style/_mat-dialog.scss +6 -5
  19. package/assets/style/components-custom-style/_mat-expansion-panel.scss +8 -9
  20. package/assets/style/components-custom-style/_mat-list.scss +4 -4
  21. package/assets/style/components-custom-style/_mat-menu.scss +44 -33
  22. package/assets/style/components-custom-style/_mat-table.scss +3 -0
  23. package/assets/style/components-custom-style/_ng-select.scss +57 -5
  24. package/assets/style/theme.scss +43 -18
  25. package/package.json +23 -18
  26. package/src/README.md +42 -0
  27. package/src/build.js +6 -0
  28. package/src/desktop_config.js +18 -0
  29. package/src/mobile_config.js +18 -0
  30. package/src/tokens/components/badge.json +53 -0
  31. package/src/tokens/components/button.json +37 -0
  32. package/src/tokens/components/counter.json +108 -0
  33. package/src/tokens/components/dot-stepper.json +52 -0
  34. package/src/tokens/components/icon-button.json +18 -0
  35. package/src/tokens/components/infobox.json +139 -0
  36. package/src/tokens/components/input.json +304 -0
  37. package/src/tokens/components/label.json +56 -0
  38. package/src/tokens/components/link.json +127 -0
  39. package/src/tokens/components/radio.json +11 -0
  40. package/src/tokens/components/select.json +279 -0
  41. package/src/tokens/components/snackbar.json +71 -0
  42. package/src/tokens/components/split-button.json +34 -0
  43. package/src/tokens/components/status-card.json +187 -0
  44. package/src/tokens/components/status.json +120 -0
  45. package/src/tokens/components/tag.json +194 -0
  46. package/src/tokens/components/tooltip.json +36 -0
  47. package/src/tokens/reference/animation.json +18 -0
  48. package/src/tokens/reference/border-radius.json +15 -0
  49. package/src/tokens/reference/color.json +151 -0
  50. package/src/tokens/reference/font.json +69 -0
  51. package/src/tokens/reference/spacing.json +33 -0
  52. package/src/tokens/reference/transition.json +9 -0
  53. package/src/tokens/system/border.json +28 -0
  54. package/src/tokens/system/color.json +198 -0
  55. package/src/tokens/system/desktop/button.json +9 -0
  56. package/src/tokens/system/desktop/icon-button.json +15 -0
  57. package/src/tokens/system/icon.json +12 -0
  58. package/src/tokens/system/mobile/button.json +9 -0
  59. package/src/tokens/system/mobile/icon-button.json +15 -0
  60. package/src/tokens/system/radio.json +11 -0
  61. package/src/tokens/system/text.json +173 -0
  62. package/agorapulse-ui-theme-0.0.3.tgz +0 -0
  63. package/assets/style/_grid.scss +0 -166
  64. package/assets/style/components-custom-style/_mat-checkbox.scss +0 -103
  65. package/assets/style/components-custom-style/_mat-radio-button.scss +0 -86
  66. package/assets/style/components-custom-style/_mat-slide-toggle.scss +0 -45
@@ -1,17 +1,3 @@
1
- @use '~@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
1
 
16
2
  $black-87-opacity: rgba(black, 0.87);
17
3
  $white-87-opacity: rgba(white, 0.87);
@@ -28,62 +14,73 @@ $colors-grey: (
28
14
 
29
15
  $colors-orange: (
30
16
  110: #ff4d00,
31
- 105: #FF560D,
17
+ 105: #ff560d,
32
18
  100: #ff6726,
33
- 85 : #ff7e46,
19
+ 85: #ff7e46,
34
20
  60: #ffa47d,
35
21
  40: #ffc2a8,
36
22
  20: #ffe1d4,
37
- 10: #ffefe9
23
+ 10: #ffefe9,
38
24
  );
39
25
 
40
26
  $colors-soft-orange: (
27
+ 150: #a66200,
41
28
  100: #fbb500,
42
29
  85: #fcc026,
43
30
  60: #fdd366,
44
31
  40: #fde199,
45
32
  20: #fef0cc,
46
- 10: #fff8e6
33
+ 10: #fff8e6,
34
+ 5: #fffef2,
47
35
  );
48
36
 
49
37
  $colors-electric-blue: (
38
+ 150: #0e72d6,
50
39
  100: #178dfe,
51
40
  85: #3a9efe,
52
41
  60: #74bbfe,
53
42
  40: #a2d1ff,
54
43
  20: #d1e8ff,
55
- 10: #e8f4ff
44
+ 10: #e8f4ff,
45
+ 5: #f3f9ff,
56
46
  );
57
47
 
58
48
  $colors-soft-blue: (
59
49
  100: #61a4e4,
60
- 85 : #78b1e8,
50
+ 85: #78b1e8,
61
51
  60: #a0c8ef,
62
52
  40: #c0dbf4,
63
53
  20: #dfedfa,
64
- 10: #eff5fc
54
+ 10: #eff5fc,
55
+ );
56
+
57
+ $colors-menthol: (
58
+ 150: #057e7a,
59
+ 40: #9fd9d6,
60
+ 10: #f1f9f8,
65
61
  );
66
62
 
67
63
  $colors-purple: (
68
64
  100: #6554c0,
69
- 85 : #7c6dc9,
65
+ 85: #7c6dc9,
70
66
  60: #a398d9,
71
67
  40: #c1bbe6,
72
68
  20: #e0ddf2,
73
- 10: #efedf8
69
+ 10: #efedf8,
74
70
  );
75
71
 
76
72
  $colors-green: (
77
- 100: #45B854,
73
+ 100: #45b854,
78
74
  85: #61c26d,
79
75
  60: #8fd498,
80
76
  40: #b5e3bb,
81
77
  20: #daf1dd,
82
- 10: #ecf7ed
78
+ 10: #ecf7ed,
79
+ 5: #f2f7f3,
83
80
  );
84
81
 
85
82
  $colors-primary: (
86
- 50: #fff7f3,
83
+ 50: #fff7f3,
87
84
  100: #ffeae0,
88
85
  200: #ffcab3,
89
86
  300: #ffa680,
@@ -112,7 +109,7 @@ $colors-primary: (
112
109
  A200: black,
113
110
  A400: black,
114
111
  A700: black,
115
- )
112
+ ),
116
113
  );
117
114
 
118
115
  $colors-accent: (
@@ -145,25 +142,33 @@ $colors-accent: (
145
142
  A200: black,
146
143
  A400: black,
147
144
  A700: $white-87-opacity,
148
- )
145
+ ),
149
146
  );
150
147
 
151
148
  $colors-red: (
152
- 100: #E81313,
153
- 85: #EB3636,
154
- 60: #F17171,
155
- 40: #F6A1A1,
156
- 20: #FAD0D0,
157
- 10: #FDE7E7
149
+ 100: #e81313,
150
+ 85: #eb3636,
151
+ 60: #f17171,
152
+ 40: #f6a1a1,
153
+ 20: #fad0d0,
154
+ 10: #fde7e7,
155
+ 5: #fdf5f5,
156
+ );
157
+
158
+ $colors-soft-red: (
159
+ 100: #ff5353,
160
+ 85: #ff6d6d,
161
+ 60: #ff9898,
162
+ 10: #fff9f9,
158
163
  );
159
164
 
160
165
  $colors-yellow: (
161
- 100: #FFE91F,
162
- 85: #FFEC41,
163
- 60: #FFF279,
164
- 40: #FFF6A5,
165
- 20: #FFFBD2,
166
- 10: #FFFDE9
166
+ 100: #ffe91f,
167
+ 85: #ffec41,
168
+ 60: #fff279,
169
+ 40: #fff6a5,
170
+ 20: #fffbd2,
171
+ 10: #fffde9,
167
172
  );
168
173
 
169
174
  $colors-warn: (
@@ -196,7 +201,7 @@ $colors-warn: (
196
201
  A200: black,
197
202
  A400: $white-87-opacity,
198
203
  A700: $white-87-opacity,
199
- )
204
+ ),
200
205
  );
201
206
 
202
207
  // Primary colors
@@ -215,19 +220,19 @@ $color-blue-grey: #8d98a9;
215
220
  $color-silver: #ced0da;
216
221
  $color-pale-grey: #dfe3e9;
217
222
  $color-grey-white: #f5f7f8;
218
- $color-queued: #8C50CF;
219
- $color-approve: #f4bd49; //mat.get-color-from-palette($ap-orange, 500);
223
+ $color-queued: #8c50cf;
224
+ $color-approve: #f4bd49;
220
225
  $color-alice-blue: #f3f9ff;
221
226
 
222
227
  // 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
+ $color-peach: #fff9f4;
229
+ $color-blue-sky: #f5fdff;
230
+ $color-very-light-blue: #f6f8ff;
231
+ $color-very-light-orange: #fff7f3;
232
+ $color-very-light-green: #f3faff;
228
233
 
229
234
  // Grey dark max
230
- $color-grey-dark-max: #212E44;
235
+ $color-grey-dark-max: #212e44;
231
236
 
232
237
  $state-light-orange: #ffe2b3;
233
238
  //$state-light-transparent-orange: #fff1da;
@@ -235,14 +240,14 @@ $state-light-orange: #ffe2b3;
235
240
  $color-black: #344563;
236
241
  $color-cool-grey: #b4bbc6;
237
242
  $color-grey-blue: #68768c;
238
- $color-blue-link: #499EFF;
243
+ $color-blue-link: #499eff;
239
244
 
240
245
  $color-white: #ffffff;
241
246
 
242
- $color-grey-background: #F9F9FA;
247
+ $color-grey-background: #f9f9fa;
243
248
 
244
249
  // Social networks colors
245
- $color-facebook: #1877f2;
250
+ $color-facebook: #0866ff;
246
251
  $color-google: #4e85e8;
247
252
  $color-instagram: #e1306c;
248
253
  $color-instagrammagenta: #c13584;
@@ -254,6 +259,7 @@ $color-linkedin: #2c67bc;
254
259
  $color-twitter: #55acee;
255
260
  $color-youtube: #ff0000;
256
261
  $color-instagramlink: #00376b;
262
+ $color-web: #178dfe;
257
263
 
258
264
  // Others
259
265
  //$state-tag: #5EA9FF;
@@ -278,46 +284,46 @@ $ap-colors: (
278
284
  'pinkish-orange': $color-pinkish-orange,
279
285
  'charcoal-grey': $color-charcoal-grey,
280
286
  'azure': $color-azure,
281
- 'light-azure':$color-light-azure,
282
- 'blue-grey':$color-blue-grey,
287
+ 'light-azure': $color-light-azure,
288
+ 'blue-grey': $color-blue-grey,
283
289
  'silver': $color-silver,
284
290
  //'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,
291
+ 'pale-grey': $color-pale-grey,
292
+ 'grey-white': $color-grey-white,
293
+ 'cool-grey': $color-cool-grey,
294
+ 'black': $color-black,
295
+ 'grey-blue': $color-grey-blue,
296
+ 'strawberry': $color-strawberry,
297
+ 'light-strawberry': $color-light-strawberry,
298
+ 'white': $color-white,
299
+ 'cool-green': $color-cool-green,
300
+ 'light-green': $color-light-green,
295
301
  'transparent': transparent,
296
302
 
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,
303
+ 'c0': #a566a5,
304
+ 'c1': #c7ab82,
305
+ 'c2': #f2713c,
306
+ 'c3': #ffd006,
307
+ 'c4': #94c5aa,
308
+ 'c5': #2a9d8f,
309
+ 'c6': #78acd8,
310
+ 'c7': #525a9e,
311
+ 'c8': #6a2459,
312
+ 'c9': #74729e,
307
313
  );
308
314
 
309
315
  // Utility class for colors
310
316
  @each $key, $value in $ap-colors {
311
- [color="#{$key}"] {
317
+ [color='#{$key}'] {
312
318
  color: $value;
313
319
  }
314
- [bgcolor="#{$key}"] {
320
+ [bgcolor='#{$key}'] {
315
321
  background-color: $value;
316
322
  }
317
- [hcolor="#{$key}"]:hover {
323
+ [hcolor='#{$key}']:hover {
318
324
  background-color: $value;
319
325
  }
320
- [border="#{$key}"] {
326
+ [border='#{$key}'] {
321
327
  border: 1px solid $value;
322
328
  }
323
329
  }
@@ -1,35 +1,40 @@
1
1
  // Import Averta Regular
2
2
  @font-face {
3
- font-family: "Averta";
3
+ font-family: 'Averta';
4
4
  font-weight: normal;
5
5
  font-style: normal;
6
- src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Regular.otf") format("opentype");
6
+ src: url('/assets/lib-ui-theme/fonts/averta/AvertaStd-Regular.otf') format('opentype');
7
+ font-display: swap;
7
8
  }
8
9
 
9
10
  // Import Averta Bold
10
11
  @font-face {
11
- font-family: "Averta";
12
- src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Bold.otf") format("opentype");
12
+ font-family: 'Averta';
13
+ src: url('/assets/lib-ui-theme/fonts/averta/AvertaStd-Bold.otf') format('opentype');
13
14
  font-weight: bold;
15
+ font-display: swap;
14
16
  }
15
17
 
16
18
  // Import Averta Semibold
17
19
  @font-face {
18
- font-family: "Averta";
19
- src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Semibold.otf") format("opentype");
20
+ font-family: 'Averta';
21
+ src: url('/assets/lib-ui-theme/fonts/averta/AvertaStd-Semibold.otf') format('opentype');
20
22
  font-weight: 600;
23
+ font-display: swap;
21
24
  }
22
25
 
23
26
  /* Import Averta extra bold */
24
27
  @font-face {
25
- font-family: "Averta";
26
- src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Extrabold.otf") format("opentype");
28
+ font-family: 'Averta';
29
+ src: url('/assets/lib-ui-theme/fonts/averta/AvertaStd-Extrabold.otf') format('opentype');
27
30
  font-weight: 800;
31
+ font-display: swap;
28
32
  }
29
33
 
30
34
  // Import Averta Black
31
35
  @font-face {
32
- font-family: "Averta";
33
- src: url("/assets/lib-ui-theme/fonts/averta/AvertaStd-Black.otf") format("opentype");
36
+ font-family: 'Averta';
37
+ src: url('/assets/lib-ui-theme/fonts/averta/AvertaStd-Black.otf') format('opentype');
34
38
  font-weight: 900;
39
+ font-display: swap;
35
40
  }
@@ -16,7 +16,6 @@ blockquote {
16
16
  background-color: $color-silver;
17
17
  }
18
18
 
19
-
20
19
  .left-align {
21
20
  text-align: left;
22
21
  }
@@ -61,7 +60,8 @@ video.responsive-video {
61
60
  height: 0;
62
61
  overflow: hidden;
63
62
  }
64
- object, embed {
63
+ object,
64
+ embed {
65
65
  position: absolute;
66
66
  top: 0;
67
67
  left: 0;
@@ -70,7 +70,9 @@ object, embed {
70
70
  }
71
71
 
72
72
  /* Other (used?) */
73
- .square, .rounded, .round {
73
+ .square,
74
+ .rounded,
75
+ .round {
74
76
  overflow: hidden;
75
77
  }
76
78
  .rounded {
@@ -0,0 +1,52 @@
1
+ .ap-input {
2
+ border: 1px solid var(--comp-input-border-default-color);
3
+ border-radius: var(--comp-input-border-radius);
4
+ color: var(--comp-input-text-default-color);
5
+ font-family: var(--comp-input-text-font-family);
6
+ font-size: var(--comp-input-text-size);
7
+ font-weight: var(--comp-input-text-font-weight);
8
+ padding: var(--ref-spacing-xxs) var(--ref-spacing-xs);
9
+ &::placeholder {
10
+ color: var(--comp-input-text-placeholder-color);
11
+ }
12
+ &:disabled {
13
+ background-color: var(--comp-input-fill-disabled-color);
14
+ color: var(--comp-input-text-disabled-color);
15
+ }
16
+ &:focus {
17
+ border-color: var(--comp-input-border-focused-color);
18
+ }
19
+ // Invalid
20
+ &.invalid:not([disabled]):not(:focus):not(:hover),
21
+ &.ng-invalid.ng-dirty.ng-touched:not([disabled]):not(:focus):not(:hover) {
22
+ border: 1px solid var(--comp-input-border-error-color);
23
+ }
24
+ // Valid
25
+ &.valid:not([disabled]):not(:focus):not(:hover) {
26
+ border: 1px solid var(--comp-input-border-success-color);
27
+ }
28
+
29
+ // Hover
30
+ &:not(:focus):not([disabled]):hover {
31
+ border-color: var(--comp-input-border-hover-color);
32
+ }
33
+ &.ap-textarea.resizable {
34
+ resize: auto;
35
+ }
36
+ &.ap-textarea {
37
+ min-width: 256px;
38
+ }
39
+ &[type='search']::-webkit-search-decoration,
40
+ &[type='search']::-webkit-search-cancel-button,
41
+ &[type='search']::-webkit-search-results-button,
42
+ &[type='search']::-webkit-search-results-decoration {
43
+ display: none;
44
+ }
45
+ &.full-width {
46
+ width: 100%;
47
+ }
48
+ }
49
+
50
+ input:placeholder-shown {
51
+ text-overflow: ellipsis;
52
+ }
@@ -0,0 +1,70 @@
1
+ a {
2
+ display: inline-flex;
3
+ gap: var(--comp-link-spacing);
4
+ font-family: var(--comp-link-text-font-family);
5
+ font-weight: var(--comp-link-text-font-weight);
6
+ line-height: var(--comp-link-text-line-height);
7
+ font-size: var(--comp-link-text-size);
8
+ align-items: center;
9
+ text-decoration: underline;
10
+ -webkit-tap-highlight-color: transparent;
11
+ cursor: pointer;
12
+
13
+ &.small {
14
+ font-family: var(--comp-link-small-text-style-font-family);
15
+ font-weight: var(--comp-link-small-text-style-font-weight);
16
+ line-height: var(--comp-link-small-text-style-line-height);
17
+ font-size: var(--comp-link-small-text-style-size);
18
+ }
19
+
20
+ &.big {
21
+ font-family: var(--comp-link-big-text-style-font-family);
22
+ font-weight: var(--comp-link-big-text-style-font-weight);
23
+ line-height: var(--comp-link-big-text-style-line-height);
24
+ font-size: var(--comp-link-big-text-style-size);
25
+ }
26
+
27
+ &.standalone {
28
+ text-decoration: none;
29
+ font-family: var(--comp-link-standalone-default-text-style-font-family);
30
+ font-weight: var(--comp-link-standalone-default-text-style-font-weight);
31
+ line-height: var(--comp-link-standalone-default-text-style-line-height);
32
+ font-size: var(--comp-link-standalone-default-text-style-size);
33
+ color: var(--comp-link-default-color);
34
+
35
+ &.small {
36
+ font-family: var(--comp-link-standalone-small-text-style-font-family);
37
+ font-weight: var(--comp-link-standalone-small-text-style-font-weight);
38
+ line-height: var(--comp-link-standalone-small-text-style-line-height);
39
+ font-size: var(--comp-link-standalone-small-text-style-size);
40
+ }
41
+ }
42
+
43
+ &:not(:visited) {
44
+ color: var(--comp-link-default-color);
45
+ }
46
+
47
+ &:hover {
48
+ color: var(--comp-link-hover-color);
49
+ }
50
+
51
+ &:active:not(:visited) {
52
+ color: var(--comp-link-clicked-color);
53
+ }
54
+
55
+ &:visited:not(.standalone) {
56
+ color: var(--comp-link-visited-color);
57
+ }
58
+
59
+ &[disabled='true'] {
60
+ color: var(--comp-link-disabled-color);
61
+ pointer-events: none;
62
+ }
63
+
64
+ ap-symbol {
65
+ min-width: var(--comp-link-icon-size);
66
+ min-height: var(--comp-link-icon-size);
67
+ max-width: var(--comp-link-icon-size);
68
+ max-height: var(--comp-link-icon-size);
69
+ }
70
+ }
@@ -1,54 +1,51 @@
1
- @use '../../../../node_modules/@angular/material/index' as mat;
1
+ @use '@angular/material' as mat;
2
2
  @import 'variables';
3
3
 
4
- /*
5
- * TYPOGRAPHY
6
- * See https://material.angular.io/guide/typography
7
- */
8
-
9
- // Override typography for all Angular Material, including mat-base-typography and all components.
10
- $custom-typography: mat.define-typography-config(
11
- $font-family: $font-family,
12
- $headline: mat.define-typography-level($font-size-h1, $font-line-height-h1, $font-weight-semibold),
13
- $title: mat.define-typography-level($font-size-h2, $font-line-height-h2, $font-weight-semibold),
14
- $subheading-2: mat.define-typography-level($font-size-h3, $font-line-height-h3, $font-weight-semibold),
15
- $body-1: mat.define-typography-level($font-size, $font-line-height, $font-weight),
16
- $body-2: mat.define-typography-level($font-size, $font-line-height, $font-weight-semibold),
17
- $caption: mat.define-typography-level($font-size-s, $font-line-height-s, $font-weight)
18
- //$button: mat.define-typography-level(16px, 24px, 500),
19
- //$input: mat.define-typography-level(16px, 24px, 500)
20
- );
21
- @include mat.all-component-typographies($custom-typography);
22
-
23
4
  // Override base header tags (so that we don't have to add Material classes, e.g: class="mat-h1")
24
- h1, h2, h3, h4 {
25
- color: $color-black;
26
- font-family: $font-family-header;
5
+ h1,
6
+ h2,
7
+ h3,
8
+ h4 {
9
+ color: var(--sys-text-color-default);
10
+ font-family: var(--sys-text-style-body-font-family);
27
11
  }
28
12
  h1 {
29
- font-size: mat.font-size($custom-typography, headline);
30
- line-height: mat.line-height($custom-typography, headline);
31
- margin-bottom: $padding-s;
13
+ font-size: var(--sys-text-style-h1-size);
14
+ line-height: var(--sys-text-style-h1-line-height);
15
+ font-weight: var(--sys-text-style-h1-weight);
16
+ margin-bottom: var(--ref-spacing-xxs);
32
17
  }
33
18
  h2 {
34
- font-size: mat.font-size($custom-typography, title);
35
- line-height: mat.line-height($custom-typography, title);
36
- margin-bottom: $padding-sl;
19
+ font-size: var(--sys-text-style-h2-size);
20
+ line-height: var(--sys-text-style-h2-line-height);
21
+ font-weight: var(--sys-text-style-h2-weight);
22
+ margin-bottom: var(--ref-spacing-xxs);
37
23
  }
38
24
  h3 {
39
- font-size: mat.font-size($custom-typography, subheading-2);
40
- line-height: mat.line-height($custom-typography, subheading-2);
41
- margin-bottom: $padding-sm;
25
+ font-size: var(--sys-text-style-h3-size);
26
+ line-height: var(--sys-text-style-h3-line-height);
27
+ font-weight: var(--sys-text-style-h3-weight);
28
+ margin-bottom: var(--ref-spacing-xxxs);
42
29
  }
43
30
  h4 {
44
- font-size: $font-size-h4;
45
- font-weight: bold;
46
- line-height: $font-line-height-h4;
47
- margin-bottom: $padding-sm;
31
+ font-size: var(--sys-text-style-h4-size);
32
+ line-height: var(--sys-text-style-h4-line-height);
33
+ font-weight: var(--sys-text-style-h4-weight);
34
+ margin-bottom: var(--ref-spacing-xxxs);
48
35
  }
49
36
  p {
50
37
  margin: 0 0 $padding-ml;
51
38
  }
39
+ .h0 {
40
+ font-size: var(--sys-text-style-h0-size);
41
+ line-height: var(--sys-text-style-h0-line-height);
42
+ font-weight: var(--sys-text-style-h0-weight);
43
+ }
44
+ .ap-subtitle {
45
+ font-size: var(--sys-text-style-subtitle-size);
46
+ line-height: var(--sys-text-style-subtitle-line-height);
47
+ font-weight: var(--sys-text-style-subtitle-weight);
48
+ }
52
49
  p.large,
53
50
  span.large {
54
51
  font-size: 16px;
@@ -56,10 +53,10 @@ span.large {
56
53
  }
57
54
  p.caption,
58
55
  span.caption,
59
- .mat-caption,
56
+ .ap-caption .mat-caption,
60
57
  .mat-caption {
61
- font-size: 12px;
62
- line-height: 15px;
58
+ font-size: var(--sys-text-style-caption-size);
59
+ line-height: var(--sys-text-style-caption-line-height);
63
60
  }
64
61
  p.small,
65
62
  span.small,
@@ -68,17 +65,17 @@ small {
68
65
  line-height: 14px;
69
66
  }
70
67
 
68
+ .bold {
69
+ font-weight: var(--sys-text-style-body-bold-weight);
70
+ }
71
+
72
+ .itaclic {
73
+ font-style: italic;
74
+ }
75
+
71
76
  // Override default text state
72
77
  body {
73
- .mat-drawer-container{
78
+ .mat-drawer-container {
74
79
  color: $font-color;
75
80
  }
76
81
  }
77
-
78
- a {
79
- color: $link-color;
80
- text-decoration: none;
81
-
82
- // Gets rid of tap active state
83
- -webkit-tap-highlight-color: transparent;
84
- }