From 7255d25f6834a208c0ed44636356cc260f6ab6ba Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 27 Sep 2023 17:38:23 +0200 Subject: refactor(components): rewrite Heading component * remove `alignment` and `withMargin` props (consumer should handle that) * move styles to Sass placeholders to avoid repeats with headings coming from WordPress * refactor some other components that depend on Heading to avoid ESlint errors --- src/styles/pages/article.module.scss | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/styles/pages/article.module.scss') diff --git a/src/styles/pages/article.module.scss b/src/styles/pages/article.module.scss index 48aed79..088718f 100644 --- a/src/styles/pages/article.module.scss +++ b/src/styles/pages/article.module.scss @@ -1,5 +1,6 @@ @use "../abstracts/functions" as fun; @use "../abstracts/mixins" as mix; +@use "partials/article-headings"; @use "partials/article-links"; @use "partials/article-lists"; @use "partials/article-media"; @@ -18,6 +19,7 @@ .body { :global { + @include article-headings.styles; @include article-links.styles; @include article-lists.styles; @include article-media.styles; -- cgit v1.2.3