easel-canvas 0.2.0 โ†’ 0.2.1

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.
Files changed (33) hide show
  1. package/README.md +49 -24
  2. package/bin/mcp.mjs +10 -7
  3. package/examples/demo/CLAUDE.md +8 -0
  4. package/examples/demo/assets/fonts/OFL-Anton.txt +93 -0
  5. package/examples/demo/assets/fonts/OFL-JetBrainsMono.txt +93 -0
  6. package/examples/demo/assets/fonts/anton-latin-400.woff2 +0 -0
  7. package/examples/demo/assets/fonts/jetbrains-mono-latin-400.woff2 +0 -0
  8. package/examples/demo/assets/ticket-qr.svg +5 -0
  9. package/examples/demo/board.json +47 -20
  10. package/examples/demo/comments.json +27 -7
  11. package/examples/demo/screens/brand.html +155 -0
  12. package/examples/demo/screens/clash.html +94 -0
  13. package/examples/demo/screens/empty-day.html +114 -0
  14. package/examples/demo/screens/film.html +98 -0
  15. package/examples/demo/screens/home-daylight.html +144 -0
  16. package/examples/demo/screens/home.html +132 -38
  17. package/examples/demo/screens/poster.html +77 -0
  18. package/examples/demo/screens/programme.html +125 -0
  19. package/examples/demo/screens/site.html +118 -0
  20. package/examples/demo/screens/square.html +71 -0
  21. package/examples/demo/screens/ticket.html +107 -0
  22. package/examples/demo/screens/timetable.html +192 -0
  23. package/examples/demo/tokens.json +54 -22
  24. package/package.json +3 -2
  25. package/server/args.mjs +3 -2
  26. package/server/chat.mjs +26 -16
  27. package/server/html.mjs +1 -1
  28. package/examples/demo/screens/empty.html +0 -43
  29. package/examples/demo/screens/habit.html +0 -55
  30. package/examples/demo/screens/landing.html +0 -44
  31. package/examples/demo/screens/new-habit.html +0 -47
  32. package/examples/demo/screens/settings.html +0 -43
  33. package/examples/demo/screens/stats.html +0 -50
@@ -1,55 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <meta name="board-size" content="390x844">
7
- <title>Habit detail</title>
8
- <style>
9
- *{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#14161a;background:#fff;-webkit-font-smoothing:antialiased}
10
- .s{width:390px;height:844px;position:relative;overflow:hidden;background:#F7F6F2;display:flex;flex-direction:column}
11
- .bar{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:15px;font-weight:600}
12
- .h1{font-size:30px;font-weight:700;letter-spacing:-.02em;margin:4px 20px 4px}
13
- .sub{color:#6b6f76;font-size:15px;margin:0 20px 16px}
14
- .card{background:#fff;border-radius:20px;margin:0 16px 12px;padding:16px;box-shadow:0 1px 2px rgba(20,22,26,.04),0 4px 16px rgba(20,22,26,.05)}
15
- .row{display:flex;align-items:center;gap:12px}
16
- .ic{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;flex:none}
17
- .t{font-size:16px;font-weight:600}.m{font-size:13px;color:#6b6f76;margin-top:4px}
18
- .chk{margin-left:auto;width:28px;height:28px;border-radius:50%;border:2px solid #d9dbe0;flex:none}
19
- .chk.on{background:#3E7BFA;border-color:#3E7BFA;box-shadow:inset 0 0 0 4px #fff}
20
- .btn{display:flex;align-items:center;justify-content:center;height:54px;border-radius:16px;background:#14161a;color:#fff;font-size:16px;font-weight:600;text-decoration:none;margin:0 16px}
21
- .btn.blue{background:#3E7BFA}
22
- .tabs{position:absolute;left:16px;right:16px;bottom:20px;height:64px;border-radius:20px;background:#fff;display:flex;align-items:center;justify-content:space-around;box-shadow:0 8px 24px rgba(20,22,26,.10)}
23
- .tab{font-size:12px;font-weight:600;color:#9aa0a8;display:flex;flex-direction:column;align-items:center;gap:4px}.tab.on{color:#14161a}
24
- .dot{width:6px;height:6px;border-radius:50%;background:currentColor}
25
- .pill{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:#fff;font-size:13px;font-weight:600;margin-right:8px}
26
- .pill.on{background:#14161a;color:#fff}
27
- .ring{width:132px;height:132px;border-radius:50%;background:conic-gradient(#3E7BFA 0 72%,#E8EAF0 72% 100%);display:flex;align-items:center;justify-content:center}
28
- .ring>div{width:104px;height:104px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
29
- .bars{display:flex;align-items:flex-end;gap:8px;height:120px;padding:0 4px}
30
- .bars div{flex:1;border-radius:8px;background:#E3EAFE}.bars div.on{background:#3E7BFA}
31
- .field{height:52px;border-radius:14px;background:#fff;border:1.5px solid #e6e7eb;display:flex;align-items:center;padding:0 16px;font-size:16px;margin:0 16px 12px;color:#14161a}
32
- .lab{font-size:13px;font-weight:600;color:#6b6f76;margin:8px 20px 8px}
33
- </style>
34
- </head>
35
- <body>
36
- <div class="s">
37
- <div class="bar"><a href="home.html" style="color:inherit;text-decoration:none">โ€น Today</a><span>Edit</span></div>
38
- <div style="display:flex;flex-direction:column;align-items:center;padding:12px 0 20px">
39
- <div class="ic" style="background:#EEF3FF;width:72px;height:72px;border-radius:20px;font-size:36px">๐Ÿง˜</div>
40
- <div class="h1" style="margin-top:16px">Meditate</div>
41
- <p class="sub" style="margin:0">Every morning ยท 10 minutes</p>
42
- </div>
43
- <div class="card" style="display:flex;justify-content:space-around;text-align:center">
44
- <div><div class="h1" style="margin:0;font-size:24px">12</div><div class="m">day streak</div></div>
45
- <div><div class="h1" style="margin:0;font-size:24px">86%</div><div class="m">this month</div></div>
46
- <div><div class="h1" style="margin:0;font-size:24px">41</div><div class="m">total</div></div>
47
- </div>
48
- <div class="card">
49
- <div class="t" style="margin-bottom:12px">Last 4 weeks</div>
50
- <div style="display:grid;grid-template-columns:repeat(7,1fr);gap:8px"><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#E3EAFE"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#E3EAFE"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#E3EAFE"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div><div style="aspect-ratio:1;border-radius:8px;background:#3E7BFA"></div></div>
51
- </div>
52
- <a class="btn" href="home.html" style="margin-top:auto;margin-bottom:28px">Mark as done</a>
53
- </div>
54
- </body>
55
- </html>
@@ -1,44 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <meta name="board-size" content="1280x800">
7
- <title>Landing (desktop)</title>
8
- <style>
9
- *{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#14161a;background:#fff;-webkit-font-smoothing:antialiased}
10
- .s{width:390px;height:844px;position:relative;overflow:hidden;background:#F7F6F2;display:flex;flex-direction:column}
11
- .bar{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:15px;font-weight:600}
12
- .h1{font-size:30px;font-weight:700;letter-spacing:-.02em;margin:4px 20px 4px}
13
- .sub{color:#6b6f76;font-size:15px;margin:0 20px 16px}
14
- .card{background:#fff;border-radius:20px;margin:0 16px 12px;padding:16px;box-shadow:0 1px 2px rgba(20,22,26,.04),0 4px 16px rgba(20,22,26,.05)}
15
- .row{display:flex;align-items:center;gap:12px}
16
- .ic{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;flex:none}
17
- .t{font-size:16px;font-weight:600}.m{font-size:13px;color:#6b6f76;margin-top:4px}
18
- .chk{margin-left:auto;width:28px;height:28px;border-radius:50%;border:2px solid #d9dbe0;flex:none}
19
- .chk.on{background:#3E7BFA;border-color:#3E7BFA;box-shadow:inset 0 0 0 4px #fff}
20
- .btn{display:flex;align-items:center;justify-content:center;height:54px;border-radius:16px;background:#14161a;color:#fff;font-size:16px;font-weight:600;text-decoration:none;margin:0 16px}
21
- .btn.blue{background:#3E7BFA}
22
- .tabs{position:absolute;left:16px;right:16px;bottom:20px;height:64px;border-radius:20px;background:#fff;display:flex;align-items:center;justify-content:space-around;box-shadow:0 8px 24px rgba(20,22,26,.10)}
23
- .tab{font-size:12px;font-weight:600;color:#9aa0a8;display:flex;flex-direction:column;align-items:center;gap:4px}.tab.on{color:#14161a}
24
- .dot{width:6px;height:6px;border-radius:50%;background:currentColor}
25
- .pill{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:#fff;font-size:13px;font-weight:600;margin-right:8px}
26
- .pill.on{background:#14161a;color:#fff}
27
- .ring{width:132px;height:132px;border-radius:50%;background:conic-gradient(#3E7BFA 0 72%,#E8EAF0 72% 100%);display:flex;align-items:center;justify-content:center}
28
- .ring>div{width:104px;height:104px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
29
- .bars{display:flex;align-items:flex-end;gap:8px;height:120px;padding:0 4px}
30
- .bars div{flex:1;border-radius:8px;background:#E3EAFE}.bars div.on{background:#3E7BFA}
31
- .field{height:52px;border-radius:14px;background:#fff;border:1.5px solid #e6e7eb;display:flex;align-items:center;padding:0 16px;font-size:16px;margin:0 16px 12px;color:#14161a}
32
- .lab{font-size:13px;font-weight:600;color:#6b6f76;margin:8px 20px 8px}
33
- </style>
34
- </head>
35
- <body>
36
- <div style="width:1280px;height:800px;background:linear-gradient(180deg,#F7F6F2,#EEF3FF);display:flex;flex-direction:column">
37
- <header style="display:flex;align-items:center;justify-content:space-between;padding:28px 64px"><strong style="font-size:22px">โ— Tidy</strong><nav style="display:flex;gap:32px;color:#6b6f76;font-weight:500"><span>Features</span><span>Pricing</span><span>Blog</span></nav><a class="btn" style="height:44px;padding:0 20px;margin:0">Get the app</a></header>
38
- <main style="display:flex;align-items:center;gap:64px;padding:40px 64px;flex:1">
39
- <div style="flex:1"><div class="pill" style="margin-bottom:20px">New ยท Streak insights</div><h1 style="font-size:64px;line-height:1.05;letter-spacing:-.03em;margin:0 0 20px">Habits that<br>actually stick.</h1><p style="font-size:20px;color:#6b6f76;line-height:1.5;margin:0 0 32px;max-width:460px">Tidy keeps your routine light: one tap to check in, gentle reminders, and a week view that shows real progress.</p><div style="display:flex;gap:12px"><a class="btn blue" style="margin:0;padding:0 28px">Start free</a><a class="btn" style="margin:0;padding:0 28px;background:#fff;color:#14161a">See how it works</a></div></div>
40
- <div style="width:340px;height:560px;border-radius:44px;background:#14161a;padding:12px;box-shadow:0 30px 60px rgba(20,22,26,.25)"><div style="width:100%;height:100%;border-radius:36px;background:#F7F6F2;padding:28px 16px"><div class="h1" style="margin:0 4px 16px;font-size:24px">Today</div><a class="card row" href="habit.html" style="text-decoration:none;color:inherit"><div class="ic" style="background:#EEF3FF">๐Ÿง˜</div><div><div class="t">Meditate</div><div class="m">10 min</div></div><div class="chk on"></div></a><a class="card row" href="habit.html" style="text-decoration:none;color:inherit"><div class="ic" style="background:#E8F7F1">๐Ÿ’ง</div><div><div class="t">Drink water</div><div class="m">6 of 8</div></div><div class="chk on"></div></a><a class="card row" href="habit.html" style="text-decoration:none;color:inherit"><div class="ic" style="background:#FFF4E5">๐Ÿ“š</div><div><div class="t">Read</div><div class="m">20 pages</div></div><div class="chk"></div></a></div></div>
41
- </main>
42
- </div>
43
- </body>
44
- </html>
@@ -1,47 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <meta name="board-size" content="390x844">
7
- <title>New habit</title>
8
- <style>
9
- *{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#14161a;background:#fff;-webkit-font-smoothing:antialiased}
10
- .s{width:390px;height:844px;position:relative;overflow:hidden;background:#F7F6F2;display:flex;flex-direction:column}
11
- .bar{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:15px;font-weight:600}
12
- .h1{font-size:30px;font-weight:700;letter-spacing:-.02em;margin:4px 20px 4px}
13
- .sub{color:#6b6f76;font-size:15px;margin:0 20px 16px}
14
- .card{background:#fff;border-radius:20px;margin:0 16px 12px;padding:16px;box-shadow:0 1px 2px rgba(20,22,26,.04),0 4px 16px rgba(20,22,26,.05)}
15
- .row{display:flex;align-items:center;gap:12px}
16
- .ic{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;flex:none}
17
- .t{font-size:16px;font-weight:600}.m{font-size:13px;color:#6b6f76;margin-top:4px}
18
- .chk{margin-left:auto;width:28px;height:28px;border-radius:50%;border:2px solid #d9dbe0;flex:none}
19
- .chk.on{background:#3E7BFA;border-color:#3E7BFA;box-shadow:inset 0 0 0 4px #fff}
20
- .btn{display:flex;align-items:center;justify-content:center;height:54px;border-radius:16px;background:#14161a;color:#fff;font-size:16px;font-weight:600;text-decoration:none;margin:0 16px}
21
- .btn.blue{background:#3E7BFA}
22
- .tabs{position:absolute;left:16px;right:16px;bottom:20px;height:64px;border-radius:20px;background:#fff;display:flex;align-items:center;justify-content:space-around;box-shadow:0 8px 24px rgba(20,22,26,.10)}
23
- .tab{font-size:12px;font-weight:600;color:#9aa0a8;display:flex;flex-direction:column;align-items:center;gap:4px}.tab.on{color:#14161a}
24
- .dot{width:6px;height:6px;border-radius:50%;background:currentColor}
25
- .pill{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:#fff;font-size:13px;font-weight:600;margin-right:8px}
26
- .pill.on{background:#14161a;color:#fff}
27
- .ring{width:132px;height:132px;border-radius:50%;background:conic-gradient(#3E7BFA 0 72%,#E8EAF0 72% 100%);display:flex;align-items:center;justify-content:center}
28
- .ring>div{width:104px;height:104px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
29
- .bars{display:flex;align-items:flex-end;gap:8px;height:120px;padding:0 4px}
30
- .bars div{flex:1;border-radius:8px;background:#E3EAFE}.bars div.on{background:#3E7BFA}
31
- .field{height:52px;border-radius:14px;background:#fff;border:1.5px solid #e6e7eb;display:flex;align-items:center;padding:0 16px;font-size:16px;margin:0 16px 12px;color:#14161a}
32
- .lab{font-size:13px;font-weight:600;color:#6b6f76;margin:8px 20px 8px}
33
- </style>
34
- </head>
35
- <body>
36
- <div class="s">
37
- <div class="bar"><a href="home.html" style="color:inherit;text-decoration:none">Cancel</a><span>New habit</span><span style="color:#3E7BFA">Save</span></div>
38
- <div class="lab">Name</div><div class="field">Stretch</div>
39
- <div class="lab">Icon</div>
40
- <div style="display:flex;gap:8px;margin:0 16px 12px"><div class="ic" style="background:#EEF3FF;outline:2px solid #3E7BFA;outline-offset:2px">๐Ÿคธ</div><div class="ic" style="background:#E8F7F1;">๐ŸŽ</div><div class="ic" style="background:#FFF4E5;">๐ŸŽง</div><div class="ic" style="background:#F3EEFF;">๐ŸŒ™</div><div class="ic" style="background:#FDECEC;">๐Ÿšฒ</div></div>
41
- <div class="lab">Repeat</div>
42
- <div style="display:flex;gap:8px;margin:0 16px 12px"><div style="flex:1;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;background:#14161a;color:#fff">M</div><div style="flex:1;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;background:#14161a;color:#fff">T</div><div style="flex:1;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;background:#14161a;color:#fff">W</div><div style="flex:1;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;background:#14161a;color:#fff">T</div><div style="flex:1;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;background:#14161a;color:#fff">F</div><div style="flex:1;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;background:#fff;color:#9aa0a8">S</div><div style="flex:1;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;background:#fff;color:#9aa0a8">S</div></div>
43
- <div class="lab">Reminder</div><div class="field" style="justify-content:space-between">7:30 AM <span style="width:44px;height:26px;border-radius:12px;background:#3E7BFA;position:relative"><span style="position:absolute;right:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff"></span></span></div>
44
- <a class="btn blue" href="home.html" style="margin-top:auto;margin-bottom:28px">Create habit</a>
45
- </div>
46
- </body>
47
- </html>
@@ -1,43 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <meta name="board-size" content="390x844">
7
- <title>Settings</title>
8
- <style>
9
- *{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#14161a;background:#fff;-webkit-font-smoothing:antialiased}
10
- .s{width:390px;height:844px;position:relative;overflow:hidden;background:#F7F6F2;display:flex;flex-direction:column}
11
- .bar{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:15px;font-weight:600}
12
- .h1{font-size:30px;font-weight:700;letter-spacing:-.02em;margin:4px 20px 4px}
13
- .sub{color:#6b6f76;font-size:15px;margin:0 20px 16px}
14
- .card{background:#fff;border-radius:20px;margin:0 16px 12px;padding:16px;box-shadow:0 1px 2px rgba(20,22,26,.04),0 4px 16px rgba(20,22,26,.05)}
15
- .row{display:flex;align-items:center;gap:12px}
16
- .ic{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;flex:none}
17
- .t{font-size:16px;font-weight:600}.m{font-size:13px;color:#6b6f76;margin-top:4px}
18
- .chk{margin-left:auto;width:28px;height:28px;border-radius:50%;border:2px solid #d9dbe0;flex:none}
19
- .chk.on{background:#3E7BFA;border-color:#3E7BFA;box-shadow:inset 0 0 0 4px #fff}
20
- .btn{display:flex;align-items:center;justify-content:center;height:54px;border-radius:16px;background:#14161a;color:#fff;font-size:16px;font-weight:600;text-decoration:none;margin:0 16px}
21
- .btn.blue{background:#3E7BFA}
22
- .tabs{position:absolute;left:16px;right:16px;bottom:20px;height:64px;border-radius:20px;background:#fff;display:flex;align-items:center;justify-content:space-around;box-shadow:0 8px 24px rgba(20,22,26,.10)}
23
- .tab{font-size:12px;font-weight:600;color:#9aa0a8;display:flex;flex-direction:column;align-items:center;gap:4px}.tab.on{color:#14161a}
24
- .dot{width:6px;height:6px;border-radius:50%;background:currentColor}
25
- .pill{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:#fff;font-size:13px;font-weight:600;margin-right:8px}
26
- .pill.on{background:#14161a;color:#fff}
27
- .ring{width:132px;height:132px;border-radius:50%;background:conic-gradient(#3E7BFA 0 72%,#E8EAF0 72% 100%);display:flex;align-items:center;justify-content:center}
28
- .ring>div{width:104px;height:104px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
29
- .bars{display:flex;align-items:flex-end;gap:8px;height:120px;padding:0 4px}
30
- .bars div{flex:1;border-radius:8px;background:#E3EAFE}.bars div.on{background:#3E7BFA}
31
- .field{height:52px;border-radius:14px;background:#fff;border:1.5px solid #e6e7eb;display:flex;align-items:center;padding:0 16px;font-size:16px;margin:0 16px 12px;color:#14161a}
32
- .lab{font-size:13px;font-weight:600;color:#6b6f76;margin:8px 20px 8px}
33
- </style>
34
- </head>
35
- <body>
36
- <div class="s">
37
- <div class="bar"><span>9:41</span><span>โ—โ—โ—</span></div>
38
- <div class="h1">Settings</div><p class="sub">sam@example.com</p>
39
- <div class="card row" style="padding:12px 16px"><div class="ic" style="width:36px;height:36px;border-radius:12px;font-size:18px;background:#FFF4E5">๐Ÿ””</div><div class="t" style="font-weight:500">Reminders</div><div style="margin-left:auto;color:#9aa0a8">On</div></div><div class="card row" style="padding:12px 16px"><div class="ic" style="width:36px;height:36px;border-radius:12px;font-size:18px;background:#F3EEFF">๐ŸŒ—</div><div class="t" style="font-weight:500">Appearance</div><div style="margin-left:auto;color:#9aa0a8">System</div></div><div class="card row" style="padding:12px 16px"><div class="ic" style="width:36px;height:36px;border-radius:12px;font-size:18px;background:#EEF3FF">โ˜๏ธ</div><div class="t" style="font-weight:500">Sync</div><div style="margin-left:auto;color:#9aa0a8">iCloud</div></div><div class="card row" style="padding:12px 16px"><div class="ic" style="width:36px;height:36px;border-radius:12px;font-size:18px;background:#E8F7F1">๐Ÿ“ค</div><div class="t" style="font-weight:500">Export data</div><div style="margin-left:auto;color:#9aa0a8">CSV</div></div><div class="card row" style="padding:12px 16px"><div class="ic" style="width:36px;height:36px;border-radius:12px;font-size:18px;background:#FDECEC">โค๏ธ</div><div class="t" style="font-weight:500">Rate Tidy</div><div style="margin-left:auto;color:#9aa0a8"></div></div>
40
- <nav class="tabs"><a class="tab" href="home.html" style="text-decoration:none"><span class="dot"></span>Today</a><a class="tab" href="stats.html" style="text-decoration:none"><span class="dot"></span>Stats</a><a class="tab on" href="settings.html" style="text-decoration:none"><span class="dot"></span>Settings</a></nav>
41
- </div>
42
- </body>
43
- </html>
@@ -1,50 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <meta name="board-size" content="390x844">
7
- <title>Stats</title>
8
- <style>
9
- *{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#14161a;background:#fff;-webkit-font-smoothing:antialiased}
10
- .s{width:390px;height:844px;position:relative;overflow:hidden;background:#F7F6F2;display:flex;flex-direction:column}
11
- .bar{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:15px;font-weight:600}
12
- .h1{font-size:30px;font-weight:700;letter-spacing:-.02em;margin:4px 20px 4px}
13
- .sub{color:#6b6f76;font-size:15px;margin:0 20px 16px}
14
- .card{background:#fff;border-radius:20px;margin:0 16px 12px;padding:16px;box-shadow:0 1px 2px rgba(20,22,26,.04),0 4px 16px rgba(20,22,26,.05)}
15
- .row{display:flex;align-items:center;gap:12px}
16
- .ic{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;flex:none}
17
- .t{font-size:16px;font-weight:600}.m{font-size:13px;color:#6b6f76;margin-top:4px}
18
- .chk{margin-left:auto;width:28px;height:28px;border-radius:50%;border:2px solid #d9dbe0;flex:none}
19
- .chk.on{background:#3E7BFA;border-color:#3E7BFA;box-shadow:inset 0 0 0 4px #fff}
20
- .btn{display:flex;align-items:center;justify-content:center;height:54px;border-radius:16px;background:#14161a;color:#fff;font-size:16px;font-weight:600;text-decoration:none;margin:0 16px}
21
- .btn.blue{background:#3E7BFA}
22
- .tabs{position:absolute;left:16px;right:16px;bottom:20px;height:64px;border-radius:20px;background:#fff;display:flex;align-items:center;justify-content:space-around;box-shadow:0 8px 24px rgba(20,22,26,.10)}
23
- .tab{font-size:12px;font-weight:600;color:#9aa0a8;display:flex;flex-direction:column;align-items:center;gap:4px}.tab.on{color:#14161a}
24
- .dot{width:6px;height:6px;border-radius:50%;background:currentColor}
25
- .pill{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:#fff;font-size:13px;font-weight:600;margin-right:8px}
26
- .pill.on{background:#14161a;color:#fff}
27
- .ring{width:132px;height:132px;border-radius:50%;background:conic-gradient(#3E7BFA 0 72%,#E8EAF0 72% 100%);display:flex;align-items:center;justify-content:center}
28
- .ring>div{width:104px;height:104px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
29
- .bars{display:flex;align-items:flex-end;gap:8px;height:120px;padding:0 4px}
30
- .bars div{flex:1;border-radius:8px;background:#E3EAFE}.bars div.on{background:#3E7BFA}
31
- .field{height:52px;border-radius:14px;background:#fff;border:1.5px solid #e6e7eb;display:flex;align-items:center;padding:0 16px;font-size:16px;margin:0 16px 12px;color:#14161a}
32
- .lab{font-size:13px;font-weight:600;color:#6b6f76;margin:8px 20px 8px}
33
- </style>
34
- </head>
35
- <body>
36
- <div class="s">
37
- <div class="bar"><span>9:41</span><span>โ—โ—โ—</span></div>
38
- <div class="h1">Your week</div><p class="sub">You're 18% more consistent than last week</p>
39
- <div class="card" style="display:flex;align-items:center;gap:20px">
40
- <div class="ring"><div><div class="h1" style="margin:0;font-size:26px">72%</div><div class="m">completed</div></div></div>
41
- <div><div class="t">25 of 35</div><div class="m">check-ins this week</div><div class="t" style="margin-top:12px">Best day</div><div class="m">Wednesday ยท 5/5</div></div>
42
- </div>
43
- <div class="card"><div class="t" style="margin-bottom:12px">Daily check-ins</div>
44
- <div class="bars"><div class="" style="height:60%"></div><div class="" style="height:80%"></div><div class="on" style="height:100%"></div><div class="" style="height:40%"></div><div class="" style="height:80%"></div><div class="" style="height:60%"></div><div class="" style="height:35%"></div></div>
45
- <div style="display:flex;justify-content:space-between;font-size:12px;color:#9aa0a8;margin-top:8px;padding:0 8px"><span>M</span><span>T</span><span>W</span><span>T</span><span>F</span><span>S</span><span>S</span></div>
46
- </div>
47
- <nav class="tabs"><a class="tab" href="home.html" style="text-decoration:none"><span class="dot"></span>Today</a><a class="tab on" href="stats.html" style="text-decoration:none"><span class="dot"></span>Stats</a><a class="tab" href="settings.html" style="text-decoration:none"><span class="dot"></span>Settings</a></nav>
48
- </div>
49
- </body>
50
- </html>