This is a module for sdif(1) command to set operating system dependent autocolor option.
Each module is expected to set --light or --dark option according to the brightness of a terminal program.
If the environment variable
BRIGHTNESS is defined, its value is used as a brightness without calling submodules. The value of
BRIGHTNESS is expected in range of 0 to 100.