Skip to content

Commit

Permalink
🎉 Added saturation and lightness parameters
Browse files Browse the repository at this point in the history
🎉 Added saturation and lightness parameters to ColorRange feature
  • Loading branch information
LucasWolfgang committed Apr 17, 2022
1 parent 6363528 commit 53c821a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ Gist Parameter | Description
`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.
`colorRangeSaturation` | Saturation used by the color range feature. Defaults to 100%.
`colorRangeLightness` | Lightness used by the color range feature. Defaults to 40%.
`colorRangeSaturation` | Saturation used by the color range feature. Defaults to 100%.
`colorRangeLightness` | Lightness used by the color range feature. Defaults to 40%.

### 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)

Expand Down
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ inputs:
invertColorRange:
description: 'If the range should be inverted, causing a smaller value to have green color.'
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:
using: 'node12'
main: 'index.js'

0 comments on commit 53c821a

Please sign in to comment.