🎉 Added more functionalities to color range

Now the Range can be inverted and doesn't use the message anymore
This commit is contained in:
LucasWolfgang
2022-04-15 23:55:40 -03:00
parent 3bcfbf7edc
commit 517bd6931a
3 changed files with 24 additions and 7 deletions

View File

@@ -80,8 +80,10 @@ Gist Parameter | Description
`logoPosition` | The position of the logo.
`style` | The style like "flat" or "social".
`cacheSeconds` | The cache lifetime in seconds (must be greater than 300).
`maxColorRange` | Maximum value for the value passaed as message. Used to define the message color.
`minColorRange` | Minimum value for the value passaed as message. Used to define the message color.
`valColorRange` | Numerical value used to define the message color.
`maxColorRange` | Maximum value in the range used to define the message color.
`minColorRange` | Minimum value in the range used to define the message color.
`invertColorRange` | If the range should be inverted, causing a smaller value to have green color.
### Using Environment Variables as Parameters [![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/schneegans/2ab8f1d386f13aaebccbd87dac94068d/raw/answer.json)](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/schneegans/2ab8f1d386f13aaebccbd87dac94068d/raw/answer.json)