forked from extern/homer
feat: Enables setting colors for individual cards
This commit is contained in:
parent
d1b29caaa6
commit
23eb5b3fb7
@ -12,7 +12,11 @@ export default {};
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div class="card" :class="item.class">
|
<div
|
||||||
|
class="card"
|
||||||
|
:style="`background-color:${item.background};`"
|
||||||
|
:class="item.class"
|
||||||
|
>
|
||||||
<a :href="item.url" :target="item.target" rel="noreferrer">
|
<a :href="item.url" :target="item.target" rel="noreferrer">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
|
Loading…
Reference in New Issue
Block a user