You might be interested in these PCFs
Configurable Field Formatter Control
A control to display a numeric field and changes its text color according to configurable JSON rules




