@@ -102,11 +78,11 @@ export const PostCard = ({
reference_card__featured: featured ? 'true' : 'false',
reference_card__image: withImage ? 'true' : 'false',
reference_card__url: referenceCardData.reference_card__url,
- reference_card__categories: categories,
+ reference_card__categories:
+ referenceCardData.reference_card__categories,
show_categories: showCategories,
- reference_card__tags: tags,
+ reference_card__tags: referenceCardData.reference_card__tags,
show_tags: showTags,
- show_thumbnail: showThumbnail,
})}
@@ -133,11 +109,8 @@ export const EventCard = ({
secondaryCTAURL,
multiDayEvent,
headingPrefix,
- categories,
showCategories,
- tags,
showTags,
- showThumbnail,
}) => `
@@ -158,11 +131,11 @@ export const EventCard = ({
reference_card__cta_secondary__href: secondaryCTAURL,
reference_card__cta_secondary__content: secondaryCTAContent,
multi_day_event: multiDayEvent,
- reference_card__categories: categories,
+ reference_card__categories:
+ referenceCardData.reference_card__categories,
show_categories: showCategories,
- reference_card__tags: tags,
+ reference_card__tags: referenceCardData.reference_card__tags,
show_tags: showTags,
- show_thumbnail: showThumbnail,
})}
@@ -211,12 +184,9 @@ export const ProfileCard = ({
collectionType,
featured,
withImage,
- categories,
showCategories,
showPronouns,
- tags,
showTags,
- showThumbnail,
}) => `
@@ -236,14 +206,22 @@ export const ProfileCard = ({
reference_card__snippet:
referenceProfileCardData.reference_card__snippet,
reference_card__url: referenceProfileCardData.reference_card__url,
- reference_card__categories: categories,
+ reference_card__categories:
+ referenceProfileCardData.reference_card__categories,
show_categories: showCategories,
show_pronouns: showPronouns,
- reference_card__tags: tags,
+ reference_card__tags: referenceProfileCardData.reference_card__tags,
show_tags: showTags,
- show_thumbnail: showThumbnail,
})}
`;
+
+ProfileCard.argTypes = {
+ showPronouns: {
+ name: 'Show Pronouns',
+ type: 'boolean',
+ defaultValue: false,
+ },
+};
diff --git a/components/02-molecules/content-spotlight-portrait/_yds-content-spotlight-portrait.scss b/components/02-molecules/content-spotlight-portrait/_yds-content-spotlight-portrait.scss
index 27e77dac3..2cf5338e4 100644
--- a/components/02-molecules/content-spotlight-portrait/_yds-content-spotlight-portrait.scss
+++ b/components/02-molecules/content-spotlight-portrait/_yds-content-spotlight-portrait.scss
@@ -199,6 +199,19 @@ $component-content-spotlight-port-themes: map.deep-get(
var(--size-component-layout-width-site) + var(--size-spacing-10)
);
}
+
+ // Vertical alignment options
+ [data-content-vertical-align='top'] & {
+ align-items: flex-start;
+ }
+
+ [data-content-vertical-align='middle'] & {
+ align-items: center;
+ }
+
+ [data-content-vertical-align='bottom'] & {
+ align-items: flex-end;
+ }
}
}
diff --git a/components/02-molecules/content-spotlight-portrait/content-spotlight-portrait.stories.js b/components/02-molecules/content-spotlight-portrait/content-spotlight-portrait.stories.js
index 2cf43db79..87155ef8d 100644
--- a/components/02-molecules/content-spotlight-portrait/content-spotlight-portrait.stories.js
+++ b/components/02-molecules/content-spotlight-portrait/content-spotlight-portrait.stories.js
@@ -30,6 +30,11 @@ export default {
type: 'select',
options: ['image-left', 'image-right'],
},
+ contentVerticalAlignment: {
+ name: 'Content Vertical Alignment',
+ type: 'select',
+ options: ['top', 'middle', 'bottom'],
+ },
imageStyle: {
name: 'Image Style',
type: 'select',
@@ -65,6 +70,7 @@ export default {
args: {
componentTheme: 'default',
position: 'image-left',
+ contentVerticalAlignment: 'middle',
imageStyle: 'inline',
overline: null,
heading: contentSpotlightPortraitData.content_spotlight_portrait__heading,
@@ -78,6 +84,7 @@ export default {
export const ContentSpotlightPortrait = ({
position,
+ contentVerticalAlignment,
overline,
heading,
subheading,
@@ -91,6 +98,7 @@ export const ContentSpotlightPortrait = ({
...imageData.responsive_images['2x3'],
content_spotlight_portrait__theme: componentTheme,
content_spotlight_portrait__position: position,
+ content_spotlight_portrait__vertical_align: contentVerticalAlignment,
content_spotlight_portrait__style: imageStyle,
content_spotlight_portrait__overline: overline,
content_spotlight_portrait__heading: heading,
diff --git a/components/02-molecules/content-spotlight-portrait/yds-content-spotlight-portrait.twig b/components/02-molecules/content-spotlight-portrait/yds-content-spotlight-portrait.twig
index 69653e575..e5d9b0f1f 100644
--- a/components/02-molecules/content-spotlight-portrait/yds-content-spotlight-portrait.twig
+++ b/components/02-molecules/content-spotlight-portrait/yds-content-spotlight-portrait.twig
@@ -26,6 +26,7 @@
'data-component-width': content_spotlight_portrait__width|default('site'),
'data-component-theme': content_spotlight_portrait__theme|default('default'),
'data-image-style': content_spotlight_portrait__style|default('inline'),
+ 'data-content-vertical-align': content_spotlight_portrait__vertical_align|default('middle'),
class: bem(content_spotlight_portrait__base_class)
} %}
diff --git a/components/02-molecules/link-group/_yds-link-group.scss b/components/02-molecules/link-group/_yds-link-group.scss
index f0cc9ffe3..20f00bbf7 100644
--- a/components/02-molecules/link-group/_yds-link-group.scss
+++ b/components/02-molecules/link-group/_yds-link-group.scss
@@ -105,12 +105,7 @@ $break-link-group-max: $break-link-group - 0.05;
[data-footer-theme='one'] &,
[data-footer-theme='two'] &,
[data-footer-theme='three'] & {
- --color-link-group-hover: var(--color-slot-two);
- }
-
- [data-footer-theme='four'] &,
- [data-footer-theme='five'] & {
- --color-link-group-hover: var(--color-slot-four);
+ --color-link-group-hover: var(--color-site-footer-text-color);
}
&:hover {
diff --git a/components/02-molecules/text-with-image/_yds-text-with-image.scss b/components/02-molecules/text-with-image/_yds-text-with-image.scss
index 890f77517..e17b102f9 100644
--- a/components/02-molecules/text-with-image/_yds-text-with-image.scss
+++ b/components/02-molecules/text-with-image/_yds-text-with-image.scss
@@ -190,6 +190,19 @@ $component-content-spotlight-themes: map.deep-get(
grid-template: 'primary secondary';
gap: var(--size-spacing-8);
+ // Vertical alignment options
+ [data-content-vertical-align='top'] & {
+ align-items: flex-start;
+ }
+
+ [data-content-vertical-align='middle'] & {
+ align-items: center;
+ }
+
+ [data-content-vertical-align='bottom'] & {
+ align-items: flex-end;
+ }
+
// Focus Options
[data-component-focus='equal'] & {
grid-template-columns: 1fr 1fr;
diff --git a/components/02-molecules/text-with-image/text-with-image.stories.js b/components/02-molecules/text-with-image/text-with-image.stories.js
index 90a9789cd..bfd7a7b30 100644
--- a/components/02-molecules/text-with-image/text-with-image.stories.js
+++ b/components/02-molecules/text-with-image/text-with-image.stories.js
@@ -34,6 +34,11 @@ export default {
type: 'select',
options: ['image-left', 'image-right'],
},
+ contentVerticalAlignment: {
+ name: 'Content Vertical Alignment',
+ type: 'select',
+ options: ['top', 'middle', 'bottom'],
+ },
focus: {
name: 'Focus',
type: 'select',
@@ -69,6 +74,7 @@ export default {
componentTheme: 'default',
width: 'site',
position: 'image-left',
+ contentVerticalAlignment: 'top',
focus: 'equal',
overline: null,
heading: textWithImageData.text_with_image__heading,
@@ -81,6 +87,7 @@ export default {
export const ContentSpotlightLandscape = ({
width,
position,
+ contentVerticalAlignment,
focus,
overline,
heading,
@@ -95,6 +102,7 @@ export const ContentSpotlightLandscape = ({
text_with_image__theme: componentTheme,
text_with_image__width: width,
text_with_image__position: position,
+ text_with_image__vertical_align: contentVerticalAlignment,
text_with_image__focus: focus,
text_with_image__overline: overline,
text_with_image__heading: heading,
diff --git a/components/02-molecules/text-with-image/yds-text-with-image.twig b/components/02-molecules/text-with-image/yds-text-with-image.twig
index 52bba784d..f31be1c33 100644
--- a/components/02-molecules/text-with-image/yds-text-with-image.twig
+++ b/components/02-molecules/text-with-image/yds-text-with-image.twig
@@ -26,6 +26,7 @@
'data-image-position': text_with_image__position|default('image-left'),
'data-component-width': text_with_image__width|default('site'),
'data-component-theme': text_with_image__theme|default('default'),
+ 'data-content-vertical-align': text_with_image__vertical_align|default('top'),
class: bem(text_with_image__base_class)
} %}
diff --git a/components/02-molecules/tile-item/_yds-tile-item.scss b/components/02-molecules/tile-item/_yds-tile-item.scss
index 66950ea8c..2ca48976c 100644
--- a/components/02-molecules/tile-item/_yds-tile-item.scss
+++ b/components/02-molecules/tile-item/_yds-tile-item.scss
@@ -33,6 +33,7 @@ $tile-item-component-themes: map.deep-get(tokens.$tokens, 'component-themes');
--color-link-hover: var(--color-tile-item-content);
--color-link-visited-base: var(--color-link-visited-light);
--color-link-visited-hover: var(--color-link-visited-light-hover);
+ --color-tile-animation-border: var(--color-slot-three);
background-color: var(--color-tile-item-theme);
color: var(--color-tile-item-content);
@@ -72,11 +73,25 @@ $tile-item-component-themes: map.deep-get(tokens.$tokens, 'component-themes');
&[data-component-theme='one'] {
--color-tile-item-theme: var(--color-slot-one);
--color-tile-item-content: var(--color-slot-eight);
+ --color-tile-animation-border: var(--color-slot-two);
+
+ [data-global-theme='one'] & {
+ --color-tile-animation-border: var(--color-slot-three);
+ }
+
+ [data-global-theme='three'] & {
+ --color-tile-animation-border: var(--color-slot-three);
+ }
+
+ [data-global-theme='four'] & {
+ --color-tile-animation-border: var(--color-slot-three);
+ }
}
&[data-component-theme='two'] {
--color-tile-item-theme: var(--color-slot-two);
--color-tile-item-content: var(--color-slot-eight);
+ --color-tile-animation-border: var(--color-slot-three);
// For accessibility reason set lighter visited links color.
[data-global-theme='four'] & {
@@ -90,6 +105,11 @@ $tile-item-component-themes: map.deep-get(tokens.$tokens, 'component-themes');
--color-tile-item-content: var(--color-slot-seven);
--color-link-visited-base: var(--color-link-visited);
--color-link-visited-hover: var(--color-link-visited-hover);
+ --color-tile-animation-border: var(--color-slot-two);
+
+ [data-global-theme='three'] & {
+ --color-tile-animation-border: var(--color-slot-one);
+ }
}
&[data-component-theme='four'] {
@@ -97,11 +117,13 @@ $tile-item-component-themes: map.deep-get(tokens.$tokens, 'component-themes');
--color-tile-item-content: var(--color-slot-seven);
--color-link-visited-base: var(--color-link-visited);
--color-link-visited-hover: var(--color-link-visited-hover);
+ --color-tile-animation-border: var(--color-slot-five);
}
&[data-component-theme='five'] {
--color-tile-item-theme: var(--color-slot-five);
--color-tile-item-content: var(--color-slot-eight);
+ --color-tile-animation-border: var(--color-slot-three);
}
&__inner {
@@ -129,6 +151,32 @@ $tile-item-component-themes: map.deep-get(tokens.$tokens, 'component-themes');
justify-content: flex-end;
}
}
+
+ &[data-component-animation='true'] {
+ &::before {
+ @include tokens.animate(
+ $property: 'width',
+ $duration: var(--animation-speed-default)
+ );
+
+ content: '';
+ display: block;
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: var(--border-thickness-6);
+ width: 0;
+ background-color: var(--color-tile-animation-border);
+ z-index: 1;
+ }
+
+ &:hover {
+ &::before {
+ width: 100%;
+ }
+ }
+ }
}
.tile__item__heading {
diff --git a/components/02-molecules/tile-item/tile-item.stories.js b/components/02-molecules/tile-item/tile-item.stories.js
index 86189bed6..b1bbd4f28 100644
--- a/components/02-molecules/tile-item/tile-item.stories.js
+++ b/components/02-molecules/tile-item/tile-item.stories.js
@@ -47,6 +47,10 @@ export default {
name: 'With image',
type: 'boolean',
},
+ withAnimation: {
+ name: 'With Animation',
+ type: 'boolean',
+ },
},
args: {
number: tileItemData.tile__item__number,
@@ -57,6 +61,7 @@ export default {
verticalAlignment: 'top',
themeColor: 'one',
image: true,
+ withAnimation: false,
},
};
@@ -69,6 +74,7 @@ export const TileItem = ({
alignment,
verticalAlignment,
image,
+ withAnimation,
}) => `
@@ -82,12 +88,14 @@ export const TileItem = ({
tile__item__vertical_alignment: 'top',
tile__item__bg_image: 'true',
...imageData.responsive_images['1x1'],
+ tile__item__animation: withAnimation ? 'true' : 'false',
})}
${tileItemTwig({
tile__item__heading: tileItemData.tile__item__heading,
tile__item__presentation_style: 'icon',
tile__item__alignment: 'right',
tile__item__bg_image: 'false',
+ tile__item__animation: withAnimation ? 'true' : 'false',
})}
${tileItemTwig({
tile__item__heading: tileItemData.tile__item__heading,
@@ -98,6 +106,7 @@ export const TileItem = ({
tile__item__alignment: 'left',
tile__item__bg_image: 'true',
...imageData.responsive_images['1x1'],
+ tile__item__animation: withAnimation ? 'true' : 'false',
})}
@@ -119,6 +128,7 @@ export const TileItem = ({
tile__item__theme: themeColor,
tile__item__bg_image: image ? 'true' : 'false',
...imageData.responsive_images['1x1'],
+ tile__item__animation: withAnimation ? 'true' : 'false',
})}
diff --git a/components/02-molecules/tile-item/yds-tile-item.twig b/components/02-molecules/tile-item/yds-tile-item.twig
index c76032e65..0ab1eca94 100644
--- a/components/02-molecules/tile-item/yds-tile-item.twig
+++ b/components/02-molecules/tile-item/yds-tile-item.twig
@@ -27,6 +27,7 @@
'data-component-vertical-alignment': tile__item__vertical_alignment|default('top'),
'data-component-theme': tile__item__theme|default('one'),
'data-component-has-image': tile__item__bg_image|default('false'),
+ 'data-component-animation': tile__item__animation|default('false'),
class: bem(tile__item__base_class, tile__item__modifiers),
}) %}
diff --git a/components/03-organisms/card-collection/_yds-card-collection.scss b/components/03-organisms/card-collection/_yds-card-collection.scss
index 10167fdc1..b724ac45a 100644
--- a/components/03-organisms/card-collection/_yds-card-collection.scss
+++ b/components/03-organisms/card-collection/_yds-card-collection.scss
@@ -6,13 +6,17 @@
// The collection main wrapper.
.card-collection {
@include tokens.spacing-page-section;
+
+ .ys-view & {
+ margin-block-start: 0;
+ }
}
// The collection heading.
.card-collection__heading {
@include tokens.h2-yale-new;
- margin-bottom: var(--spacing-page-section);
+ margin-bottom: var(--size-spacing-7);
}
// The actual collection of cards.
diff --git a/components/03-organisms/component-wrapper/_yds-component-wrapper.scss b/components/03-organisms/component-wrapper/_yds-component-wrapper.scss
index bedfc7712..895a662cf 100644
--- a/components/03-organisms/component-wrapper/_yds-component-wrapper.scss
+++ b/components/03-organisms/component-wrapper/_yds-component-wrapper.scss
@@ -13,10 +13,16 @@
}
.component-wrapper__heading {
- margin-bottom: var(--spacing-page-section);
+ margin-bottom: var(--size-spacing-7);
// When a component wrapper contains a view the header should yse yale-new.
.ys-view & {
@include tokens.h2-yale-new;
}
+
+ // When a component wrapper contains a cta-group, decrease margin
+ // between the heading and the cta-group.
+ .component-wrapper:has(.cta-group) & {
+ margin-bottom: var(--size-spacing-4);
+ }
}
diff --git a/components/03-organisms/custom-card-collection/_yds-custom-card-collection.scss b/components/03-organisms/custom-card-collection/_yds-custom-card-collection.scss
index 7b708bac5..634cc3faa 100644
--- a/components/03-organisms/custom-card-collection/_yds-custom-card-collection.scss
+++ b/components/03-organisms/custom-card-collection/_yds-custom-card-collection.scss
@@ -9,7 +9,7 @@
.custom-card-collection__heading {
@include tokens.h2-yale-new;
- margin-bottom: var(--spacing-page-section);
+ margin-bottom: var(--size-spacing-7);
}
.custom-card-collection__cards {
diff --git a/components/03-organisms/site-footer/_site-footer-mega.twig b/components/03-organisms/site-footer/_site-footer-mega.twig
index 97567bf84..97dd913f1 100644
--- a/components/03-organisms/site-footer/_site-footer-mega.twig
+++ b/components/03-organisms/site-footer/_site-footer-mega.twig
@@ -29,10 +29,14 @@
{# WYSIWYG #}
{% block site_footer__content %}
- {% include "@page-layouts/placeholder/yds-placeholder.twig" with {
- placeholder: 'Content',
- placeholder__type: 'element',
- } %}
+ {% if site_footer__content_text %}
+ {{ site_footer__content_text }}
+ {% else %}
+ {% include "@page-layouts/placeholder/yds-placeholder.twig" with {
+ placeholder: 'Content',
+ placeholder__type: 'element',
+ } %}
+ {% endif %}
{% endblock %}
{# Columns #}
diff --git a/components/03-organisms/site-footer/_yds-site-footer.scss b/components/03-organisms/site-footer/_yds-site-footer.scss
index 04c39120d..b651c550e 100644
--- a/components/03-organisms/site-footer/_yds-site-footer.scss
+++ b/components/03-organisms/site-footer/_yds-site-footer.scss
@@ -293,6 +293,13 @@ $global-footer-themes: map.deep-get(tokens.$tokens, 'global-themes');
flex: 1 1 30%;
+ & a,
+ & a:visited,
+ & a:hover,
+ & a:hover:visited {
+ color: var(--color-text);
+ }
+
@media (min-width: tokens.$break-l) {
grid-area: content;
padding-inline-start: var(--size-spacing-8);
diff --git a/components/03-organisms/site-footer/site-footer.stories.js b/components/03-organisms/site-footer/site-footer.stories.js
index e9e9f0ab3..343ac4655 100644
--- a/components/03-organisms/site-footer/site-footer.stories.js
+++ b/components/03-organisms/site-footer/site-footer.stories.js
@@ -1,16 +1,15 @@
import tokens from '@yalesites-org/tokens/build/json/tokens.json';
-import getGlobalThemes from '../../00-tokens/colors/color-global-themes';
import siteFooterTwig from './yds-site-footer.twig';
import siteFooterExamples from './_site-footer--examples.twig';
import socialLinksData from '../../02-molecules/social-links/social-links.yml';
+import linkGroupData from '../../02-molecules/link-group/link-group.yml';
const siteFooterThemes = { themes: tokens['site-footer-themes'] };
const siteGlobalThemes = { themes: tokens['global-themes'] };
const borderThicknessOptions = Object.keys(tokens.border.thickness);
const siteFooterThemeOptions = Object.keys(tokens['site-footer-themes']);
-const siteGlobalThemeOptions = getGlobalThemes(tokens['global-themes']);
const siteFooterAccents = [
'one',
'two',
@@ -39,9 +38,7 @@ export default {
args: {
borderThickness: '8',
siteFooterAccent: 'one',
- siteFooterTheme: 'one',
siteFooterVariation: 'basic',
- globalTheme: 'one',
},
};
@@ -54,14 +51,22 @@ export const Footer = ({
siteFooterTwig({
...socialLinksData,
...siteFooterAccents,
+ ...linkGroupData,
site_footer__border_thickness: borderThickness,
site_footer__theme: siteFooterTheme,
site_footer__accent: siteFooterAccent,
site_footer__variation: siteFooterVariation,
+ site_footer__content_text:
+ 'This is
example text for footer content
with a link.',
});
+Footer.args = {
+ siteFooterTheme: 'one',
+};
+
Footer.argTypes = {
siteFooterTheme: {
+ name: 'Footer Theme (dial)',
options: siteFooterThemeOptions,
type: 'select',
},
@@ -79,7 +84,6 @@ Footer.argTypes = {
export const FooterExamples = ({
borderThickness,
- globalTheme,
siteFooterVariation,
siteFooterAccent,
}) =>
@@ -88,18 +92,12 @@ export const FooterExamples = ({
...siteFooterThemes,
...siteGlobalThemes,
...siteFooterAccents,
- site_global__theme: globalTheme,
site_footer__accent: siteFooterAccent,
site_footer__border_thickness: borderThickness,
site_footer__variation: siteFooterVariation,
});
FooterExamples.argTypes = {
- globalTheme: {
- name: 'Global Theme (lever)',
- options: siteGlobalThemeOptions,
- type: 'select',
- },
siteFooterAccent: {
name: 'Footer Accent Color (dial)',
options: siteFooterAccents,
diff --git a/components/03-organisms/tiles/tiles.stories.js b/components/03-organisms/tiles/tiles.stories.js
index 5b27bedaa..3f75cc91d 100644
--- a/components/03-organisms/tiles/tiles.stories.js
+++ b/components/03-organisms/tiles/tiles.stories.js
@@ -40,6 +40,10 @@ export default {
name: 'With image',
type: 'boolean',
},
+ withAnimation: {
+ name: 'With Animation',
+ type: 'boolean',
+ },
},
args: {
globalTheme: 'one',
@@ -48,6 +52,7 @@ export default {
verticalAlignment: 'top',
gridCount: 'three',
image: false,
+ withAnimation: false,
},
};
@@ -57,6 +62,7 @@ export const Tiles = ({
verticalAlignment,
columnCount,
image,
+ withAnimation,
}) => {
return `
@@ -66,6 +72,7 @@ export const Tiles = ({
tiles__presentation_style: presentationStyle,
tiles__grid_count: columnCount,
tiles__with__image: image ? 'true' : 'false',
+ tiles__with__animation: withAnimation ? 'true' : 'false',
...tilesData,
...imageData.responsive_images['1x1'],
})}
diff --git a/components/03-organisms/tiles/yds-tiles.twig b/components/03-organisms/tiles/yds-tiles.twig
index 0a676b53c..969b072d9 100644
--- a/components/03-organisms/tiles/yds-tiles.twig
+++ b/components/03-organisms/tiles/yds-tiles.twig
@@ -20,6 +20,7 @@
'data-component-vertical-alignment': tiles__vertical_alignment|default('left'),
'data-component-grid-count': tiles__grid_count|default('three'),
'data-component-tiles-have-images': tiles__with__image|default('false'),
+ 'data-component-tiles-have-animation': tiles__with__animation|default('false'),
'class': bem(tiles__base_class),
} %}
@@ -40,6 +41,7 @@
tile__item__presentation_style: tiles__presentation_style,
tile__item__theme: tile.tile__item__theme,
tile__item__bg_image: tiles__with__image,
+ tile__item__animation: tiles__with__animation,
}
%}
{% endfor %}
diff --git a/components/05-page-examples/post/post.stories.js b/components/05-page-examples/post/post.stories.js
index 673c285b6..cd79b4741 100644
--- a/components/05-page-examples/post/post.stories.js
+++ b/components/05-page-examples/post/post.stories.js
@@ -16,6 +16,9 @@ import referenceCardData from '../../02-molecules/cards/reference-card/examples/
// JavaScript.
import '../../00-tokens/layout/yds-layout';
+// Utility for converting argTypes to args
+import argTypesToArgs from '../../utility';
+
/**
* Storybook Definition.
*/
@@ -25,6 +28,7 @@ export default {
layout: 'fullscreen',
},
argTypes,
+ args: argTypesToArgs(argTypes),
};
export const PostArticle = ({
diff --git a/webpack/plugins.js b/webpack/plugins.js
index 7c3c21e0e..df94cba46 100644
--- a/webpack/plugins.js
+++ b/webpack/plugins.js
@@ -50,6 +50,7 @@ module.exports = {
'css/**/*.js', // Remove all unwanted, auto generated JS files from dist/css folder.
'css/**/*.js.map',
'!*.{png,jpg,gif,svg}',
+ '!fonts/**',
],
}),
};