aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components
diff options
context:
space:
mode:
authorTom Pansino <2768420+tpansino@users.noreply.github.com>2020-09-02 00:34:37 -0700
committerTom Pansino <2768420+tpansino@users.noreply.github.com>2020-09-02 00:34:37 -0700
commite9afa4d7dd68e43bafcc4fd75c01bbaf0e6401ce (patch)
tree3735dfbddb08b08e8dfac8e47a52763d26e2a788 /src/components
parentfbe9338fd3a78141110530055c9b90a5958f845f (diff)
downloadhomer-e9afa4d7dd68e43bafcc4fd75c01bbaf0e6401ce.tar.gz
homer-e9afa4d7dd68e43bafcc4fd75c01bbaf0e6401ce.tar.zst
homer-e9afa4d7dd68e43bafcc4fd75c01bbaf0e6401ce.zip
Rewrite custom card colors to use custom CSS classes instead of styles
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Service.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Service.vue b/src/components/Service.vue
index 1766af6..4e35b7d 100644
--- a/src/components/Service.vue
+++ b/src/components/Service.vue
@@ -4,7 +4,7 @@
4 <a :href="item.url" :target="item.target" rel="noreferrer"> 4 <a :href="item.url" :target="item.target" rel="noreferrer">
5 <div 5 <div
6 class="card-content" 6 class="card-content"
7 :style="(item.colors && item.colors.background) ? {backgroundColor: item.colors.background} : null" 7 :class="item.class"
8 > 8 >
9 <div class="media"> 9 <div class="media">
10 <div v-if="item.logo" class="media-left"> 10 <div v-if="item.logo" class="media-left">
@@ -20,11 +20,11 @@
20 <div class="media-content"> 20 <div class="media-content">
21 <p 21 <p
22 class="title is-4" 22 class="title is-4"
23 :style="(item.colors && item.colors.text) ? {color: item.colors.text} : null" 23 :class="item.class"
24 >{{ item.name }}</p> 24 >{{ item.name }}</p>
25 <p 25 <p
26 class="subtitle is-6" 26 class="subtitle is-6"
27 :style="(item.colors && item.colors.text) ? {color: item.colors.text} : null" 27 :class="item.class"
28 >{{ item.subtitle }}</p> 28 >{{ item.subtitle }}</p>
29 </div> 29 </div>
30 </div> 30 </div>