From 8aeaff8ffc49ee79967478bf48613e30a7724ac6 Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet@mmibordeaux.com> Date: Fri, 16 Feb 2024 17:15:03 +0100 Subject: [PATCH] added variable for hero credit color --- assets/sass/_theme/_configuration.sass | 1 + assets/sass/_theme/_utils.sass | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/sass/_theme/_configuration.sass b/assets/sass/_theme/_configuration.sass index 5f6d13b4..5ac7b61b 100644 --- a/assets/sass/_theme/_configuration.sass +++ b/assets/sass/_theme/_configuration.sass @@ -217,6 +217,7 @@ $hero-height: 300px !default $hero-height-desktop: 500px !default $hero-color: $color-text !default $hero-background-color: $color-background-alt !default +$hero-credit-color: $color-text-alt !default // Breadcrumb $breadcrumb-color: $hero-color !default diff --git a/assets/sass/_theme/_utils.sass b/assets/sass/_theme/_utils.sass index 0e9fd773..f6263cbf 100644 --- a/assets/sass/_theme/_utils.sass +++ b/assets/sass/_theme/_utils.sass @@ -349,7 +349,7 @@ $space-unit: 4 !default @mixin collapsed-figcaption figcaption @include meta - color: $color-text-alt + color: $hero-credit-color position: absolute display: block left: 0 -- GitLab