This commit is contained in:
sagiferi
2026-10-24 13:20:55 +02:00
parent 93e06d148a
commit b33d1543fc
326 changed files with 20843 additions and 3 deletions
+10
View File
@@ -0,0 +1,10 @@
# Design source files
One file per screen, exported from the design canvas. They are HTML with a small template layer, **not** runnable app code:
- `{{ path }}`: value from the `renderVals()` method of the `Component` class at the bottom of each file.
- `<sc-for list="{{items}}" as="item">`: repeat. `<sc-if value="{{flag}}">`: conditional.
- `onClick="{{handler}}"`: event binding. `data-props` on the script tag: design-time tweak defaults (e.g. accent colour).
- `<a href="Other.dc.html">`: navigation between screens in the prototype.
Use them for exact sizes, spacing, colours and copy. The PNGs in `../screens` show the rendered result. `renderVals()` contains the sample data and the small chart geometry (profile and panorama paths) that the real app computes in the core.