feat: Enables setting colors for individual cards

This commit is contained in:
Tai Groot 2020-10-28 18:37:52 -07:00
parent d1b29caaa6
commit 23eb5b3fb7
No known key found for this signature in database
GPG Key ID: D00C269A87614812

View File

@ -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">