[feature] text-decoration-color (and wavy underline) is ignored #4

Closed
opened 2026-10-17 22:14:29 +00:00 by masi · 1 comment
Owner

Context: PaperCraft build of 2026-10-17.
Expected: text-decoration:underline; text-decoration-color:var(--warning) underlines in the given colour (needed for lint/spelling squiggle mock-ups).
Actual: the underline is drawn in the text colour and ignoredStyles lists textDecorationColor. wavy style is not available either.
Repro: <span style="text-decoration:underline;text-decoration-color:#f9e2af">word</span>.
Workaround: none; severity colours cannot be shown on underlines.
Impact: editor lint designs cannot show error vs warning underlines.

**Context:** PaperCraft build of 2026-10-17. **Expected:** `text-decoration:underline; text-decoration-color:var(--warning)` underlines in the given colour (needed for lint/spelling squiggle mock-ups). **Actual:** the underline is drawn in the text colour and `ignoredStyles` lists `textDecorationColor`. `wavy` style is not available either. **Repro:** `<span style="text-decoration:underline;text-decoration-color:#f9e2af">word</span>`. **Workaround:** none; severity colours cannot be shown on underlines. **Impact:** editor lint designs cannot show error vs warning underlines.
Author
Owner

Fixed in commit 5169fe6 and released in v0.3.1.

Fixed in commit 5169fe6 and released in v0.3.1.
masi closed this issue 2026-10-17 23:04:41 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: masi/papercraft#4