Colorize the header backgrounds of ReTool Workflow Blocks
Visit OpenUserJS to install
The coloring of the headers is based on the extracted text from the title of the block. This is not ideal, but it works for me :)
There are currently 2 built-in classes for error and success, which map to red and green
- If the title of a block contains
error
orfail
then it will be colored a palered
. - If the title of a block contains
success
orpass
then it will be colored a palegreen
._
are mostly ignored and used for visual clarity. All the following would match and be colored rederrorWithUpdate
,failureToSave
,transactionFailed
Any valid CSS color name can also be used, if prefixed with _$
- If the title of a block contains
_$
then it will be split on that token, and the right hand side will be used as a CSS color name- Example:
happyPath_$skyblue
would be set the colorskyblue
- Example: