Skip to content

khill-fbmc/retool-resource-colorizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Retool Resource Colorizer

Colorize the header backgrounds of ReTool Workflow Blocks

Screenshot of resource blocks with custom colors

Screenshot of menu

Install

Visit OpenUserJS to install

Usage

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

Built-In Classes

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 or fail then it will be colored a pale red.
  • If the title of a block contains success or pass then it will be colored a pale green.
    • _ are mostly ignored and used for visual clarity. All the following would match and be colored red
    • errorWithUpdate, failureToSave, transactionFailed

CSS Colors

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 color skyblue

About

Colorize the header backgrounds of ReTool Workflow Blocks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published