[Theme] Nouveau theme Spark (dark/light, identique a la Console Spark) et defaut = Spark dark #28
+4
-4
@@ -19,8 +19,8 @@
|
||||
var mode = localStorage.getItem("obsigate-theme-mode") || "dark";
|
||||
root.setAttribute("data-theme", mode);
|
||||
var light = mode === "light" || mode === "sepia";
|
||||
root.style.setProperty("--bg-primary", light ? "#ffffff" : "#0f1117");
|
||||
root.style.setProperty("--text-primary", light ? "#1a1a1a" : "#e6edf3");
|
||||
root.style.setProperty("--bg-primary", light ? "#fbfbfa" : "#17181a");
|
||||
root.style.setProperty("--text-primary", light ? "#242624" : "#eceeeb");
|
||||
} catch (e) { root.setAttribute("data-theme", "dark"); }
|
||||
})();
|
||||
</script>
|
||||
@@ -41,8 +41,8 @@
|
||||
min-height: 100vh;
|
||||
overflow: auto; /* override SPA style.css: body{overflow:hidden} */
|
||||
height: auto; /* override SPA style.css: body{height:100vh} */
|
||||
background: var(--bg-primary, #0f1117);
|
||||
color: var(--text-primary, #e6edf3);
|
||||
background: var(--bg-primary, #17181a);
|
||||
color: var(--text-primary, #eceeeb);
|
||||
font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user