def get_theme_paths(themes, theme_dirs):
 theme_paths = []
 for theme in themes:
  theme_base_dirs = get_theme_base_dirs(theme, theme_dirs)
  if (not theme_base_dirs):
   print ("\x1b[91m\nSkipping '{theme}': \nTheme ({theme}) not found in any of the theme dirs ({theme_dirs}). \x1b[00m".format(theme=theme, theme_dirs=', '.join(theme_dirs)),)
  theme_paths.extend(theme_base_dirs)
 return theme_paths

def get_theme_paths ( themes , theme_dirs ) : theme_paths = [ ] for theme in themes : theme_base_dirs = get_theme_base_dirs ( theme , theme_dirs ) if ( not theme_base_dirs ) : print ( "\x1b[91m\nSkipping '{theme}': \nTheme ({theme}) not found in any of the theme dirs ({theme_dirs}). \x1b[00m" . format ( theme = theme , theme_dirs = ', ' . join ( theme_dirs ) ) , ) theme_paths . extend ( theme_base_dirs ) return theme_paths
get absolute path for all the given themes .