@zuplo/editor 1.0.28255275226 → 1.0.28256086286
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client/index.html
CHANGED
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
try {
|
|
10
10
|
var root = document.documentElement;
|
|
11
11
|
var pref = localStorage.getItem("zuplo-color-scheme");
|
|
12
|
-
// Default to light until the user explicitly opts into dark (or picks
|
|
13
|
-
// "system"). Only those stored values are honoured; anything else → light.
|
|
14
12
|
if (pref !== "light" && pref !== "dark" && pref !== "system") {
|
|
15
13
|
pref = "light";
|
|
16
14
|
}
|
|
@@ -26,10 +24,6 @@
|
|
|
26
24
|
})();
|
|
27
25
|
</script>
|
|
28
26
|
<style>
|
|
29
|
-
/* Pre-paint document backdrop. Black in dark mode so a refresh / heavy route
|
|
30
|
-
change never flashes white before the app CSS bundle paints. Matches on the
|
|
31
|
-
first frame because the script above sets `.dark` pre-paint; app surfaces
|
|
32
|
-
(body/cards) paint on top via --background / --card. */
|
|
33
27
|
html.dark {
|
|
34
28
|
background-color: #000000;
|
|
35
29
|
}
|
|
@@ -43,12 +37,6 @@
|
|
|
43
37
|
align-items: center;
|
|
44
38
|
justify-content: center;
|
|
45
39
|
}
|
|
46
|
-
/* The loader is a single DOM element outside the React root (see index.html);
|
|
47
|
-
the app only flips data-active to show/hide it. It is never re-created, so
|
|
48
|
-
the pulse animation below runs continuously and never restarts from React
|
|
49
|
-
re-renders or Suspense churn. Hidden instantly (no fade) so it can't ghost
|
|
50
|
-
over freshly-revealed content. No data-active attribute => visible (the
|
|
51
|
-
pre-paint default while the bundle loads). */
|
|
52
40
|
.zuplo-app-loader-screen[data-active="false"] {
|
|
53
41
|
visibility: hidden;
|
|
54
42
|
pointer-events: none;
|
|
@@ -61,8 +49,6 @@
|
|
|
61
49
|
align-items: center;
|
|
62
50
|
justify-content: center;
|
|
63
51
|
}
|
|
64
|
-
/* Pulsing halo: a brand-colour disc expanding + fading behind the solid disc,
|
|
65
|
-
so only the growing fringe shows as a ring (matches Tailwind animate-ping). */
|
|
66
52
|
.zuplo-app-loader-halo {
|
|
67
53
|
position: absolute;
|
|
68
54
|
width: 3.5rem;
|