diff --git a/assets/sass/_theme/configuration/colors.sass b/assets/sass/_theme/configuration/colors.sass index 07533c6f8..5bbe93db5 100644 --- a/assets/sass/_theme/configuration/colors.sass +++ b/assets/sass/_theme/configuration/colors.sass @@ -22,7 +22,7 @@ $color-dark-selection-background: rgba($color-dark-text, .7) !default $body-color: var(--color-text) !default $body-background-color: var(--color-background) !default -$link-color: var(--color-text) !default +$link-color: inherit !default $backdrop-color: rgba(255, 255, 255, 0.80) !default $backdrop: blur(5px) !default \ No newline at end of file diff --git a/assets/sass/_theme/design-system/button.sass b/assets/sass/_theme/design-system/button.sass index 76b8a41de..43171d20c 100644 --- a/assets/sass/_theme/design-system/button.sass +++ b/assets/sass/_theme/design-system/button.sass @@ -101,13 +101,6 @@ .button--large @include button-large -@mixin link-icon($icon: false) - @include button-reset - line-height: $body-line-height - white-space: nowrap - @if $icon - @include icon-block($icon, after) - .dropdown-share --btn-min-width: #{pxToRem(140)} position: relative diff --git a/assets/sass/_theme/design-system/typography.sass b/assets/sass/_theme/design-system/typography.sass index 22ec821e0..dbf0dee3b 100644 --- a/assets/sass/_theme/design-system/typography.sass +++ b/assets/sass/_theme/design-system/typography.sass @@ -5,8 +5,9 @@ body -moz-osx-font-smoothing: grayscale -webkit-font-smoothing: antialiased font-size: var(--body-size) - line-height: var(--body-line-height) font-variant-ligatures: common-ligatures + font-weight: $body-weight + line-height: var(--body-line-height) text-rendering: optimizelegibility // Experimental, not implemented yet diff --git a/assets/sass/_theme/sections/files/single.sass b/assets/sass/_theme/sections/files/single.sass index e49ed8af2..42f1229e6 100644 --- a/assets/sass/_theme/sections/files/single.sass +++ b/assets/sass/_theme/sections/files/single.sass @@ -5,6 +5,7 @@ .file-hero-download margin-top: var(--grid-gutter) a[download] + --color-border: currentcolor @include icon-frame(download-2-line, $hoverable: true) align-items: center display: flex diff --git a/layouts/_partials/blocks/templates/testimonials/list.html b/layouts/_partials/blocks/templates/testimonials/list.html index 052cca6ed..864630fc0 100644 --- a/layouts/_partials/blocks/templates/testimonials/list.html +++ b/layouts/_partials/blocks/templates/testimonials/list.html @@ -1,8 +1,8 @@ {{ if .testimonials }} {{ $layout := .layout }} {{ $attributes := "" }} - {{ if eq $layout "carousel" }} - {{ $attributes = printf "data-slider='%s'" ( site.Params.blocks.testimonials.slider | encoding.Jsonify ) }} + {{ if and (eq $layout "carousel") (gt .testimonials 1) }} + {{ $attributes = printf "data-slider='%s'" ( site.Params.blocks.testimonials.slider | encoding.Jsonify ) }} {{ end }}