Correct styling of text in custom components. (Fixes #10)