code: def add_style(self, name, fg=None, bg=None, options=None):
          
          style = Style(name)
          if fg is not None:
              style.fg(fg)
  
          if bg is not None:
              style.bg(bg)
  
          if options is not None:
              if "bold" in options:
                  style.bold()
  
              if "underline" in options:
                  style.underlined()
  
          self._io.output.formatter.add_style(style)
          self._io.error_output.formatter.add_style(style)
docs: Adds a new style