Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed Nov 12, 2023
1 parent 375340b commit 9dde616
Show file tree
Hide file tree
Showing 13 changed files with 109 additions and 73 deletions.
15 changes: 9 additions & 6 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
15 changes: 9 additions & 6 deletions _demos/:uuid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
15 changes: 9 additions & 6 deletions changelog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
15 changes: 9 additions & 6 deletions en-US/changelog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
15 changes: 9 additions & 6 deletions en-US/example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
15 changes: 9 additions & 6 deletions en-US/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
15 changes: 9 additions & 6 deletions en-US/readme-v2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
15 changes: 9 additions & 6 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
15 changes: 9 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
15 changes: 9 additions & 6 deletions readme-v2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion umi.0392d0b7.js → umi.396f442a.js

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions ~demos/:uuid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>
15 changes: 9 additions & 6 deletions ~demos/EXAMPLE-demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,19 @@
window.routerBase = "/";
</script>
<script>
//! umi version: 3.5.28
//! umi version: 3.5.41
</script>
<script>
!(function () {
var e = localStorage.getItem("dumi:prefers-color"),
t = window.matchMedia("(prefers-color-scheme: dark)").matches,
r = ["light", "dark", "auto"];
var e =
navigator.cookieEnabled && void 0 !== window.localStorage
? localStorage.getItem("dumi:prefers-color")
: "auto",
o = window.matchMedia("(prefers-color-scheme: dark)").matches,
t = ["light", "dark", "auto"];
document.documentElement.setAttribute(
"data-prefers-color",
e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
e === t[2] ? (o ? t[1] : t[0]) : t.indexOf(e) > -1 ? e : t[0]
);
})();
</script>
Expand All @@ -34,6 +37,6 @@
<body>
<div id="root"></div>

<script src="/umi.0392d0b7.js"></script>
<script src="/umi.396f442a.js"></script>
</body>
</html>

0 comments on commit 9dde616

Please sign in to comment.