code: def set_nb_theme(name):
      
      from IPython.core.display import HTML
      styles_dir = os.path.join(package_dir, 'styles/compiled/')
      css_path = glob('{0}/{1}.css'.format(styles_dir, name))[0]
      customcss = open(css_path, "r").read()
  
      return HTML(''.join(['<style> ', customcss, ' </style>']))
docs: Set theme from within notebook