mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-03-13 14:59:23 +01:00
Rename color: to colors:
This commit is contained in:
parent
687a9e4086
commit
118d3e5ac0
@ -4,7 +4,7 @@
|
||||
<a :href="item.url" :target="item.target" rel="noreferrer">
|
||||
<div
|
||||
class="card-content"
|
||||
:style="(item.color && item.color.background) ? {backgroundColor: item.color.background} : null"
|
||||
:style="(item.colors && item.colors.background) ? {backgroundColor: item.colors.background} : null"
|
||||
>
|
||||
<div class="media">
|
||||
<div v-if="item.logo" class="media-left">
|
||||
@ -20,11 +20,11 @@
|
||||
<div class="media-content">
|
||||
<p
|
||||
class="title is-4"
|
||||
:style="(item.color && item.color.text) ? {color: item.color.text} : null"
|
||||
:style="(item.colors && item.colors.text) ? {color: item.colors.text} : null"
|
||||
>{{ item.name }}</p>
|
||||
<p
|
||||
class="subtitle is-6"
|
||||
:style="(item.color && item.color.text) ? {color: item.color.text} : null"
|
||||
:style="(item.colors && item.colors.text) ? {color: item.colors.text} : null"
|
||||
>{{ item.subtitle }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user