openpencil/packages/scene-graph/src
mrhard9090 4ef6667ffc
fix(tools): judge describe text contrast by WCAG ratio (#758)
The describe tool judges text contrast by the WCAG 2 ratio (4.5:1, or 3:1 for large text) instead of a dark-on-dark luminance heuristic, and reports the ratio and threshold. It measures translucent and faded text as drawn, treats text as large only when the base style and every style run are, and skips variable-bound colors. contrastRatio() and compositeOver() now live in @open-pencil/scene-graph/color and are shared with the color-contrast lint rule and canvas labels. Fixes #735.
2026-09-30 11:32:34 +04:00
..
color fix(tools): judge describe text contrast by WCAG ratio (#758) 2026-09-30 11:32:34 +04:00
components test: update structured instance override coverage 2026-09-01 11:57:36 +03:00
arrow-caps.ts feat(canvas): render arrow stroke caps on lines and open vectors 2026-08-31 21:25:38 +03:00
bindings.ts feat(editor): add shared style bindings 2026-07-17 20:28:22 +03:00
checkpoint.ts fix(tools): guard checkpoint identities and share input schemas 2026-09-15 19:45:30 +03:00
constants.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
coordinate.ts fix(figma-api): size groups and boolean operations to their contents (#775) 2026-09-30 05:23:59 +04:00
copy.ts refactor(scene-graph): model instance overrides structurally 2026-09-01 11:44:46 +03:00
events.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
export-format.ts refactor(export): derive export format lists from the IO registry (#755) 2026-09-25 15:42:42 +04:00
export-scale.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
font-style.ts fix(deps): patch collaboration websocket driver 2026-07-18 02:49:22 +03:00
geometry.ts fix(canvas): include arrow caps in bounds and controls 2026-08-31 21:25:38 +03:00
guides.ts feat(editor): add ruler guide authoring foundation 2026-08-19 18:08:48 +03:00
hit-test.ts perf(scene-graph): accelerate axis-aligned hit tests (#534) 2026-08-16 15:43:25 +03:00
images.ts fix(fig): use hex image hashes 2026-06-30 10:55:20 +03:00
index.ts fix(figma-api): size groups and boolean operations to their contents (#775) 2026-09-30 05:23:59 +04:00
instance-overrides.ts fix: close structured override review gaps 2026-09-01 15:23:08 +03:00
instances.ts perf(instances): track fallback candidate counts 2026-09-11 11:34:38 +03:00
layout-guides.ts fix(editor): harden snapping edge cases 2026-08-19 12:33:32 +03:00
matrix.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
mutation-impact.ts fix(editor): preserve mutation parents and font layout 2026-09-02 08:27:52 +03:00
node-defaults.ts refactor(scene-graph): model instance overrides structurally 2026-09-01 11:44:46 +03:00
parse-path.ts fix(figma-api): match Figma vector editing (#444) 2026-08-02 22:32:16 +03:00
preview.ts feat(editor): checkpoint live interaction improvements 2026-09-15 11:36:17 +03:00
primitives.ts refactor: standardize acronym casing 2026-08-10 15:48:16 +03:00
resize.ts feat(fig): support text on path 2026-08-17 12:00:01 +03:00
shared-styles.ts feat(text): deepen typography controls 2026-07-17 22:40:52 +03:00
snap.ts feat(editor): add configurable snapping and guides 2026-08-18 19:11:48 +03:00
source-metadata.ts refactor(fig): own raw metadata invalidation 2026-07-18 02:22:01 +03:00
text-direction.ts refactor!: move shared primitives below dom-css and core (#771) 2026-09-26 11:39:11 +04:00
text-picture.ts feat(editor): checkpoint live interaction improvements 2026-09-15 11:36:17 +03:00
types.ts refactor(export): derive export format lists from the IO registry (#755) 2026-09-25 15:42:42 +04:00
undo.ts fix(editor): close preview and history lifecycle gaps 2026-09-16 03:36:44 +03:00
variables.ts refactor(scene-graph): model instance overrides structurally 2026-09-01 11:44:46 +03:00
variant-name.ts feat: split SceneGraph and Pen packages 2026-06-30 10:54:32 +03:00
variant-properties.ts fix(figma-api): align variant combination behavior 2026-08-19 20:05:54 +03:00
vector-network.ts fix(figma-api): match Figma vector editing (#444) 2026-08-02 22:32:16 +03:00