Rewrite custom card colors to use custom CSS classes instead of styles

This commit is contained in:
Tom Pansino
2020-09-02 00:34:37 -07:00
parent fbe9338fd3
commit e9afa4d7dd
3 changed files with 14 additions and 7 deletions

View File

@@ -110,10 +110,8 @@ services:
subtitle: "Another example"
tag: "other"
url: "https://www.reddit.com/r/selfhosted/"
target: "_blank" # optionnal html a tag target attribute
# colors: # optional custom colors for card
# background: #66a5e2
# text: #000000
target: "_blank" # optional html a tag target attribute
# class: "green" # optional custom CSS class for card, useful with custom stylesheet
```
If you choose to fetch message information from an endpoint, the output format should be: