create-zenbu-app 0.0.3 → 0.0.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-zenbu-app",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Scaffold a new Zenbu app",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -2,50 +2,21 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <meta name="zenbu-bg" content="#F4F4F4">
5
+ <meta name="zenbu-bg" content="#111">
6
6
  <style>
7
- * { margin: 0; padding: 0; box-sizing: border-box; }
8
- html, body { height: 100%; overflow: hidden; }
9
- body {
10
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
11
- background: #F4F4F4;
12
- -webkit-app-region: drag;
13
- user-select: none;
14
- padding: 52px 48px 32px;
15
- display: flex;
16
- flex-direction: column;
17
- gap: 16px;
7
+ html, body {
8
+ height: 100%;
9
+ margin: 0;
10
+ padding: 0;
11
+ background: #111;
18
12
  }
19
13
  @media (prefers-color-scheme: dark) {
20
- body { background: #1a1a1a; }
21
- .skeleton { background: #2a2a2a; }
22
- .skeleton::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent); }
14
+ html, body {
15
+ background: #111;
16
+ }
23
17
  }
24
- .skeleton {
25
- background: #e5e5e5;
26
- border-radius: 6px;
27
- position: relative;
28
- overflow: hidden;
29
- }
30
- .skeleton::after {
31
- content: "";
32
- position: absolute;
33
- inset: 0;
34
- background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
35
- animation: shimmer 1.5s infinite;
36
- }
37
- @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
38
- .title { height: 28px; width: 35%; }
39
- .line { height: 14px; }
40
- .line:nth-child(2) { width: 90%; }
41
- .line:nth-child(3) { width: 70%; }
42
- .line:nth-child(4) { width: 80%; }
43
18
  </style>
44
19
  </head>
45
20
  <body>
46
- <div class="skeleton title"></div>
47
- <div class="skeleton line"></div>
48
- <div class="skeleton line"></div>
49
- <div class="skeleton line"></div>
50
21
  </body>
51
22
  </html>