Merge pull request #48 from issmirnov/patch-1

Add "Style Options" section for bulma CSS
This commit is contained in:
Bastien Wirtz 2020-05-25 11:42:05 -07:00 committed by GitHub
commit ab7ac44c19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,3 +126,14 @@ If you choose to fetch message information from an endpoint, the output format s
`null` value or missing keys will be ignored and value from the `config.yml` will be used if available.
Empty values (either in `config.yml` or the endpoint data) will hide the element (ex: set `"title": ""` to hide the title bar).
### Style Options
Homer uses [bulma CSS](https://bulma.io/), which provides a [modifiers syntax](https://bulma.io/documentation/modifiers/syntax/). You'll notice in the config there is a `tagstyle` option. It can be set to any of the bulma modifiers. You'll probably want to use one of these 4 main colors:
- `is-info` (blue)
- `is-success` (green)
- `is-warning` (yellow)
- `is-danger` (red)
You can read the [bulma modifiers page](https://bulma.io/documentation/modifiers/syntax/) for other options regarding size, style, or state.