@eeacms/volto-eea-design-system 0.7.5 → 0.8.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 (43) hide show
  1. package/CHANGELOG.md +88 -0
  2. package/mockups/EEA component library.fig +0 -0
  3. package/mockups/page-templates/R1 R3 templates.fig +0 -0
  4. package/mockups/page-templates/WISE BISE FISE.fig +0 -0
  5. package/mockups/page-templates/datahub/Data hub updated proposal.fig +0 -0
  6. package/mockups/page-templates/homepage_selected_upd1.fig +0 -0
  7. package/mockups/special-designs/Mega Menu.fig +0 -0
  8. package/mockups/special-designs/New footer.fig +0 -0
  9. package/mockups/special-designs/Search (Final).fig +0 -0
  10. package/mockups/special-designs/Side Navigation.fig +0 -0
  11. package/package.json +1 -1
  12. package/src/ui/Card/AvatarGrid/AvatarGrid.jsx +25 -13
  13. package/src/ui/Card/AvatarGrid/AvatarGrid.stories.jsx +33 -13
  14. package/src/ui/Card/Card.stories.jsx +173 -77
  15. package/src/ui/Card/IconCard/IconCard.stories.jsx +195 -0
  16. package/src/ui/Card/PublicationCard.stories.jsx +15 -3
  17. package/src/ui/Card/RelatedContent/RelatedContent.jsx +30 -8
  18. package/src/ui/Card/RelatedContent/RelatedContent.stories.jsx +20 -0
  19. package/src/ui/Card/RoundedCard.stories.jsx +46 -20
  20. package/src/ui/Footer/Contact.jsx +11 -7
  21. package/src/ui/Footer/Footer.jsx +1 -1
  22. package/src/ui/Footer/FooterActions.jsx +24 -7
  23. package/src/ui/Footer/FooterHeader.jsx +1 -1
  24. package/src/ui/Footer/FooterSites.jsx +22 -10
  25. package/src/ui/Footer/SubFooter.jsx +42 -38
  26. package/theme/themes/eea/assets/images/Footer/Extras/footervisual.svg +2041 -1731
  27. package/theme/themes/eea/collections/breadcrumb.overrides +4 -0
  28. package/theme/themes/eea/collections/breadcrumb.variables +1 -1
  29. package/theme/themes/eea/collections/message.overrides +19 -20
  30. package/theme/themes/eea/collections/message.variables +45 -23
  31. package/theme/themes/eea/extras/banner.less +0 -8
  32. package/theme/themes/eea/extras/custom.overrides +4 -1
  33. package/theme/themes/eea/extras/footer.less +69 -59
  34. package/theme/themes/eea/extras/footer.variables +31 -35
  35. package/theme/themes/eea/extras/header.variables +1 -1
  36. package/theme/themes/eea/globals/site.overrides +20 -0
  37. package/theme/themes/eea/globals/site.variables +31 -28
  38. package/theme/themes/eea/globals/utilities.less +6 -1
  39. package/theme/themes/eea/tokens/fonts.less +18 -17
  40. package/theme/themes/eea/views/card.overrides +179 -123
  41. package/theme/themes/eea/views/card.variables +34 -33
  42. package/theme/themes/eea/views/item.overrides +15 -1
  43. 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;
@@ -2,33 +2,32 @@
2
2
  Theme Overrides
3
3
  *******************************/
4
4
 
5
- /* Text size and weight */
6
- .ui.message p {
7
- font-size: @messageFontSize;
5
+ /* Old custom messages | update in form refactoring
6
+
7
+ .field-wrapper .ui.message p {
8
8
  font-weight: @messageFontWeight;
9
9
  }
10
-
11
- /* Text color for non state messages */
12
- .ui.message:not(.success):not(.error):not(.warning):not(.info):not(.negative):not(.positive) {
10
+ .field-wrapper .ui.message:not(.success):not(.error):not(.warning):not(.info):not(.negative):not(.positive) {
13
11
  color: @messageColor;
14
12
  }
15
13
 
16
- /* Align icon next to header */
17
- .ui.icon.message {
14
+ .field-wrapper .ui.icon.message {
18
15
  align-items: @messageItemsAlign;
19
16
  }
20
-
21
- /* Icon margin to align with header text size */
22
- div.ui.icon.message > .icon,
23
- div.ui.icon.message > .icon:not(.close) {
17
+ .field-wrapper div.ui.icon.message > .icon,
18
+ .field-wrapper div.ui.icon.message > .icon:not(.close) {
24
19
  margin: @iconMargin;
20
+ line-height: @iconLineHeight;
25
21
  }
22
+ */
26
23
 
27
- .ui.success.message,
28
- .ui.warning.message,
29
- .ui.error.message,
30
- .ui.info.message,
31
- .ui.positive.message,
32
- .ui.negative.message {
33
- background: @background;
34
- }
24
+ // No background or border for form messages
25
+ .field-wrapper .ui.success.message,
26
+ .field-wrapper .ui.warning.message,
27
+ .field-wrapper .ui.error.message,
28
+ .field-wrapper .ui.info.message,
29
+ .field-wrapper .ui.positive.message,
30
+ .field-wrapper .ui.negative.message {
31
+ background: transparent;
32
+ box-shadow: none;
33
+ }
@@ -2,24 +2,32 @@
2
2
  Message
3
3
  *******************************/
4
4
 
5
+ @messageFontWeight: @bold;
6
+ @messageColor: @black;
7
+ @messageItemsAlign: flex-start;
8
+ @iconLineHeight: 1.29;
9
+ @iconMargin: 0.75rem;
5
10
 
6
11
  /*-------------------
7
12
  Elements
8
13
  --------------------*/
9
14
 
10
15
  @verticalMargin: 1em;
11
- @verticalPadding: 0.5rem;
12
- @horizontalPadding: 0;
16
+ @verticalPadding: 1.5em;
17
+ @verticalPadding: 1em;
18
+ @horizontalPadding: 1.5em;
13
19
  @padding: @verticalPadding @horizontalPadding;
14
- @background: transparent;
20
+ @background: #F8F8F9;
15
21
  @lineHeightOffset: ((@lineHeight - 1em) / 2);
16
- @messageItemsAlign: flex-start;
17
22
 
18
- @borderRadius: @defaultBorderRadius;
19
- @borderWidth: 0;
23
+ @borderRadius: 0;
24
+ @borderWidth: 1px;
20
25
  @borderShadow: 0px 0px 0px @borderWidth @strongBorderColor inset;
21
26
  @shadowShadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
22
- @boxShadow: none;
27
+ @boxShadow:
28
+ @borderShadow,
29
+ @shadowShadow
30
+ ;
23
31
 
24
32
  @transition:
25
33
  opacity @defaultDuration @defaultEasing,
@@ -29,7 +37,7 @@
29
37
  ;
30
38
 
31
39
  /* Header */
32
- @headerFontSize: 0.875rem;
40
+ @headerFontSize: @relativeLarge;
33
41
  @headerFontWeight: @bold;
34
42
  @headerDisplay: block;
35
43
  @headerDistance: 0rem;
@@ -37,11 +45,8 @@
37
45
  @headerParagraphDistance: 0.15em;
38
46
 
39
47
  /* Paragraph */
40
- @messageTextOpacity: 1;
41
- @messageParagraphMargin: 0;
42
- @messageColor: @black;
43
- @messageFontSize: 0.875rem;
44
- @messageFontWeight: @bold;
48
+ @messageTextOpacity: 0.85;
49
+ @messageParagraphMargin: 0.75em;
45
50
 
46
51
  /* List */
47
52
  @listOpacity: 0.85;
@@ -51,7 +56,7 @@
51
56
  @listItemMargin: 0.3em;
52
57
 
53
58
  /* Icon */
54
- @iconDistance: 0.3em;
59
+ @iconDistance: @rem-space-4;
55
60
 
56
61
  /* Close Icon */
57
62
  @closeTopDistance: @verticalPadding - @lineHeightOffset;
@@ -65,9 +70,8 @@
65
70
  --------------------*/
66
71
 
67
72
  /* Icon Message */
68
- @iconMargin: 0.09rem 0.6rem 0 0;
69
- @iconSize: 1rem;
70
- @iconOpacity: 1;
73
+ @iconSize: 2em;
74
+ @iconOpacity: 0.8;
71
75
  @iconContentDistance: 0rem;
72
76
  @iconVerticalAlign: top;
73
77
 
@@ -133,10 +137,28 @@
133
137
  ;
134
138
 
135
139
  /* Warning / Positive / Negative / Info */
136
- @positiveBoxShadow: none;
137
- @negativeBoxShadow: none;
138
- @infoBoxShadow: none;
139
- @warningBoxShadow: none;
140
- @errorBoxShadow: none;
141
- @successBoxShadow: none;
140
+ @positiveBoxShadow:
141
+ 0px 0px 0px @borderWidth @positiveBorderColor inset,
142
+ @shadowShadow
143
+ ;
144
+ @negativeBoxShadow:
145
+ 0px 0px 0px @borderWidth @negativeBorderColor inset,
146
+ @shadowShadow
147
+ ;
148
+ @infoBoxShadow:
149
+ 0px 0px 0px @borderWidth @infoBorderColor inset,
150
+ @shadowShadow
151
+ ;
152
+ @warningBoxShadow:
153
+ 0px 0px 0px @borderWidth @warningBorderColor inset,
154
+ @shadowShadow
155
+ ;
156
+ @errorBoxShadow:
157
+ 0px 0px 0px @borderWidth @errorBorderColor inset,
158
+ @shadowShadow
159
+ ;
160
+ @successBoxShadow:
161
+ 0px 0px 0px @borderWidth @successBorderColor inset,
162
+ @shadowShadow
163
+ ;
142
164
 
@@ -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,46 @@ 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
+
127
+ footer .footer-wrapper .menu .copyright a {
128
+ font-size: @mobileMenuCopyrightFontSize;
129
+ font-weight: @mobileMenuCopyrightFontWeight;
130
+ }
131
+ }
132
+
126
133
  @media only screen and (min-width: @tabletBreakpoint) {
134
+ footer {
135
+ background: @computerFooterBackgroundGrandient;
136
+ }
127
137
  footer .theme-sites {
128
138
  .header {
129
139
  font-size: @tabletFooterTitleFontSize;
140
+ font-weight: @tabletFooterTitleFontWeight;
130
141
  }
131
142
  }
132
143
 
133
144
  .subfooter .item {
134
- margin-top: @tabletItemMarginTop;
145
+ .logo img {
146
+ max-height: 100px;
147
+ }
135
148
 
136
- .site.logo {
137
- img {
138
- width: @tabletSiteLogoWidth;
139
- display: @tabletSiteLogoDisplay;
140
- }
149
+ .site.logo img {
150
+ padding-right: @siteLogoPaddingRight;
151
+ }
152
+
153
+ .contact-block {
154
+ padding-left: @siteLogoPaddingRight;
141
155
  }
142
156
 
143
157
  .header {
144
158
  font-size: @tabletFooterTitleFontSize;
145
159
  text-align: left;
146
160
  }
147
-
148
- .social a i.icon {
149
- font-size: @tabletSocialIconSize;
150
- }
151
161
  }
152
162
 
153
163
 
@@ -158,17 +168,26 @@ footer .theme-sites {
158
168
  .subfooter .social {
159
169
  justify-content: @tabletSocialJustifyContent;
160
170
  gap: @tabletSocialGap;
171
+ margin: @tabletSocialIconsMargin;
172
+
173
+ a {
174
+ i.icon {
175
+ font-size: @tabletSocialIconSize;
176
+ }
177
+ }
161
178
  }
162
179
 
163
- .subfooter .menu {
164
- width: @tabletMenuWidth;
165
- margin: @tabletMenuMargin;
180
+ footer .footer-wrapper .menu {
181
+ .actions {
182
+ justify-content: flex-end;
183
+ }
166
184
  }
185
+
167
186
  }
168
187
 
169
188
  @media only screen and (min-width: @computerBreakpoint) {
170
189
  footer {
171
- .wrapper {
190
+ .footer-wrapper {
172
191
  padding: @computerWrapperPadding;
173
192
  background-size: @computerWrapperBackgroundSize;
174
193
  }
@@ -180,6 +199,9 @@ footer .theme-sites {
180
199
  .header {
181
200
  font-size: @computerFooterTitleFontSize;
182
201
  }
202
+ .logos .logo img {
203
+ margin: @computerThemeSitesLogoMargin;
204
+ }
183
205
  }
184
206
 
185
207
  .subfooter .logo-header {
@@ -188,26 +210,15 @@ footer .theme-sites {
188
210
  }
189
211
 
190
212
  .subfooter .item {
191
- margin-top: @computerItemMarginTop;
192
-
193
- .site.logo {
194
- img {
195
- width: @computerSiteLogoWidth;
196
- }
197
- }
198
-
199
213
  .header {
200
214
  margin-bottom: @computerItemHeaderMarginBottom;
201
215
  font-size: @computerFooterTitleFontSize;
202
216
  }
203
-
204
- .social a i.icon {
205
- font-size: @computerSocialIconSize;
206
- }
207
217
  }
208
218
 
209
219
  .subfooter .contact {
210
- font-size: @computerContactFontSize;
220
+ display: flex;
221
+ align-items: center;
211
222
  margin: @computerContactMargin;
212
223
 
213
224
  i.big.icon {
@@ -215,8 +226,7 @@ footer .theme-sites {
215
226
  }
216
227
  }
217
228
 
218
- .subfooter .menu {
219
- width: @computerMenuWidth;
229
+ .footer .footer-wrapper .menu {
220
230
 
221
231
  a {
222
232
  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,38 @@
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
- @menuFontWeight : @font-weight-3;
67
+ @menuFontWeight : @font-weight-4;
75
68
  @mobileMenuFontSize : @font-size-0;
69
+ @mobileMenuCopyrightFontSize : @font-size-00;
70
+ @mobileMenuCopyrightFontWeight : @font-weight-3;
71
+ @mobileMenuFontWeight : @font-weight-4;
76
72
  @computerMenuFontSize : @font-size-1;
@@ -167,7 +167,7 @@
167
167
  /* Accordion */
168
168
  @megaMenuAccordionTitleFontSize: @font-size-3;
169
169
  @megaMenuAccordionTitlePadding: @rem-space-2 0;
170
- @megaMenuAccordionIconFontSize: @font-size-5;
170
+ @megaMenuAccordionIconFontSize: @font-size-9;
171
171
  @megaMenuAccordionContentPadding: @rem-space-4 0;
172
172
  @megaMenuAccordionTitleBorderBottom: 1px solid rgba(255, 255, 255, 0.25);
173
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; }