From dceb066c0ffd999827253294f4fc88469286257e Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet@mmibordeaux.com> Date: Fri, 16 Dec 2022 11:49:37 +0100 Subject: [PATCH] added variable for offset links --- 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 2b573114..9ec84e10 100644 --- a/assets/sass/_theme/_configuration.sass +++ b/assets/sass/_theme/_configuration.sass @@ -9,6 +9,7 @@ $color-background: #FFFFFF !default $body-color: $color-text !default $body-background-color: $color-background !default $link-color: $color-text !default +$link-underline-offset: 6px !default // TYPOGRAPHY diff --git a/assets/sass/_theme/_utils.sass b/assets/sass/_theme/_utils.sass index 397a4a04..b06c3f44 100644 --- a/assets/sass/_theme/_utils.sass +++ b/assets/sass/_theme/_utils.sass @@ -43,7 +43,7 @@ text-decoration-color: rgba($color, 0.3) text-decoration-line: underline text-decoration-thickness: 1px - text-underline-offset: 6px + text-underline-offset: $link-underline-offset transition: text-decoration-color .3s ease &:hover text-decoration-color: rgba($color, 1) -- GitLab