snotes updates, actions, attachments, easy user space
This commit is contained in:
@@ -3,8 +3,22 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>snotes</title>
|
||||
<link rel="icon" type="image/png" href="/static/snotes-main.png">
|
||||
<title>snotes</title>
|
||||
<script>
|
||||
(function () {
|
||||
var cfg = {};
|
||||
try { cfg = JSON.parse(localStorage.getItem("snotes-theme-config")) || {}; } catch (e) {}
|
||||
var id;
|
||||
if (cfg.mode === "manual") {
|
||||
id = cfg.manual || "dark";
|
||||
} else {
|
||||
var dark = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches;
|
||||
id = dark ? (cfg.dark || "dark") : (cfg.light || "light");
|
||||
}
|
||||
if (id) document.documentElement.setAttribute("data-theme", id);
|
||||
})();
|
||||
</script>
|
||||
<link rel="icon" type="image/png" href="/static/snotes-new.png">
|
||||
<link rel="stylesheet" href="/static/app.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user