Custom style for keyword highlighter

Hello, I am using polymer 3 lit elements with Typescript… I am trying to apply a custom style to highlight(color for a keyword) a keyword(text) for a particular cell but it is not letting me to do so… can anyone help me out?