summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/css/_declare-vars.scss6
-rw-r--r--assets/css/components/_card.scss9
-rw-r--r--templates/partials/gallery_card.html2
-rw-r--r--templates/partials/grid_card.html2
-rw-r--r--templates/partials/list_card.html2
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 @@
71 ), 71 ),
72 ) 72 )
73), 'xs'); 73), 'xs');
74
75@include iro.props-store((
76 --colors: (
77 --gray: fn.gray-palette(15%),
78 ),
79), '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 @@
15 15
16 @include iro.props-store(( 16 @include iro.props-store((
17 --colors: ( 17 --colors: (
18 --bg: fn.global-color(--bg-hi2), 18 --bg: fn.global-color(--bg),
19 --fg: fn.global-color(--fg), 19 --fg: fn.global-color(--fg),
20 --unread: fn.global-color(--obj), 20 --unread: fn.global-color(--obj),
21 --border: fn.global-color(--obj), 21 --border: fn.global-color(--obj),
@@ -26,13 +26,6 @@
26 ) 26 )
27 ), 'colors'); 27 ), 'colors');
28 28
29 @include iro.props-store((
30 --colors: (
31 --bg: fn.global-color(--obj-hi),
32 --unread: fn.global-color(--bg),
33 )
34 ), 'colors-dark');
35
36 @include iro.bem-component(iro.props-namespace()) { 29 @include iro.bem-component(iro.props-namespace()) {
37 display: block; 30 display: block;
38 position: relative; 31 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 @@
1$if(it.thumbnail)$ 1$if(it.thumbnail)$
2<a 2<a
3 href="$it.url.rel$" 3 href="$it.url.rel$"
4 class="l-card-list__card c-card h-entry" 4 class="l-card-list__card c-card t-raised h-entry"
5 itemprop="dataFeedElement" 5 itemprop="dataFeedElement"
6 itemscope 6 itemscope
7 itemtype="https://schema.org/$it.schema_type$" 7 itemtype="https://schema.org/$it.schema_type$"
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index fdd19f2..170f478 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -1,6 +1,6 @@
1<a 1<a
2 href="$it.url.rel$" 2 href="$it.url.rel$"
3 class="l-card-list__card c-card h-entry" 3 class="l-card-list__card c-card t-raised h-entry"
4 itemprop="dataFeedElement" 4 itemprop="dataFeedElement"
5 itemscope 5 itemscope
6 itemtype="https://schema.org/$it.schema_type$" 6 itemtype="https://schema.org/$it.schema_type$"
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html
index 4eed174..24948a6 100644
--- a/templates/partials/list_card.html
+++ b/templates/partials/list_card.html
@@ -1,6 +1,6 @@
1<a 1<a
2 href="$it.url.rel$" 2 href="$it.url.rel$"
3 class="l-card-list__card c-card h-entry" 3 class="l-card-list__card c-card t-raised h-entry"
4 itemprop="dataFeedElement" 4 itemprop="dataFeedElement"
5 itemscope 5 itemscope
6 itemtype="https://schema.org/$it.schema_type$" 6 itemtype="https://schema.org/$it.schema_type$"