code: def get_value_by_key(self, q: Q, key: str):
      value = (
          self._theme_colors["dark"][key]
          if q.client.theme_dark
          else self._theme_colors["light"][key]
      )
      return value
  
file_path: h2o-llmstudio/llm_studio/app_utils/wave_utils.py
imports: import subprocess
  import sys
  import traceback
  from typing import TypedDict
  import pandas
  from h2o_wave import Q, expando_to_dict, ui
  from h2o_wave.types import Component
  from llm_studio.app_utils.sections.common import clean_dashboard
  from .config import default_cfg
label_desc: Use image node_id 2 for calling the WaveTheme obj's underlying member method code with example usage: obj.get_value_by_key(q, key) and returns: value