From d575b31e19aa046fcfe921632a8b36b8af4e6e91 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 20 Nov 2021 10:39:33 +0100 Subject: Fix card hover transition on Chrome --- assets/css/_vars.scss | 3 +-- assets/css/components/_card.scss | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'assets/css') diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss index 47ca599..7c2534d 100644 --- a/assets/css/_vars.scss +++ b/assets/css/_vars.scss @@ -36,8 +36,7 @@ $content--width: 46rem; @include store(( --dims: ( - --indent: 2rem, - + --indent: 2rem, --obj-shadow: 0 .4em 2.8em, ), --colors: ( diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 2e36d3e..b023447 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss @@ -71,8 +71,9 @@ display: block; } - * { - color: currentColor; + small, + strong { + color: prop(--colors --hover --fg); } @include element('block') { -- cgit v1.2.3-70-g09d2