İçeriğe geç
Tüm kodlar

KAP Finansal Analiz

Şirketlerin finansal tablolarını yıllar arası analiz eden web uygulaması

7 satır · 368 BHamİndir
// Applies the saved or system color theme before first paint (loaded in <head>, no defer).
(() => {
  let t = null;
  try { t = localStorage.getItem("kap-theme"); } catch { /* yoksay */ }
  if (t !== "light" && t !== "dark") t = matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
  document.documentElement.setAttribute("data-bs-theme", t);
})();

Lisans bilgisi projenin LICENSE dosyasında.