You've already forked dynamic-badges-action
🎉 Added saturation and lightness parameters
🎉 Added saturation and lightness parameters to ColorRange feature
This commit is contained in:
@@ -84,8 +84,8 @@ Gist Parameter | Description
|
|||||||
`maxColorRange` | Maximum value in the range 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.
|
`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.
|
`invertColorRange` | If the range should be inverted, causing a smaller value to have green color.
|
||||||
`colorRangeSaturation` | Saturation used by the color range feature. Defaults to 100%.
|
`colorRangeSaturation` | Saturation used by the color range feature. Defaults to 100%.
|
||||||
`colorRangeLightness` | Lightness used by the color range feature. Defaults to 40%.
|
`colorRangeLightness` | Lightness used by the color range feature. Defaults to 40%.
|
||||||
|
|
||||||
### Using Environment Variables as Parameters [](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/schneegans/2ab8f1d386f13aaebccbd87dac94068d/raw/answer.json)
|
### Using Environment Variables as Parameters [](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/schneegans/2ab8f1d386f13aaebccbd87dac94068d/raw/answer.json)
|
||||||
|
|
||||||
|
|||||||
@@ -61,6 +61,12 @@ inputs:
|
|||||||
invertColorRange:
|
invertColorRange:
|
||||||
description: 'If the range should be inverted, causing a smaller value to have green color.'
|
description: 'If the range should be inverted, causing a smaller value to have green color.'
|
||||||
required: false
|
required: false
|
||||||
|
colorRangeSaturation:
|
||||||
|
description: 'Saturation used by the color range feature. Defaults to 100%.'
|
||||||
|
required: false
|
||||||
|
colorRangeLightness:
|
||||||
|
description: 'Lightness used by the color range feature. Defaults to 40%.
|
||||||
|
required: false
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
main: 'index.js'
|
main: 'index.js'
|
||||||
|
|||||||
Reference in New Issue
Block a user