openpencil/packages/core/src/render
Danila Poyarkov 4e1c15c4ff Extract color constants: BLACK, TRANSPARENT, DEFAULT_SHADOW_COLOR
Replace 8 inline { r: 0, g: 0, b: 0, a: 1 } literals across core
with shared constants from constants.ts. Also reuse CANVAS_BG_COLOR
in fig-export.ts instead of duplicating the value.
2026-03-02 19:34:35 +03:00
..
components.ts JSX renderer in @open-pencil/core 2026-03-01 10:42:06 +03:00
export-jsx.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
index.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
jsx-runtime.ts JSX renderer in @open-pencil/core 2026-03-01 10:42:06 +03:00
mini-react.ts JSX renderer in @open-pencil/core 2026-03-01 10:42:06 +03:00
render-jsx.ts P2P collaboration: cursors, follow mode, cleanup 2026-03-01 18:11:07 +03:00
renderer.ts Extract color constants: BLACK, TRANSPARENT, DEFAULT_SHADOW_COLOR 2026-03-02 19:34:35 +03:00
tree.ts Deduplicate render internals: shared resolveToTree, remove dead code 2026-03-01 10:45:39 +03:00