From ac9e90a891e596f224d907c75ee0fa0839ca535e Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 30 Jul 2022 18:06:54 +0200 Subject: Update --- assets/css/_declare-vars.scss | 6 ++++++ assets/css/components/_card.scss | 9 +-------- templates/partials/gallery_card.html | 2 +- templates/partials/grid_card.html | 2 +- templates/partials/list_card.html | 2 +- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/assets/css/_declare-vars.scss b/assets/css/_declare-vars.scss index 38aaa21..6ffbb11 100644 --- a/assets/css/_declare-vars.scss +++ b/assets/css/_declare-vars.scss @@ -71,3 +71,9 @@ ), ) ), 'xs'); + +@include iro.props-store(( + --colors: ( + --gray: fn.gray-palette(15%), + ), +), 'palette-dark-lo'); diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 692841b..1bd60de 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss @@ -15,7 +15,7 @@ @include iro.props-store(( --colors: ( - --bg: fn.global-color(--bg-hi2), + --bg: fn.global-color(--bg), --fg: fn.global-color(--fg), --unread: fn.global-color(--obj), --border: fn.global-color(--obj), @@ -26,13 +26,6 @@ ) ), 'colors'); - @include iro.props-store(( - --colors: ( - --bg: fn.global-color(--obj-hi), - --unread: fn.global-color(--bg), - ) - ), 'colors-dark'); - @include iro.bem-component(iro.props-namespace()) { display: block; position: relative; diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html index ca1fdd6..a340148 100644 --- a/templates/partials/gallery_card.html +++ b/templates/partials/gallery_card.html @@ -1,7 +1,7 @@ $if(it.thumbnail)$