easel-canvas 0.2.0 → 0.2.2

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 (42) hide show
  1. package/README.md +51 -26
  2. package/bin/mcp.mjs +10 -7
  3. package/dist/assets/{index-BZFSkKqU.css → index-CjyXUlEx.css} +1 -1
  4. package/dist/assets/index-DFCSLJXY.js +66 -0
  5. package/dist/index.html +2 -2
  6. package/dist/viewer/viewer.css +1 -1
  7. package/dist/viewer/viewer.js +13 -12
  8. package/examples/demo/CLAUDE.md +8 -0
  9. package/examples/demo/assets/fonts/OFL-Anton.txt +93 -0
  10. package/examples/demo/assets/fonts/OFL-JetBrainsMono.txt +93 -0
  11. package/examples/demo/assets/fonts/anton-latin-400.woff2 +0 -0
  12. package/examples/demo/assets/fonts/jetbrains-mono-latin-400.woff2 +0 -0
  13. package/examples/demo/assets/ticket-qr.svg +5 -0
  14. package/examples/demo/board.json +47 -20
  15. package/examples/demo/comments.json +27 -7
  16. package/examples/demo/screens/brand.html +155 -0
  17. package/examples/demo/screens/clash.html +94 -0
  18. package/examples/demo/screens/empty-day.html +114 -0
  19. package/examples/demo/screens/film.html +98 -0
  20. package/examples/demo/screens/home-daylight.html +144 -0
  21. package/examples/demo/screens/home.html +132 -38
  22. package/examples/demo/screens/poster.html +77 -0
  23. package/examples/demo/screens/programme.html +125 -0
  24. package/examples/demo/screens/site.html +118 -0
  25. package/examples/demo/screens/square.html +71 -0
  26. package/examples/demo/screens/ticket.html +107 -0
  27. package/examples/demo/screens/timetable.html +192 -0
  28. package/examples/demo/tokens.json +54 -22
  29. package/package.json +3 -2
  30. package/server/args.mjs +3 -2
  31. package/server/boards.mjs +22 -2
  32. package/server/chat.mjs +26 -16
  33. package/server/forks.mjs +16 -3
  34. package/server/html.mjs +1 -1
  35. package/server/place.mjs +33 -5
  36. package/dist/assets/index-BwyrrnkP.js +0 -65
  37. package/examples/demo/screens/empty.html +0 -43
  38. package/examples/demo/screens/habit.html +0 -55
  39. package/examples/demo/screens/landing.html +0 -44
  40. package/examples/demo/screens/new-habit.html +0 -47
  41. package/examples/demo/screens/settings.html +0 -43
  42. package/examples/demo/screens/stats.html +0 -50
@@ -0,0 +1,8 @@
1
+ # Intercut No.14 · notes for agents
2
+
3
+ A city film festival: brand, site, phone app (390×844), desktop timetable, campaign. Each board is one hand-written HTML file in `screens/`. Edit them with your file edit tool; there is nothing to build, measure or run, so no scripts and no shell.
4
+
5
+ - Every board opens with the same base block (fonts, `:root` colour tokens, `.display`, `.mono`, `.splice`). Colours are `var(--token)` named after `tokens.json` (theme Night; `home-daylight.html` uses Daylight in its `:root`).
6
+ - Type: `.display` is Anton caps in a box exactly cap-high; `.mono` is JetBrains Mono small print. Sizes come from `tokens.json`. No need to measure the fonts: an Anton cap is about 0.45em wide, so a 120px phone title holds about seven letters, and a line may run off the right edge on purpose (the board crops it).
7
+ - The splice: add `splice` to one `.display` line; its filter is in the `<svg class="defs">` at the end of the body. Only the "now" line is spliced.
8
+ - Patterns to copy: `.film-row` (time, title, cinema), `.day-cell`, `.ticket-bar`, `.fact`, and the scannable ticket QR, an image any board can reuse: `<img class="qr" src="../assets/ticket-qr.svg" alt="Ticket code 14-0603-C1-F12">` (as in `ticket.html`).
@@ -0,0 +1,93 @@
1
+ Copyright 2020 The Anton Project Authors (https://github.com/googlefonts/AntonFont.git)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,93 @@
1
+ Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="-4 -4 33 33" shape-rendering="crispEdges">
2
+ <!-- Ticket 14-0603-C1-F12, QR version 2, level M: INTERCUT.FILM/T/14-0603-C1-F12. Field on Ink, four-module quiet zone. -->
3
+ <rect x="-4" y="-4" width="33" height="33" fill="#FFFFFF"/>
4
+ <path fill="#0A0A0A" d="M0 0h7v1h-7zM8 0h1v1h-1zM10 0h3v1h-3zM15 0h2v1h-2zM18 0h7v1h-7zM0 1h1v1h-1zM6 1h1v1h-1zM10 1h3v1h-3zM14 1h1v1h-1zM18 1h1v1h-1zM24 1h1v1h-1zM0 2h1v1h-1zM2 2h3v1h-3zM6 2h1v1h-1zM8 2h2v1h-2zM12 2h1v1h-1zM16 2h1v1h-1zM18 2h1v1h-1zM20 2h3v1h-3zM24 2h1v1h-1zM0 3h1v1h-1zM2 3h3v1h-3zM6 3h1v1h-1zM9 3h3v1h-3zM13 3h2v1h-2zM18 3h1v1h-1zM20 3h3v1h-3zM24 3h1v1h-1zM0 4h1v1h-1zM2 4h3v1h-3zM6 4h1v1h-1zM12 4h1v1h-1zM14 4h3v1h-3zM18 4h1v1h-1zM20 4h3v1h-3zM24 4h1v1h-1zM0 5h1v1h-1zM6 5h1v1h-1zM8 5h1v1h-1zM12 5h1v1h-1zM15 5h2v1h-2zM18 5h1v1h-1zM24 5h1v1h-1zM0 6h7v1h-7zM8 6h1v1h-1zM10 6h1v1h-1zM12 6h1v1h-1zM14 6h1v1h-1zM16 6h1v1h-1zM18 6h7v1h-7zM10 7h1v1h-1zM12 7h2v1h-2zM16 7h1v1h-1zM0 8h1v1h-1zM2 8h1v1h-1zM6 8h2v1h-2zM9 8h1v1h-1zM11 8h1v1h-1zM13 8h4v1h-4zM19 8h1v1h-1zM22 8h1v1h-1zM24 8h1v1h-1zM0 9h2v1h-2zM4 9h1v1h-1zM8 9h1v1h-1zM10 9h3v1h-3zM18 9h1v1h-1zM21 9h2v1h-2zM0 10h1v1h-1zM2 10h3v1h-3zM6 10h2v1h-2zM9 10h2v1h-2zM13 10h2v1h-2zM18 10h3v1h-3zM24 10h1v1h-1zM0 11h1v1h-1zM2 11h1v1h-1zM4 11h2v1h-2zM8 11h1v1h-1zM10 11h1v1h-1zM12 11h2v1h-2zM15 11h1v1h-1zM18 11h1v1h-1zM24 11h1v1h-1zM0 12h1v1h-1zM4 12h1v1h-1zM6 12h1v1h-1zM11 12h2v1h-2zM14 12h4v1h-4zM23 12h1v1h-1zM1 13h2v1h-2zM4 13h1v1h-1zM8 13h1v1h-1zM12 13h3v1h-3zM16 13h1v1h-1zM18 13h3v1h-3zM23 13h1v1h-1zM0 14h2v1h-2zM6 14h2v1h-2zM9 14h2v1h-2zM12 14h2v1h-2zM15 14h4v1h-4zM21 14h1v1h-1zM23 14h2v1h-2zM2 15h2v1h-2zM5 15h1v1h-1zM9 15h4v1h-4zM15 15h1v1h-1zM18 15h2v1h-2zM21 15h2v1h-2zM0 16h2v1h-2zM3 16h4v1h-4zM8 16h2v1h-2zM13 16h2v1h-2zM16 16h6v1h-6zM24 16h1v1h-1zM8 17h1v1h-1zM13 17h1v1h-1zM16 17h1v1h-1zM20 17h1v1h-1zM22 17h3v1h-3zM0 18h7v1h-7zM8 18h2v1h-2zM11 18h1v1h-1zM16 18h1v1h-1zM18 18h1v1h-1zM20 18h1v1h-1zM23 18h2v1h-2zM0 19h1v1h-1zM6 19h1v1h-1zM9 19h2v1h-2zM13 19h1v1h-1zM15 19h2v1h-2zM20 19h1v1h-1zM23 19h2v1h-2zM0 20h1v1h-1zM2 20h3v1h-3zM6 20h1v1h-1zM9 20h1v1h-1zM11 20h3v1h-3zM15 20h6v1h-6zM22 20h1v1h-1zM0 21h1v1h-1zM2 21h3v1h-3zM6 21h1v1h-1zM9 21h1v1h-1zM12 21h1v1h-1zM16 21h1v1h-1zM20 21h3v1h-3zM0 22h1v1h-1zM2 22h3v1h-3zM6 22h1v1h-1zM8 22h3v1h-3zM12 22h3v1h-3zM17 22h2v1h-2zM20 22h1v1h-1zM23 22h2v1h-2zM0 23h1v1h-1zM6 23h1v1h-1zM10 23h3v1h-3zM14 23h2v1h-2zM19 23h1v1h-1zM21 23h1v1h-1zM24 23h1v1h-1zM0 24h7v1h-7zM8 24h2v1h-2zM13 24h4v1h-4zM19 24h2v1h-2zM23 24h2v1h-2z"/>
5
+ </svg>
@@ -1,43 +1,70 @@
1
1
  {
2
2
  "version": 1,
3
- "title": "Tidy — habit tracker",
3
+ "title": "Intercut No.14 — city film festival",
4
4
  "pages": [],
5
5
  "boards": {
6
- "empty.html": {"x":0,"y":1140,"w":390,"h":844,"title":"Empty state","radius":36},
6
+ "brand.html": {"x":0,"y":0,"w":1440,"h":900,"title":"Brand sheet"},
7
7
 
8
- "habit.html": {"x":470,"y":0,"w":390,"h":844,"title":"Habit detail","radius":36},
8
+ "clash.html": {"x":1960,"y":1320,"w":390,"h":844,"title":"Clash","radius":36},
9
9
 
10
- "home.html": {"x":0,"y":0,"w":390,"h":844,"title":"Today","is_interactive":true,"radius":36},
10
+ "empty-day.html": {"x":2430,"y":1320,"w":390,"h":844,"title":"Empty day","radius":36},
11
11
 
12
- "landing.html": {"x":470,"y":1140,"w":1280,"h":800,"title":"Landing (desktop)"},
12
+ "film.html": {"x":470,"y":1320,"w":390,"h":844,"title":"Film","radius":36},
13
13
 
14
- "new-habit.html": {"x":940,"y":0,"w":390,"h":844,"title":"New habit","radius":36},
14
+ "home-daylight.html": {"x":2900,"y":1320,"w":390,"h":844,"title":"My cut, daylight","radius":36},
15
15
 
16
- "settings.html": {"x":1880,"y":0,"w":390,"h":844,"title":"Settings","radius":36},
16
+ "home.html": {"x":0,"y":1320,"w":390,"h":844,"title":"My cut","is_interactive":true,"radius":36},
17
17
 
18
- "stats.html": {"x":1410,"y":0,"w":390,"h":844,"title":"Stats","radius":36}
18
+ "poster.html": {"x":3370,"y":0,"w":1200,"h":1800,"title":"Six-sheet poster"},
19
+
20
+ "programme.html": {"x":1410,"y":1320,"w":390,"h":844,"title":"Programme","radius":36},
21
+
22
+ "site.html": {"x":1540,"y":0,"w":1440,"h":900,"title":"Site, first screen"},
23
+
24
+ "square.html": {"x":3370,"y":2120,"w":1080,"h":1080,"title":"Social square"},
25
+
26
+ "ticket.html": {"x":940,"y":1320,"w":390,"h":844,"title":"Ticket","radius":36},
27
+
28
+ "timetable.html": {"x":0,"y":2560,"w":1440,"h":900,"title":"Desktop timetable"}
19
29
  },
20
30
  "order": [
21
31
  "home.html",
22
- "habit.html",
23
- "new-habit.html",
24
- "stats.html",
25
- "settings.html",
26
- "empty.html",
27
- "landing.html"
32
+ "film.html",
33
+ "ticket.html",
34
+ "programme.html",
35
+ "clash.html",
36
+ "empty-day.html",
37
+ "home-daylight.html",
38
+ "brand.html",
39
+ "site.html",
40
+ "timetable.html",
41
+ "poster.html",
42
+ "square.html"
28
43
  ],
29
44
  "notes": {
30
- "n1": {"kind":"title","x":0,"y":-260,"maxW":2400,"text":"Tidy — habit tracker"},
45
+ "n1": {"kind":"title","x":0,"y":-260,"maxW":3000,"text":"Intercut No.14 — identity"},
46
+
47
+ "n2": {"kind":"title","x":0,"y":1040,"maxW":1800,"text":"The app — Play from My cut","size":48},
31
48
 
32
- "n2": {"kind":"sticky","x":2350,"y":0,"w":360,"text":"Check-in should be one tap from Today.\nKeep the streak visible.","color":"yellow"},
49
+ "n3": {"kind":"title","x":1960,"y":1040,"maxW":1400,"text":"States and the daylight twin","size":48},
33
50
 
34
- "n3": {"kind":"sticky","x":2350,"y":300,"w":360,"text":"Stats: compare with last week, not with other people.","color":"blue"},
51
+ "n4": {"kind":"title","x":0,"y":2280,"maxW":1440,"text":"One product on the desk","size":48},
35
52
 
36
- "n4": {"kind":"title","x":0,"y":880,"maxW":2400,"text":"Onboarding & marketing","size":48}
53
+ "n5": {"kind":"title","x":3370,"y":-260,"maxW":1200,"text":"Campaign"},
54
+
55
+ "n6": {"kind":"sticky","x":1540,"y":2560,"w":360,"text":"Only the next film is spliced. Cut two titles on one screen and the cut stops meaning \"now\".","color":"orange"},
56
+
57
+ "n7": {"kind":"sticky","x":1960,"y":2560,"w":360,"text":"Under 56px the wordmark's cut turns into colour: CUT in Safelight. At 28–40px the slit read as a strikethrough.","color":"yellow"},
58
+
59
+ "n8": {"kind":"sticky","x":2380,"y":2560,"w":360,"text":"Daylight is a theme, not a redesign: home-daylight.html differs from home.html only in :root. Small red text uses Signal so it holds 4.5:1 on white.","color":"blue"},
60
+
61
+ "n9": {"kind":"sticky","x":2800,"y":2560,"w":360,"text":"Fonts: Anton + JetBrains Mono (OFL) in assets/fonts. New display face = change --display, retune --cap, --cap-nudge and the slit's two y numbers.","color":"gray"}
37
62
  },
38
63
  "shapes": {
39
- "s1": {"kind":"arrow","x":400,"y":300,"w":60,"h":0,"points":[[0,0],[60,0]],"stroke":"#3E7BFA","strokeWidth":6,"z":1},
64
+ "s1": {"kind":"arrow","x":400,"y":1620,"w":60,"h":0,"points":[[0,0],[60,0]],"stroke":"#FF3D14","strokeWidth":6,"z":1},
65
+
66
+ "s2": {"kind":"arrow","x":870,"y":1620,"w":60,"h":0,"points":[[0,0],[60,0]],"stroke":"#FF3D14","strokeWidth":6,"z":2},
40
67
 
41
- "s2": {"kind":"arrow","x":870,"y":300,"w":60,"h":0,"points":[[0,0],[60,0]],"stroke":"#3E7BFA","strokeWidth":6,"z":2}
68
+ "s3": {"kind":"arrow","x":1810,"y":1620,"w":140,"h":0,"points":[[0,0],[140,0]],"stroke":"#FF3D14","strokeWidth":6,"z":3}
42
69
  }
43
70
  }
@@ -3,19 +3,39 @@
3
3
  {
4
4
  "id": "c1",
5
5
  "file": "home.html",
6
- "path": "0/3",
7
- "text": "Can we show progress as a ring here instead of text?",
8
- "author": "Alex",
9
- "createdAt": "2026-10-10T09:00:00.000Z",
6
+ "path": "0/5",
7
+ "text": "Can the ticket bar show the seat too? In the queue people look for F12, not the doors time.",
8
+ "author": "Mara",
9
+ "createdAt": "2027-02-18T09:00:00.000Z",
10
10
  "resolved": false,
11
11
  "replies": [
12
12
  {
13
13
  "id": "r1",
14
14
  "author": "Sam",
15
- "text": "Trying it in the Stats board first.",
16
- "createdAt": "2026-10-10T09:20:00.000Z"
15
+ "text": "Yes, and keep Doors on the right. Asking the agent.",
16
+ "createdAt": "2027-02-18T09:20:00.000Z"
17
17
  }
18
18
  ]
19
+ },
20
+ {
21
+ "id": "c2",
22
+ "file": "timetable.html",
23
+ "path": "0/2/4/5",
24
+ "text": "Mirror Weather overlaps Salt Winter by 22 min. Hatch the overlap here like the Clash screen does.",
25
+ "author": "Mara",
26
+ "createdAt": "2027-02-18T10:05:00.000Z",
27
+ "resolved": false,
28
+ "replies": []
29
+ },
30
+ {
31
+ "id": "c3",
32
+ "file": "programme.html",
33
+ "path": "0/3",
34
+ "text": "Add a \"Free now\" filter next to All: only films I can still make tonight without a clash.",
35
+ "author": "Jon",
36
+ "createdAt": "2027-02-19T08:40:00.000Z",
37
+ "resolved": false,
38
+ "replies": []
19
39
  }
20
40
  ]
21
- }
41
+ }
@@ -0,0 +1,155 @@
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="1440x900">
7
+ <title>Brand sheet</title>
8
+ <style>
9
+ /* ===== Intercut base: the same block opens every board ===== */
10
+ @font-face{font-family:"Anton";src:url("../assets/fonts/anton-latin-400.woff2") format("woff2");font-display:block}
11
+ @font-face{font-family:"JetBrains Mono";src:url("../assets/fonts/jetbrains-mono-latin-400.woff2") format("woff2");font-display:block}
12
+ :root{
13
+ /* colour tokens: tokens.json, theme Night */
14
+ --field:#0A0A0A; --ink:#FFFFFF; --muted:#9C9C9C; --rule:#333333; --safelight:#FF3D14; --on-safelight:#0A0A0A; --signal:#FF3D14;
15
+ /* faces: swap them here, then retune the two numbers below */
16
+ --display:"Anton","HelveticaNeue-CondensedBlack",Impact,sans-serif;
17
+ --mono:"JetBrains Mono",Menlo,monospace;
18
+ --cap:.86; /* cap height ÷ font size: a display line box is exactly its caps */
19
+ --cap-nudge:.0065em; /* moves the caps down onto the box, so cap top = box top */
20
+ }
21
+ *{box-sizing:border-box;margin:0;padding:0}
22
+ html,body{background:var(--field);color:var(--ink)}
23
+ body{font-family:var(--mono);font-size:16px;line-height:24px;-webkit-font-smoothing:antialiased}
24
+ a{color:inherit;text-decoration:none}
25
+ /* display: Anton caps in a box exactly cap-high, so stacked lines butt and the waist sits at 50% */
26
+ .display{display:block;font-family:var(--display);font-weight:400;text-transform:uppercase;line-height:var(--cap);translate:0 var(--cap-nudge);white-space:nowrap}
27
+ /* small print: JetBrains Mono caps */
28
+ .mono{font-family:var(--mono);font-size:12px;line-height:16px;letter-spacing:.04em;text-transform:uppercase}
29
+ /* the splice: one live text node cut at the cap waist by an SVG filter (the filters sit in .defs at the end of body) */
30
+ .splice{filter:url(#splice)}
31
+ .cut-red{color:var(--safelight)} /* the wordmark under 56px: the cut becomes colour */
32
+ .slit{flood-color:var(--safelight)}
33
+ .defs{position:absolute;width:0;height:0;overflow:hidden}
34
+ /* ===== end of base ===== */
35
+ /* ===== Brand sheet: the key visual, the wordmark and its sizes, colour in two themes, type ===== */
36
+ .sheet{width:1440px;height:900px;position:relative;overflow:clip;display:grid;grid-template-columns:840px 600px}
37
+ /* left: the key visual on a Safelight field */
38
+ .key{position:relative;background:var(--safelight);color:var(--on-safelight)}
39
+ .key .lines{position:absolute;left:0;right:0;top:24px}
40
+ .key .lines .display{font-size:320px;padding-left:20px}
41
+ .key .lines .display + .display{margin-top:12px}
42
+ .key .edge{position:absolute;right:24px;top:24px;bottom:24px;writing-mode:vertical-rl;display:flex;justify-content:space-between}
43
+ /* right: the system */
44
+ .system{display:grid;grid-template-rows:376px 168px 220px 136px;border-left:1px solid var(--rule)}
45
+ .system > section{position:relative;border-bottom:1px solid var(--rule);padding:16px 24px 0}
46
+ .system > section:last-child{border-bottom:0}
47
+ .part{display:flex;justify-content:space-between;color:var(--muted)}
48
+ .big-mark{margin-top:32px;margin-left:-24px;padding-left:20px}
49
+ .big-mark .display{font-size:160px}
50
+ .big-mark .display + .display{margin-top:16px}
51
+ .big-mark .wm-cut{filter:url(#wordmark)}
52
+ .sizes{display:grid;grid-template-columns:264px 168px 120px;margin-top:16px}
53
+ .size{height:104px;display:flex;flex-direction:column;justify-content:space-between;border-left:1px solid var(--rule);padding-left:16px}
54
+ .size:first-child{border-left:0;padding-left:0}
55
+ .size .mono{color:var(--muted)}
56
+ .lockup{display:flex}
57
+ .lockup.slit-size .display{font-size:56px}
58
+ .lockup.slit-size .wm-cut{filter:url(#lockup)}
59
+ .lockup.colour-size .display{font-size:28px}
60
+ .icons{display:flex;align-items:flex-end;gap:16px}
61
+ .icon rect{fill:var(--safelight)}
62
+ .palette{display:grid;grid-template-columns:repeat(6,1fr);margin-top:16px;border-top:1px solid var(--rule);border-left:1px solid var(--rule)}
63
+ .chip{border-right:1px solid var(--rule)}
64
+ .chip .name{display:block;height:32px;padding:8px 0 0 8px}
65
+ .chip .night,.chip .day{display:block;height:56px;padding:4px 0 0 8px;font-family:var(--mono);font-size:12px;line-height:16px}
66
+ .chip .night{background:var(--swatch-night);color:var(--on-night)}
67
+ .chip .day{background:var(--swatch-day);color:var(--on-day)}
68
+ .faces{display:grid;grid-template-columns:1fr 1fr;margin-top:12px}
69
+ .faces .display{font-size:56px}
70
+ .faces .text{font-size:16px;line-height:24px;padding-top:8px}
71
+ .faces .mono{color:var(--muted);display:block;margin-top:8px}
72
+ .slit-ink{flood-color:var(--ink)}
73
+ </style>
74
+ </head>
75
+ <body>
76
+ <main class="sheet">
77
+ <section class="key" aria-label="Key visual">
78
+ <div class="lines">
79
+ <span class="display">Make</span>
80
+ <span class="display">your</span>
81
+ <span class="display splice">cut.</span>
82
+ </div>
83
+ <p class="edge mono"><span>Intercut No.14 · City film festival</span><span>04–14.03.2027 · 214 films · 6 cinemas</span></p>
84
+ </section>
85
+
86
+ <div class="system">
87
+ <section>
88
+ <h2 class="part mono"><span>01 Wordmark</span><span>Slit lock-up</span></h2>
89
+ <div class="big-mark" aria-label="Intercut">
90
+ <span class="display">Inter</span>
91
+ <span class="display wm-cut">Cut</span>
92
+ </div>
93
+ </section>
94
+
95
+ <section>
96
+ <h2 class="part mono"><span>02 Sizes</span><span>One cut, three cuts</span></h2>
97
+ <div class="sizes">
98
+ <div class="size"><span class="lockup slit-size"><span class="display">Inter</span><span class="display wm-cut">Cut</span></span><span class="mono">56 px and up</span></div>
99
+ <div class="size"><span class="lockup colour-size"><span class="display">Inter</span><span class="display cut-red">Cut</span></span><span class="mono">Under 56 px</span></div>
100
+ <div class="size"><span class="icons">
101
+ <svg class="icon" width="48" height="48" viewBox="0 0 48 48" role="img" aria-label="Icon, 48 px"><rect x="0" y="4" width="40" height="18"/><rect x="8" y="26" width="40" height="18"/></svg>
102
+ <svg class="icon" width="24" height="24" viewBox="0 0 24 24" role="img" aria-label="Icon, 24 px"><rect x="0" y="2" width="20" height="9"/><rect x="4" y="13" width="20" height="9"/></svg>
103
+ </span><span class="mono">Icon 48, 24</span></div>
104
+ </div>
105
+ </section>
106
+
107
+ <section>
108
+ <h2 class="part mono"><span>03 Colour</span><span>Night / Daylight</span></h2>
109
+ <div class="palette">
110
+ <div class="chip" style="--swatch-night:var(--safelight);--on-night:#0A0A0A;--swatch-day:var(--safelight);--on-day:#0A0A0A"><span class="name mono">Safelight</span><span class="night">FF3D14</span><span class="day">FF3D14</span></div>
111
+ <div class="chip" style="--swatch-night:#0A0A0A;--on-night:#FFFFFF;--swatch-day:#FFFFFF;--on-day:#0A0A0A"><span class="name mono">Field</span><span class="night">0A0A0A</span><span class="day">FFFFFF</span></div>
112
+ <div class="chip" style="--swatch-night:#FFFFFF;--on-night:#0A0A0A;--swatch-day:#0A0A0A;--on-day:#FFFFFF"><span class="name mono">Ink</span><span class="night">FFFFFF</span><span class="day">0A0A0A</span></div>
113
+ <div class="chip" style="--swatch-night:#9C9C9C;--on-night:#0A0A0A;--swatch-day:#333333;--on-day:#FFFFFF"><span class="name mono">Muted</span><span class="night">9C9C9C</span><span class="day">333333</span></div>
114
+ <div class="chip" style="--swatch-night:#333333;--on-night:#FFFFFF;--swatch-day:#9C9C9C;--on-day:#0A0A0A"><span class="name mono">Rule</span><span class="night">333333</span><span class="day">9C9C9C</span></div>
115
+ <div class="chip" style="--swatch-night:var(--signal);--on-night:#0A0A0A;--swatch-day:#0A0A0A;--on-day:#FFFFFF"><span class="name mono">Signal</span><span class="night">FF3D14</span><span class="day">0A0A0A</span></div>
116
+ </div>
117
+ </section>
118
+
119
+ <section>
120
+ <h2 class="part mono"><span>04 Type</span><span>Two faces, one weight each</span></h2>
121
+ <div class="faces">
122
+ <div><span class="display">Anton</span><span class="mono">Display · caps · 20 to 480</span></div>
123
+ <div><p class="text">JetBrains Mono</p><span class="mono">Small print · 12 and 16</span></div>
124
+ </div>
125
+ </section>
126
+ </div>
127
+ </main>
128
+
129
+ <svg class="defs" aria-hidden="true" focusable="false">
130
+ <!-- The splice: one text node, cut at the cap waist. Fractions of the filter box; Anton's cap waist sits at 50% of it in every
131
+ engine, so only the slit's two y numbers retune with the face. dx = shift ÷ element width; change dx if the width changes. -->
132
+ <!-- key visual, CUT. on the 840px field: shift .2em = 64px, an Ink slit -->
133
+ <filter id="splice" x="-.2" y="-.05" width="1.6" height="1.1" primitiveUnits="objectBoundingBox" color-interpolation-filters="sRGB">
134
+ <feOffset in="SourceGraphic" dx="0" x="-.2" y="-.05" width="1.6" height=".5258" result="upper"/>
135
+ <feFlood class="slit-ink" x="0" y=".4758" width=".9" height=".0398" result="slit"/>
136
+ <feOffset in="SourceGraphic" dx=".0762" x="-.2" y=".5156" width="1.6" height=".5344" result="lower"/>
137
+ <feMerge><feMergeNode in="upper"/><feMergeNode in="slit"/><feMergeNode in="lower"/></feMerge>
138
+ </filter>
139
+ <!-- the big wordmark: CUT is a 600px block, shift .2em = 32px, a Safelight slit across the panel -->
140
+ <filter id="wordmark" x="-.2" y="-.05" width="1.6" height="1.1" primitiveUnits="objectBoundingBox" color-interpolation-filters="sRGB">
141
+ <feOffset in="SourceGraphic" dx="0" x="-.2" y="-.05" width="1.6" height=".5258" result="upper"/>
142
+ <feFlood class="slit" x="0" y=".4758" width="1" height=".0398" result="slit"/>
143
+ <feOffset in="SourceGraphic" dx=".0533" x="-.2" y=".5156" width="1.6" height=".5344" result="lower"/>
144
+ <feMerge><feMergeNode in="upper"/><feMergeNode in="slit"/><feMergeNode in="lower"/></feMerge>
145
+ </filter>
146
+ <!-- the one-line lock-up: CUT is its own width (1.343em), shift .2em, the slit runs under CUT only -->
147
+ <filter id="lockup" x="-.2" y="-.05" width="1.6" height="1.1" primitiveUnits="objectBoundingBox" color-interpolation-filters="sRGB">
148
+ <feOffset in="SourceGraphic" dx="0" x="-.2" y="-.05" width="1.6" height=".5258" result="upper"/>
149
+ <feFlood class="slit" x="0" y=".4758" width="1.149" height=".0398" result="slit"/>
150
+ <feOffset in="SourceGraphic" dx=".149" x="-.2" y=".5156" width="1.6" height=".5344" result="lower"/>
151
+ <feMerge><feMergeNode in="upper"/><feMergeNode in="slit"/><feMergeNode in="lower"/></feMerge>
152
+ </filter>
153
+ </svg>
154
+ </body>
155
+ </html>
@@ -0,0 +1,94 @@
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>State: clash</title>
8
+ <style>
9
+ /* ===== Intercut base: the same block opens every board ===== */
10
+ @font-face{font-family:"Anton";src:url("../assets/fonts/anton-latin-400.woff2") format("woff2");font-display:block}
11
+ @font-face{font-family:"JetBrains Mono";src:url("../assets/fonts/jetbrains-mono-latin-400.woff2") format("woff2");font-display:block}
12
+ :root{
13
+ /* colour tokens: tokens.json, theme Night */
14
+ --field:#0A0A0A; --ink:#FFFFFF; --muted:#9C9C9C; --rule:#333333; --safelight:#FF3D14; --on-safelight:#0A0A0A; --signal:#FF3D14;
15
+ /* faces: swap them here, then retune the two numbers below */
16
+ --display:"Anton","HelveticaNeue-CondensedBlack",Impact,sans-serif;
17
+ --mono:"JetBrains Mono",Menlo,monospace;
18
+ --cap:.86; /* cap height ÷ font size: a display line box is exactly its caps */
19
+ --cap-nudge:.0065em; /* moves the caps down onto the box, so cap top = box top */
20
+ }
21
+ *{box-sizing:border-box;margin:0;padding:0}
22
+ html,body{background:var(--field);color:var(--ink)}
23
+ body{font-family:var(--mono);font-size:16px;line-height:24px;-webkit-font-smoothing:antialiased}
24
+ a{color:inherit;text-decoration:none}
25
+ /* display: Anton caps in a box exactly cap-high, so stacked lines butt and the waist sits at 50% */
26
+ .display{display:block;font-family:var(--display);font-weight:400;text-transform:uppercase;line-height:var(--cap);translate:0 var(--cap-nudge);white-space:nowrap}
27
+ /* small print: JetBrains Mono caps */
28
+ .mono{font-family:var(--mono);font-size:12px;line-height:16px;letter-spacing:.04em;text-transform:uppercase}
29
+ /* the splice: one live text node cut at the cap waist by an SVG filter (the filters sit in .defs at the end of body) */
30
+ .splice{filter:url(#splice)}
31
+ .cut-red{color:var(--safelight)} /* the wordmark under 56px: the cut becomes colour */
32
+ .slit{flood-color:var(--safelight)}
33
+ .defs{position:absolute;width:0;height:0;overflow:hidden}
34
+ /* ===== end of base ===== */
35
+ /* ===== State: a clash. Two films overlap; the app says by how much and offers the way out ===== */
36
+ .screen{width:390px;height:844px;position:relative;overflow:clip}
37
+ .status{height:44px;display:flex;justify-content:space-between;align-items:center;padding:0 24px}
38
+ .status .time{font-family:var(--display);font-size:20px;line-height:20px}
39
+ .film-nav{height:48px;display:flex;border-bottom:1px solid var(--rule)}
40
+ .film-nav a{display:flex;align-items:center;padding:0 16px}
41
+ .clash-head{padding:24px 16px 24px}
42
+ .clash-head .label{color:var(--signal)}
43
+ .clash-head .display{font-size:120px;margin-top:20px}
44
+ .clash-head .display + .display{font-size:56px;margin-top:8px;color:var(--muted)}
45
+ /* the evening drawn to scale: 19:00 to 23:00, 88px an hour, the overlap hatched */
46
+ .evening{position:relative;width:352px;height:184px;margin:0 0 0 16px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
47
+ .hour{position:absolute;top:8px;left:calc(var(--h) * 88px);color:var(--muted)}
48
+ .hour.end{translate:-100% 0}
49
+ .slot{position:absolute;left:calc(var(--from) * 88px);width:calc(var(--run) * 88px / 60);height:48px;display:flex;align-items:center;padding:0 8px;overflow:hidden}
50
+ .slot .display{font-size:20px}
51
+ .slot.kept{top:40px;background:var(--safelight);color:var(--on-safelight)}
52
+ .slot.added{top:96px;border:1px solid var(--ink)}
53
+ .overlap{position:absolute;top:32px;bottom:28px;left:calc(var(--from) * 88px);width:calc(var(--run) * 88px / 60);background:repeating-linear-gradient(135deg,var(--safelight) 0 2px,transparent 2px 8px)}
54
+ .overlap-label{position:absolute;bottom:8px;left:calc(var(--from) * 88px);color:var(--signal)}
55
+ .choices{position:absolute;left:0;right:0;bottom:0}
56
+ .choice{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-top:1px solid var(--rule)}
57
+ .choice .display{font-size:28px}
58
+ .choice .mono{color:var(--muted)}
59
+ .choice.best{background:var(--safelight);color:var(--on-safelight)}
60
+ .choice.best .mono{color:var(--on-safelight)}
61
+ </style>
62
+ </head>
63
+ <body>
64
+ <main class="screen">
65
+ <div class="status"><span class="time">18:54</span><span class="mono">5G · 82%</span></div>
66
+
67
+ <nav class="film-nav mono" aria-label="Back">
68
+ <a href="programme.html">← Programme</a>
69
+ </nav>
70
+
71
+ <header class="clash-head">
72
+ <span class="label mono">Clash in your cut · Sat 06.03</span>
73
+ <h1 class="display">22 min</h1>
74
+ <span class="display">overlap</span>
75
+ </header>
76
+
77
+ <figure class="evening" aria-label="Salt Winter 19:30 to 21:22 and Mirror Weather 21:00 to 22:41 overlap by 22 minutes">
78
+ <span class="hour mono" style="--h:0">19:00</span><span class="hour mono" style="--h:1">20</span><span class="hour mono" style="--h:2">21</span><span class="hour mono" style="--h:3">22</span><span class="hour end mono" style="--h:4">23:00</span>
79
+ <span class="overlap" style="--from:2;--run:22"></span>
80
+ <span class="slot kept" style="--from:.5;--run:112"><span class="display">Salt Winter</span></span>
81
+ <span class="slot added" style="--from:2;--run:101"><span class="display">Mirror Weather</span></span>
82
+ <span class="overlap-label mono" style="--from:2">21:00–21:22</span>
83
+ </figure>
84
+
85
+ <section class="choices" aria-label="Ways out">
86
+ <a class="choice best" href="home.html"><span class="display">Mon 08.03 · 16:45</span><span class="mono">Mirror Weather, C4</span></a>
87
+ <a class="choice" href="home.html"><span class="display">Keep Salt Winter</span><span class="mono">Drop the other</span></a>
88
+ <a class="choice" href="home.html"><span class="display">Leave at 21:00</span><span class="mono">Miss 22 min</span></a>
89
+ <a class="choice" href="programme.html"><span class="display">Keep both</span><span class="mono">I'll run</span></a>
90
+ </section>
91
+ </main>
92
+
93
+ </body>
94
+ </html>