aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components
diff options
context:
space:
mode:
authorTai Groot <tai@taigrr.com>2020-10-28 18:37:52 -0700
committerTai Groot <tai@taigrr.com>2020-10-28 18:42:29 -0700
commit23eb5b3fb7c9de2a370475f6131af7c96efe495c (patch)
treebf523ea68a60a1c50aba9a86ef3159967dec5efc /src/components
parentd1b29caaa62ef19e9dd68babf334ec25a966f945 (diff)
downloadhomer-23eb5b3fb7c9de2a370475f6131af7c96efe495c.tar.gz
homer-23eb5b3fb7c9de2a370475f6131af7c96efe495c.tar.zst
homer-23eb5b3fb7c9de2a370475f6131af7c96efe495c.zip
feat: Enables setting colors for individual cards
Diffstat (limited to 'src/components')
-rw-r--r--src/components/services/Generic.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/services/Generic.vue b/src/components/services/Generic.vue
index f19ee18..627bcde 100644
--- a/src/components/services/Generic.vue
+++ b/src/components/services/Generic.vue
@@ -12,7 +12,11 @@ export default {};
12 12
13<template> 13<template>
14 <div> 14 <div>
15 <div class="card" :class="item.class"> 15 <div
16 class="card"
17 :style="`background-color:${item.background};`"
18 :class="item.class"
19 >
16 <a :href="item.url" :target="item.target" rel="noreferrer"> 20 <a :href="item.url" :target="item.target" rel="noreferrer">
17 <div class="card-content"> 21 <div class="card-content">
18 <div class="media"> 22 <div class="media">