From 0aecd4f55dea4af0c8e514e940f7241ef69fcdd2 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Thu, 15 Dec 2022 17:11:51 +0100 Subject: [PATCH] add inherit text mixin --- assets/sass/_theme/blocks/call_to_action.sass | 4 ++-- assets/sass/_theme/design-system/typography.sass | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/assets/sass/_theme/blocks/call_to_action.sass b/assets/sass/_theme/blocks/call_to_action.sass index 8036a873..88e29ae7 100644 --- a/assets/sass/_theme/blocks/call_to_action.sass +++ b/assets/sass/_theme/blocks/call_to_action.sass @@ -9,8 +9,8 @@ a color: inherit text-decoration-color: $block-call-to-action-color - // p - // @include h2 + p + @include h2 .actions [role="group"] @include media-breakpoint-down(desktop) diff --git a/assets/sass/_theme/design-system/typography.sass b/assets/sass/_theme/design-system/typography.sass index 62865bd1..5c858fc5 100644 --- a/assets/sass/_theme/design-system/typography.sass +++ b/assets/sass/_theme/design-system/typography.sass @@ -171,6 +171,13 @@ small, .small .rich-text @include rich-text +@mixin inherit-text + font-family: inherit + font-weight: inherit + font-style: inherit + font-size: inherit + line-height: inherit + [itemprop="articleBody"] @include rich-text -- GitLab