From 284a1ebb32367a63e6058a2333c9a4c03387915d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 12 May 2021 20:46:57 +0200 Subject: Design --- assets/css/components/_card.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 1b46373..6d06401 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss @@ -7,6 +7,7 @@ ), --colors: ( --bg: prop(--colors --bg-lo, $global: true), + --fg: prop(--colors --fg, $global: true), --hover: ( --bg: prop(--colors --fg-lo, $global: true), --fg: prop(--colors --bg-hi, $global: true), @@ -21,6 +22,7 @@ transform: translateY(0); transition: transform .2s, background-color .2s, color .2s; background-color: prop(--colors --bg); + color: prop(--colors --fg); line-height: 1.4; &::after { @@ -40,7 +42,6 @@ &:link, &:visited { - color: currentColor; text-decoration: none; &:hover, @@ -52,7 +53,7 @@ &::after { display: block; } - + small, strong { color: currentColor; -- cgit v1.2.3-70-g09d2