code: def get_themes_directory(theme_name=None, png=False):
      
      dir_themes = os.path.join(get_file_directory(), "themes")
      if theme_name is None:
          return dir_themes
      if theme_name in os.listdir(dir_themes):
          return dir_themes
      dir = "png" if png is True else "gif"
      return os.path.join(get_file_directory(), dir)
docs: Return an absolute path the to /themes directory