code: def get_dark_js() -> str:
      return """
          if (document.querySelectorAll('.dark').length) {
              document.querySelectorAll('.dark').forEach(el => el.classList.remove('dark'));
          } else {
              document.querySelector('body').classList.add('dark');
          }
      """
  
file_path: h2ogpt/src/gradio_themes.py
imports: from __future__ import annotations
  from typing import Iterable
  from gradio.themes.soft import Soft
  from gradio.themes import Color, Size
  from gradio.themes.utils import colors, sizes, fonts
label_desc: Use image node_id 3 for calling a global function with example usage: get_dark_js() and returns: str