diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-11-10 21:52:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 21:52:16 -0800 |
commit | ade77e42578998abc44434c495b41bde37552fe0 (patch) | |
tree | 040b1005225d151abfcf476c87950a5e34481897 /src | |
parent | f8d0761d0ca8f928f8f15d134557b8ee329ca29c (diff) | |
parent | be30825917125bacbd7f1e24ed36923c92aee7af (diff) | |
download | homer-ade77e42578998abc44434c495b41bde37552fe0.tar.gz homer-ade77e42578998abc44434c495b41bde37552fe0.tar.zst homer-ade77e42578998abc44434c495b41bde37552fe0.zip |
Merge pull request #153 from taigrr/appcolor
feat: Enables setting colors for individual cards
Diffstat (limited to 'src')
-rw-r--r-- | src/components/services/Generic.vue | 6 |
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"> |