From 53c821a382b450a702bce010f918b479d862eb56 Mon Sep 17 00:00:00 2001 From: Wolfgang <39681420+LucasWolfgang@users.noreply.github.com> Date: Sun, 17 Apr 2022 11:51:01 -0300 Subject: [PATCH] :tada: Added saturation and lightness parameters :tada: Added saturation and lightness parameters to ColorRange feature --- README.md | 4 ++-- action.yml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ac784b8..a68a5ec 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/action.yml b/action.yml index bcbb430..2742a53 100644 --- a/action.yml +++ b/action.yml @@ -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'