@eeacms/volto-eea-design-system 0.7.3 → 0.8.0

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 (34) hide show
  1. package/CHANGELOG.md +81 -0
  2. package/package.json +1 -1
  3. package/src/ui/Card/AvatarGrid/AvatarGrid.jsx +25 -13
  4. package/src/ui/Card/AvatarGrid/AvatarGrid.stories.jsx +33 -13
  5. package/src/ui/Card/Card.stories.jsx +173 -77
  6. package/src/ui/Card/IconCard/IconCard.stories.jsx +195 -0
  7. package/src/ui/Card/PublicationCard.stories.jsx +15 -3
  8. package/src/ui/Card/RelatedContent/RelatedContent.jsx +30 -8
  9. package/src/ui/Card/RelatedContent/RelatedContent.stories.jsx +20 -0
  10. package/src/ui/Card/RoundedCard.stories.jsx +46 -20
  11. package/src/ui/Footer/Contact.jsx +11 -7
  12. package/src/ui/Footer/Footer.jsx +1 -1
  13. package/src/ui/Footer/FooterActions.jsx +24 -7
  14. package/src/ui/Footer/FooterHeader.jsx +1 -1
  15. package/src/ui/Footer/FooterSites.jsx +22 -10
  16. package/src/ui/Footer/SubFooter.jsx +42 -38
  17. package/src/ui/Header/HeaderMenuPopUp.js +63 -47
  18. package/theme/themes/eea/assets/images/Footer/Extras/footervisual.svg +2041 -1731
  19. package/theme/themes/eea/collections/breadcrumb.overrides +4 -0
  20. package/theme/themes/eea/collections/breadcrumb.variables +1 -1
  21. package/theme/themes/eea/extras/banner.less +0 -8
  22. package/theme/themes/eea/extras/custom.overrides +4 -1
  23. package/theme/themes/eea/extras/footer.less +93 -59
  24. package/theme/themes/eea/extras/footer.variables +31 -34
  25. package/theme/themes/eea/extras/header.less +13 -4
  26. package/theme/themes/eea/extras/header.variables +7 -4
  27. package/theme/themes/eea/globals/site.overrides +20 -0
  28. package/theme/themes/eea/globals/site.variables +9 -8
  29. package/theme/themes/eea/globals/utilities.less +6 -1
  30. package/theme/themes/eea/tokens/fonts.less +18 -17
  31. package/theme/themes/eea/views/card.overrides +179 -123
  32. package/theme/themes/eea/views/card.variables +34 -33
  33. package/theme/themes/eea/views/item.overrides +15 -1
  34. package/theme/themes/eea/views/item.variables +5 -2
@@ -25,6 +25,10 @@
25
25
  text-overflow: ellipsis;
26
26
  white-space: nowrap;
27
27
 
28
+ &.active {
29
+ color: @activeColor;
30
+ }
31
+
28
32
  img {
29
33
  width: @breadcrumbImgWidth;
30
34
  }
@@ -46,5 +46,5 @@
46
46
  /*-------------------
47
47
  States
48
48
  --------------------*/
49
-
49
+ @activeColor: @tertiaryColor;
50
50
  @activeFontWeight: @normal;
@@ -7,19 +7,11 @@
7
7
  BANNER
8
8
  --------------------*/
9
9
 
10
- @font-face {
11
- font-display: swap;
12
- font-family: 'Archivo';
13
- src: url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap')
14
- format('truetype');
15
- }
16
-
17
10
  .eea.banner {
18
11
  width: 100%;
19
12
  color: @white;
20
13
  background: @bannerBackgroundColor;
21
14
  position: relative;
22
- font-family: 'Archivo', sans-serif;
23
15
 
24
16
  .gradient {
25
17
  background: @backgroundGradient;
@@ -11,11 +11,14 @@
11
11
  display: none !important;
12
12
  }
13
13
 
14
+ .homepage #page-document > .hero-block h2 {
15
+ font-size: @h1;
16
+ }
17
+
14
18
  // remove margin and padding from homepage content-area since we have the bg image over the header
15
19
  .homepage .content-area {
16
20
  margin-top: 0 !important;
17
21
  padding-top: 0 !important;
18
-
19
22
  }
20
23
 
21
24
  // use homepage text color for color of cards that are within a content-box that has a variant class
@@ -11,10 +11,10 @@ footer {
11
11
  display: flex;
12
12
  flex-direction: column;
13
13
  align-items: center;
14
- background: @footerBackgroundGrandient;
14
+ background: @mobileFooterBackgroundGrandient;
15
15
  color: @white;
16
16
 
17
- .wrapper {
17
+ .footer-wrapper {
18
18
  width: @wrapperWidth;
19
19
  padding: @mobileWrapperPadding;
20
20
  background-image: @wrapperBackgroundImage;
@@ -26,22 +26,12 @@ footer {
26
26
  footer .theme-sites {
27
27
  padding: @mobileThemeSitesPadding;
28
28
 
29
- .header {
30
- font-weight: @footerTitleFontWeight;
31
- }
32
-
33
29
  .logos .ui.grid {
34
30
  align-items: center;
35
31
  }
36
32
 
37
- .logos .logo {
38
- display: flex;
39
- align-items: center;
40
- justify-content: center;
41
-
42
- img {
43
- margin: auto;
44
- }
33
+ .logos .logo img {
34
+ margin: @mobileThemeSitesLogoMargin;
45
35
  }
46
36
  }
47
37
 
@@ -50,8 +40,6 @@ footer .theme-sites {
50
40
  }
51
41
 
52
42
  .subfooter .item {
53
- margin-top: @mobileItemMarginTop;
54
-
55
43
  .header {
56
44
  margin-bottom: @mobileItemHeaderMarginBottom;
57
45
  font-size: @mobileFooterTitleFontSize;
@@ -61,15 +49,20 @@ footer .theme-sites {
61
49
  }
62
50
 
63
51
  .subfooter .contact-block {
64
- margin-inline: @mobileContactBlockMarginInline;
65
52
  margin-bottom: @tabletContactBlockMarginbottom;
66
53
  }
67
54
 
55
+ .contact-block .subcontact a {
56
+ font-size: @computerSubcontactIconFontSize;
57
+ margin-right: @computerSubcontactIconMarginRight;
58
+ font-weight: @computerSubcontactIconFontWeight;
59
+ }
60
+
68
61
  .subfooter .contact {
69
- display: flex;
70
- align-items: center;
62
+ display: block;
71
63
  margin: @mobileContactMargin;
72
- font-size: @mobileContactFontSize;
64
+ font-size: @contactFontSize;
65
+ gap: @contactGap;
73
66
 
74
67
  a {
75
68
  color: @menuLinkColor;
@@ -81,13 +74,10 @@ footer .theme-sites {
81
74
  }
82
75
  }
83
76
 
84
- .subfooter .address {
85
- font-size: @addressFontSize;
86
- }
87
-
88
77
  .subfooter .social {
89
78
  display: flex;
90
79
  justify-content: @mobileSocialJustifyContent;
80
+ margin: @mobileSocialIconsMargin;
91
81
 
92
82
  a {
93
83
  color: @socialIconColor;
@@ -103,18 +93,23 @@ footer .theme-sites {
103
93
  }
104
94
  }
105
95
 
106
- .subfooter .menu {
107
- display: flex;
108
- align-items: center;
109
- justify-content: space-between;
110
- width: @mobileMenuWidth;
111
- margin: @mobileMenuMargin;
96
+ footer .footer-wrapper .menu {
97
+ .actions {
98
+ display: flex;
99
+ justify-content: center;
100
+ }
101
+
102
+ .copyright {
103
+ display: flex;
104
+ justify-content: center;
105
+ }
112
106
 
113
107
  a {
114
108
  color: @menuLinkColor;
115
109
  font-weight: @menuFontWeight;
116
110
  font-size: @mobileMenuFontSize;
117
111
  cursor: pointer;
112
+ margin-inline: 12px;
118
113
 
119
114
  &:hover,
120
115
  &:active {
@@ -123,31 +118,70 @@ footer .theme-sites {
123
118
  }
124
119
  }
125
120
 
121
+ @media only screen and (max-width: @largestMobileScreen) {
122
+ .footer-wrapper > .container {
123
+ display: flex;
124
+ flex-direction: column;
125
+ }
126
+ .copyright {
127
+ display: none !important;
128
+ }
129
+
130
+ .subfooter {
131
+ order: 1
132
+ }
133
+
134
+ .menu {
135
+ order: 2;
136
+ position: relative;
137
+ margin: @mobileMenuMargin;
138
+ }
139
+ .menu::after {
140
+ position: absolute;
141
+ bottom: 0;
142
+ border: @mobileMenuBorder;
143
+ content: " ";
144
+ display: block;
145
+ width: 100vw;
146
+ left: @mobileMenuLeft;
147
+ }
148
+ footer .footer-wrapper .menu a {
149
+ font-weight: @mobileMenuFontWeight;
150
+ }
151
+
152
+ .theme-sites {
153
+ order: 3;
154
+ }
155
+ }
156
+
126
157
  @media only screen and (min-width: @tabletBreakpoint) {
158
+ footer {
159
+ background: @computerFooterBackgroundGrandient;
160
+ }
127
161
  footer .theme-sites {
128
162
  .header {
129
163
  font-size: @tabletFooterTitleFontSize;
164
+ font-weight: @tabletFooterTitleFontWeight;
130
165
  }
131
166
  }
132
167
 
133
168
  .subfooter .item {
134
- margin-top: @tabletItemMarginTop;
169
+ .logo img {
170
+ max-height: 100px;
171
+ }
135
172
 
136
- .site.logo {
137
- img {
138
- width: @tabletSiteLogoWidth;
139
- display: @tabletSiteLogoDisplay;
140
- }
173
+ .site.logo img {
174
+ padding-right: @siteLogoPaddingRight;
175
+ }
176
+
177
+ .contact-block {
178
+ padding-left: @siteLogoPaddingRight;
141
179
  }
142
180
 
143
181
  .header {
144
182
  font-size: @tabletFooterTitleFontSize;
145
183
  text-align: left;
146
184
  }
147
-
148
- .social a i.icon {
149
- font-size: @tabletSocialIconSize;
150
- }
151
185
  }
152
186
 
153
187
 
@@ -158,17 +192,26 @@ footer .theme-sites {
158
192
  .subfooter .social {
159
193
  justify-content: @tabletSocialJustifyContent;
160
194
  gap: @tabletSocialGap;
195
+ margin: @tabletSocialIconsMargin;
196
+
197
+ a {
198
+ i.icon {
199
+ font-size: @tabletSocialIconSize;
200
+ }
201
+ }
161
202
  }
162
203
 
163
- .subfooter .menu {
164
- width: @tabletMenuWidth;
165
- margin: @tabletMenuMargin;
204
+ footer .footer-wrapper .menu {
205
+ .actions {
206
+ justify-content: flex-end;
207
+ }
166
208
  }
209
+
167
210
  }
168
211
 
169
212
  @media only screen and (min-width: @computerBreakpoint) {
170
213
  footer {
171
- .wrapper {
214
+ .footer-wrapper {
172
215
  padding: @computerWrapperPadding;
173
216
  background-size: @computerWrapperBackgroundSize;
174
217
  }
@@ -180,6 +223,9 @@ footer .theme-sites {
180
223
  .header {
181
224
  font-size: @computerFooterTitleFontSize;
182
225
  }
226
+ .logos .logo img {
227
+ margin: @computerThemeSitesLogoMargin;
228
+ }
183
229
  }
184
230
 
185
231
  .subfooter .logo-header {
@@ -188,26 +234,15 @@ footer .theme-sites {
188
234
  }
189
235
 
190
236
  .subfooter .item {
191
- margin-top: @computerItemMarginTop;
192
-
193
- .site.logo {
194
- img {
195
- width: @computerSiteLogoWidth;
196
- }
197
- }
198
-
199
237
  .header {
200
238
  margin-bottom: @computerItemHeaderMarginBottom;
201
239
  font-size: @computerFooterTitleFontSize;
202
240
  }
203
-
204
- .social a i.icon {
205
- font-size: @computerSocialIconSize;
206
- }
207
241
  }
208
242
 
209
243
  .subfooter .contact {
210
- font-size: @computerContactFontSize;
244
+ display: flex;
245
+ align-items: center;
211
246
  margin: @computerContactMargin;
212
247
 
213
248
  i.big.icon {
@@ -215,8 +250,7 @@ footer .theme-sites {
215
250
  }
216
251
  }
217
252
 
218
- .subfooter .menu {
219
- width: @computerMenuWidth;
253
+ .footer .footer-wrapper .menu {
220
254
 
221
255
  a {
222
256
  font-size: @computerMenuFontSize;
@@ -2,13 +2,16 @@
2
2
  Footer
3
3
  *******************************/
4
4
 
5
- @footerBackgroundGrandient: linear-gradient(220.4deg, #009591 8.29%, #2E3E4C 56.3%, #212D38 89.06%);
5
+ /* @footerBackgroundGrandient: linear-gradient(220.4deg, #009591 8.29%, #2E3E4C 56.3%, #212D38 89.06%); */
6
+ @mobileFooterBackgroundGrandient: linear-gradient(220.4deg, @green-5 8.29%, @blue-grey-6 56.3%, #212D38 89.06%);
7
+ @computerFooterBackgroundGrandient: linear-gradient(212.33deg, @green-5 6.78%, #212D38 69.54%, #212D38 98.23%);
6
8
 
7
9
  /* Titles */
8
- @footerTitleFontWeight : @font-weight-7;
9
- @mobileFooterTitleFontSize : @font-size-3;
10
- @tabletFooterTitleFontSize : @font-size-4;
11
- @computerFooterTitleFontSize: @font-size-6;
10
+ @footerTitleFontWeight : @font-weight-7;
11
+ @mobileFooterTitleFontSize : @font-size-1;
12
+ @tabletFooterTitleFontSize : @font-size-4;
13
+ @computerFooterTitleFontSize: @font-size-4;
14
+ @tabletFooterTitleFontWeight: @font-weight-7;
12
15
 
13
16
  /* Wrapper */
14
17
  @wrapperBackgroundImage : url(../assets/images/Footer/Extras/footervisual.svg);
@@ -21,13 +24,10 @@
21
24
  @computerWrapperPadding : @space-20 0 @space-18;
22
25
 
23
26
  /* Theme Sites */
24
- @mobileThemeSitesPadding : @space-2 0 @space-8;
25
- @computerThemeSitesPadding : @space-4 0 @space-8;
26
-
27
- /* Subfooter with logo and contact info */
28
- @mobileItemMarginTop : @space-4;
29
- @tabletItemMarginTop : @space-8;
30
- @computerItemMarginTop : @space-18;
27
+ @mobileThemeSitesPadding : @space-2 0;
28
+ @computerThemeSitesPadding : @space-4 0;
29
+ @mobileThemeSitesLogoMargin : 0 auto @rem-space-8;
30
+ @computerThemeSitesLogoMargin : 0 auto @rem-space-10;
31
31
 
32
32
  /* Subfooter Item Header */
33
33
  @mobileItemHeaderMarginBottom : @space-5;
@@ -35,42 +35,39 @@
35
35
  @computerLogoHeaderMarginLeft : -50px;
36
36
 
37
37
  /* Site Logo */
38
- @tabletSiteLogoWidth : 230px;
39
- @computerSiteLogoWidth : 250px;
40
- @tabletSiteLogoDisplay : inline-block;
38
+ @siteLogoPaddingRight : 20%;
41
39
 
42
40
  /* Contact Info */
43
- @mobileContactBlockMarginInline : 10%;
44
41
  @tabletContactBlockMarginInline : 0;
45
42
  @tabletContactBlockMarginbottom : @space-4;
46
43
  @mobileContactMargin : @space-4 0;
47
- @computerContactMargin : @space-5 0;
48
- @mobileContactFontSize : @font-size-1;
49
- @computerContactFontSize : @font-size-2;
44
+ @computerContactMargin : @rem-space-050 0;
45
+ @contactFontSize : @font-size-3;
46
+ @contactGap : @rem-space-8;
50
47
  @mobileContactIconMarginRight : @space-3;
51
48
  @mobileContactIconFontSize : @font-size-4;
52
- @computerContactIconFontSize : @font-size-5;
53
-
54
- /* Address */
55
- @addressFontSize : @font-size-0;
49
+ @computerContactIconFontSize : @font-size-9;
50
+ @computerSubcontactIconFontSize : @font-size-1;
51
+ @computerSubcontactIconMarginRight : @rem-space-4;
52
+ @computerSubcontactIconFontWeight : @font-weight-4;
56
53
 
57
54
  /* Social Icons */
55
+ @mobileSocialIconsMargin : @rem-space-2 0 @rem-space-8;
56
+ @tabletSocialIconsMargin : @rem-space-17 0;
58
57
  @socialIconColor : @white;
59
58
  @mobileSocialJustifyContent : space-around;
60
- @tabletSocialJustifyContent : start;
61
- @tabletSocialGap : @space-1;
62
- @mobileSocialIconSize : @font-size-5;
63
- @tabletSocialIconSize : @font-size-4;
64
- @computerSocialIconSize : @font-size-5;
59
+ @tabletSocialJustifyContent : center;
60
+ @tabletSocialGap : @space-3;
61
+ @mobileSocialIconSize : @font-size-9;
62
+ @tabletSocialIconSize : @font-size-9;
65
63
 
66
64
  /* Footer Menu */
67
- @mobileMenuMargin : @space-8 auto 0;
68
- @tabletMenuMargin : @space-13 auto 0;
69
- @computerMenuMargin : @space-20 auto 0;
70
- @mobileMenuWidth : 100%;
71
- @tabletMenuWidth : 350px;
72
- @computerMenuWidth : 500px;
65
+
73
66
  @menuLinkColor : @white;
74
67
  @menuFontWeight : @font-weight-3;
75
68
  @mobileMenuFontSize : @font-size-0;
69
+ @mobileMenuMargin : @rem-space-4 0;
70
+ @mobileMenuBorder : 1px solid rgba(249, 249, 249, 0.25);
71
+ @mobileMenuLeft : -20px;
72
+ @mobileMenuFontWeight : 400;
76
73
  @computerMenuFontSize : @font-size-1;
@@ -565,7 +565,11 @@
565
565
  }
566
566
  }
567
567
  }
568
- #mega-menu .ui.list .item {
568
+
569
+ #mega-menu .ui.list {
570
+ margin: 0;
571
+ }
572
+ #mega-menu .item {
569
573
  display: flex;
570
574
  font-size: @megaMenuListItemFontSize;
571
575
  font-weight: @megaMenuListItemFontWeight;
@@ -574,6 +578,10 @@
574
578
 
575
579
  #mega-menu a.item {
576
580
  color: @megaMenuTextColor;
581
+ display: @megaMenuTextDisplay;
582
+ &:hover {
583
+ text-decoration: @megaMenuTextHoverDecoration;
584
+ }
577
585
 
578
586
  i.icon {
579
587
  color: @megaMenuTextColor;
@@ -586,7 +594,7 @@
586
594
  // To override the grid column paddings
587
595
  padding: @megaMenuGlancePaddingLeft !important;
588
596
 
589
- .ui.list .item {
597
+ .item {
590
598
  font-size: @megaMenuGlanceListItemFontSize;
591
599
  font-weight: @megaMenuGlanceListItemFontWeight;
592
600
  margin: @megaMenuGlanceListItemMargin;
@@ -607,8 +615,9 @@
607
615
  padding-top: @megaMenuContentPaddingTop;
608
616
  }
609
617
 
610
- #mega-menu .active > span {
611
- border-bottom: 2px solid #FFF;
618
+ #mega-menu .active:not(.title-link) > span {
619
+ border-left: @megaMenuListItemActiveBorder;
620
+ padding-left: @megaMenuListItemActivePadding;
612
621
  }
613
622
 
614
623
  /*Mega Menu Accordion - Tablet & Mobile */
@@ -133,7 +133,9 @@
133
133
  /* Mega menu */
134
134
  @mobileMegaMenuWidth: 94%;
135
135
  @megaMenuBackgroundColor: @darkMidnightBlue;
136
+ @megaMenuTextDisplay: flex;
136
137
  @megaMenuTextColor: @white;
138
+ @megaMenuTextHoverDecoration: underline;
137
139
  @mobileMegaMenuPadding: @rem-space-4 0;
138
140
  @tabletMegaMenuPadding: @rem-space-9;
139
141
  @computerMegaMenuPadding: @rem-space-10 0 0 0;
@@ -152,19 +154,20 @@
152
154
  @megaMenuListItemFontSize: @font-size-1;
153
155
  @megaMenuListItemFontWeight: @font-weight-4;
154
156
  @megaMenuListItemPadding: @rem-space-2 0;
155
- @megaMenuListItemActiveBorder: 2px solid #FFF;
157
+ @megaMenuListItemActiveBorder: 4px solid #FFF;
158
+ @megaMenuListItemActivePadding: 8px;
156
159
 
157
160
  /* At a glance */
158
161
  @megaMenuGlanceBackgroundColor: @secondaryColor;
159
162
  @megaMenuGlancePaddingLeft: @rem-space-8 @rem-space-5;
160
163
  @megaMenuGlanceListItemFontSize: @font-size-2;
161
- @megaMenuGlanceListItemFontWeight: @font-weight-6;
162
- @megaMenuGlanceListItemMargin: @rem-space-6 0;
164
+ @megaMenuGlanceListItemFontWeight: @font-weight-4;
165
+ @megaMenuGlanceListItemMargin: @rem-space-4 0;
163
166
 
164
167
  /* Accordion */
165
168
  @megaMenuAccordionTitleFontSize: @font-size-3;
166
169
  @megaMenuAccordionTitlePadding: @rem-space-2 0;
167
- @megaMenuAccordionIconFontSize: @font-size-5;
170
+ @megaMenuAccordionIconFontSize: @font-size-9;
168
171
  @megaMenuAccordionContentPadding: @rem-space-4 0;
169
172
  @megaMenuAccordionTitleBorderBottom: 1px solid rgba(255, 255, 255, 0.25);
170
173
  @megaMenuAccordionActiveTitleBorderBottom: 1px solid @white;
@@ -4,6 +4,26 @@
4
4
 
5
5
  @import '@eeacms/volto-eea-design-system/../theme/themes/eea/globals/utilities';
6
6
 
7
+ h1, h2, h3, h4, h5, h6 {
8
+ line-height: @font-lineheight-0;
9
+ letter-spacing: @font-letterspacing-00;
10
+ }
11
+
12
+ h2, h3, h4, h5, h6 {
13
+ color: @headerColor;
14
+ }
15
+
16
+ .content-area {
17
+ color: @contentAreaColor;
18
+ }
19
+
20
+ // text smaller than body has extra letterspacing as described in docusaurus
21
+ .tiny,
22
+ .caption,
23
+ .discreet {
24
+ letter-spacing: @font-letterspacing-1;
25
+ }
26
+
7
27
  /* Heading size adjustment */
8
28
  @media only screen and (max-width: @largestMobileScreen) {
9
29
  h1 { font-size: @mobileH1; }
@@ -9,7 +9,6 @@
9
9
  --------------------*/
10
10
 
11
11
  @fontName : 'Roboto';
12
- @secondaryFontName : 'Archivo';
13
12
  @fontSmoothing : antialiased;
14
13
 
15
14
  @headerFont : @fontName, Arial, 'Helvetica Neue', Helvetica, sans-serif;
@@ -71,15 +70,16 @@
71
70
  Page Heading
72
71
  ---------------*/
73
72
 
74
- @headerLineHeight : 1.25;
73
+ @headerLineHeight : 1.2;
75
74
  @headerFontWeight : @font-weight-7;
75
+ @headerColor: inherit;
76
76
 
77
- @h1 : unit((48 / @fontSize), rem);
78
- @h2 : unit((40 / @fontSize), rem);
79
- @h3 : unit((36 / @fontSize), rem);
80
- @h4 : unit((24 / @fontSize), rem);
81
- @h5 : unit((20 / @fontSize), rem);
82
- @h6 : unit((18 / @fontSize), rem);
77
+ @h1 : unit((44 / @fontSize), rem);
78
+ @h2 : unit((32 / @fontSize), rem);
79
+ @h3 : unit((26 / @fontSize), rem);
80
+ @h4 : unit((20 / @fontSize), rem);
81
+ @h5 : unit((18 / @fontSize), rem);
82
+ @h6 : unit((16 / @fontSize), rem);
83
83
 
84
84
  @mobileH1: unit((30 / @fontSize), rem);
85
85
  @mobileH2: unit((24 / @fontSize), rem);
@@ -181,6 +181,7 @@
181
181
  @lineHeight : @font-lineheight-3;
182
182
  @mobileLineHeight : @font-lineheight-3;
183
183
  @textColor : rgba(0, 0, 0, 1);
184
+ @contentAreaColor : @tertiaryColor;
184
185
 
185
186
  /*-------------------
186
187
  Paragraph
@@ -33,10 +33,15 @@ h1, h2, h3, h4, h5, h6, p, span, .header {
33
33
  .flex-items-end { align-items: flex-end !important; }
34
34
  .flex-items-center { align-items: center !important; }
35
35
 
36
- // Align text
36
+ // Text
37
37
  .text-left { text-align: left !important; }
38
38
  .text-center { text-align: center !important;}
39
39
  .text-right { text-align: right !important; }
40
+ .bold { font-weight: bold !important; }
41
+
42
+ // Text utilities
43
+ .bold { font-weight: @bold !important; }
44
+ .underline { text-decoration: underline !important; }
40
45
 
41
46
  // Quotes
42
47
  .quoted-wrapper h2::before,
@@ -8,7 +8,7 @@
8
8
  @font-weight-8: 800;
9
9
  @font-weight-9: 900;
10
10
  @font-lineheight-00: .95;
11
- @font-lineheight-0: 1.1;
11
+ @font-lineheight-0: 1.2;
12
12
  @font-lineheight-1: 1.25;
13
13
  @font-lineheight-2: 1.375;
14
14
  @font-lineheight-3: 1.5;
@@ -16,24 +16,25 @@
16
16
  @font-lineheight-5: 2;
17
17
  @font-letterspacing-000: -.02em;
18
18
  @font-letterspacing-00: -.015em;
19
- @font-letterspacing-0: -.005em;
20
- @font-letterspacing-1: .005em;
19
+ @font-letterspacing-0: -.01em;
20
+ @font-letterspacing-1: .01em;
21
21
  @font-letterspacing-2: .015em;
22
22
  @font-letterspacing-3: .02em;
23
23
  @font-letterspacing-4: .075em;
24
24
  @font-letterspacing-5: .15em;
25
25
  @font-size-00: .75rem;
26
- @font-size-0: .875rem;
27
- @font-size-1: 1rem;
28
- @font-size-2: 1.1rem;
29
- @font-size-3: 1.25rem;
30
- @font-size-4: 1.5rem;
31
- @font-size-5: 2rem;
32
- @font-size-6: 2.25rem;
33
- @font-size-7: 2.5rem;
34
- @font-size-8: 3rem;
35
- @font-size-9: 3.5rem;
36
- @font-size-fluid-0: clamp(.75rem, 2vw, 1rem);
37
- @font-size-fluid-1: clamp(1rem, 4vw, 1.5rem);
38
- @font-size-fluid-2: clamp(1.5rem, 6vw, 2.5rem);
39
- @font-size-fluid-3: clamp(2rem, 9vw, 3.5rem);
26
+ @font-size-0: .875rem;
27
+ @font-size-1: 1rem;
28
+ @font-size-2: 1.125rem;
29
+ @font-size-3: 1.25rem;
30
+ @font-size-4: 1.5rem;
31
+ @font-size-5: 1.625rem;
32
+ @font-size-6: 1.875rem;
33
+ @font-size-7: 2rem;
34
+ @font-size-8: 2.25rem;
35
+ @font-size-9: 2.5rem;
36
+ @font-size-10: 2.75rem;
37
+ @font-size-fluid-0: clamp(1.125rem, 2vw, 1.25rem);
38
+ @font-size-fluid-1: clamp(1.25rem, 4vw, 1.625rem);
39
+ @font-size-fluid-2: clamp(1.5rem, 6vw, 2rem);
40
+ @font-size-fluid-3: clamp(1.875rem, 9vw, 2.75rem);