create-zenbu-app 0.0.32 → 0.0.34
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/package.json
CHANGED
|
@@ -21,7 +21,24 @@
|
|
|
21
21
|
background: #09090b;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
/*
|
|
25
|
+
Matches `Titlebar` (src/renderer/components/titlebar.tsx) so the swap
|
|
26
|
+
from splash to React app is layout-shift free.
|
|
27
|
+
*/
|
|
28
|
+
.titlebar {
|
|
29
|
+
height: 40px;
|
|
30
|
+
flex-shrink: 0;
|
|
31
|
+
border-bottom: 1px solid #e4e4e7;
|
|
32
|
+
-webkit-app-region: drag;
|
|
33
|
+
}
|
|
34
|
+
@media (prefers-color-scheme: dark) {
|
|
35
|
+
.titlebar {
|
|
36
|
+
border-bottom-color: #27272a;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
24
39
|
</style>
|
|
25
40
|
</head>
|
|
26
|
-
<body
|
|
41
|
+
<body>
|
|
42
|
+
<div class="titlebar"></div>
|
|
43
|
+
</body>
|
|
27
44
|
</html>
|
|
@@ -21,7 +21,24 @@
|
|
|
21
21
|
background: #09090b;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
/*
|
|
25
|
+
Matches `Titlebar` (src/renderer/components/titlebar.tsx + main.css) so
|
|
26
|
+
the swap from splash to React app is layout-shift free.
|
|
27
|
+
*/
|
|
28
|
+
.titlebar {
|
|
29
|
+
height: 40px;
|
|
30
|
+
flex-shrink: 0;
|
|
31
|
+
border-bottom: 1px solid #e4e4e7;
|
|
32
|
+
-webkit-app-region: drag;
|
|
33
|
+
}
|
|
34
|
+
@media (prefers-color-scheme: dark) {
|
|
35
|
+
.titlebar {
|
|
36
|
+
border-bottom-color: #27272a;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
24
39
|
</style>
|
|
25
40
|
</head>
|
|
26
|
-
<body
|
|
41
|
+
<body>
|
|
42
|
+
<div class="titlebar"></div>
|
|
43
|
+
</body>
|
|
27
44
|
</html>
|