Multiple styles within one cell

Hi @chriddyp and everyone! I need to implement conditional formatting not to the whole cell but only to some values in it. For example string ‘S’ should appear red, string ‘I’ - green. Others default style. I am new to Dash and I’ve been searching all over internet and cannot find how to implement this, please help!