applyConfig() {
    // Text and background colors
    document.body.style.backgroundColor = this.config.bgColor;
    document.body.style.color = this.config.textColor;
    document.body.style.fontSize = this.config.fontSize;

    // Clock
    const clock = document.querySelector(CLOCK_ID);
    clock.style.fontSize = this.config.clockSize;
    clock.style.display = this.config.showClock ? "inline" : "none";
  }
/*
   * Update app with config values.
   */
Update app with config values.
Update app with config values .
applyConfig() {
    document.body.style.backgroundColor = this.config.bgColor;
    document.body.style.color = this.config.textColor;
    document.body.style.fontSize = this.config.fontSize;
    const clock = document.querySelector(CLOCK_ID);
    clock.style.fontSize = this.config.clockSize;
    clock.style.display = this.config.showClock ? "inline" : "none";
  }
applyConfig ( ) { document . body . style . backgroundColor = this . config . bgColor ; document . body . style . color = this . config . textColor ; document . body . style . fontSize = this . config . fontSize ; const clock = document . querySelector ( CLOCK_ID ) ; clock . style . fontSize = this . config . clockSize ; clock . style . display = this . config . showClock ? "inline" : "none" ; }
Update app with config values.
Update app with config values .
// Text and background colors // Clock