arks-server 1.3.10

Git server: upload-pack / receive-pack + smart/dumb HTTP + daemon (M11/M25)
Documentation
1
2
3
4
5
6
7
8
9
10
11
/* Synchronous FOUC-free theme initializer (CSP script-src 'self', W-5). */
(function () {
  var theme = null;
  try { theme = localStorage.getItem('arks-theme'); } catch (_) {}
  if (theme !== 'light' && theme !== 'dark') {
    theme = (window.matchMedia && window.matchMedia('(prefers-color-scheme: light)').matches)
      ? 'light'
      : 'dark';
  }
  document.documentElement.setAttribute('data-theme', theme);
})();