{"size": 734, "ext": "js", "max_stars_repo_path": "src/_scripts/switcher.js", "max_stars_repo_name": "webdevsuperfast/mydevhouse-11ty", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/_scripts/switcher.js", "max_issues_repo_name": "webdevsuperfast/mydevhouse-11ty", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/_scripts/switcher.js", "max_forks_repo_name": "webdevsuperfast/mydevhouse-11ty", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 33.3636363636, "max_line_length": 63, "alphanum_fraction": 0.7207084469}
// set initial color scheme
let explicitelyPreferScheme = false
if (window.localStorage) {
  if (localStorage.getItem('theme') === 'dark') {
    document.documentElement.classList.add('dark')
    document.getElementById('toggle-dark-mode').checked = true
    explicitelyPreferScheme = 'dark'
  } else if (localStorage.getItem('theme') === 'light') {
    document.documentElement.classList.remove('dark')
    document.getElementById('toggle-dark-mode').checked = false
    explicitelyPreferScheme = 'light'
  }
}

if (
  explicitelyPreferScheme !== 'light' &&
  window.matchMedia('(prefers-color-scheme:dark)').matches
) {
  document.documentElement.classList.add('dark')
  document.getElementById('toggle-dark-mode').checked = true
}
