From 23eb5b3fb7c9de2a370475f6131af7c96efe495c Mon Sep 17 00:00:00 2001
From: Tai Groot <tai@taigrr.com>
Date: Wed, 28 Oct 2020 18:37:52 -0700
Subject: feat: Enables setting colors for individual cards

---
 src/components/services/Generic.vue | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/components/services/Generic.vue')

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 {};
 
 <template>
   <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">
         <div class="card-content">
           <div class="media">
-- 
cgit v1.2.3

