code: public static Text styledContent(final String text, final TextStyle ts) {
          return Text.builder().parStyledContent(text, ts).build();
      }
docs: Create a simple Text object with a style
  
  @param text the text content
  @param ts   the style
  @return the Text