From 1c26a994c29425dc6238e5994d367e261d3cf3ac Mon Sep 17 00:00:00 2001 From: Kratos2k7 Date: Mon, 30 Mar 2026 20:29:46 +0500 Subject: [PATCH] fix: The edit-api validates with @shotstack/schemas/zod which has the default: "#ffff00". After validation, active.font.color becomes "#ffff00" even though the user didn't set it. Then this passes to the canvas which sees an explicit yellow and uses it. --- schemas/richcaptionproperties.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/schemas/richcaptionproperties.yaml b/schemas/richcaptionproperties.yaml index 0442399..3224b2a 100644 --- a/schemas/richcaptionproperties.yaml +++ b/schemas/richcaptionproperties.yaml @@ -6,8 +6,7 @@ RichCaptionActiveFont: description: The active word color using hexadecimal color notation. type: string pattern: "^#[A-Fa-f0-9]{6}$" - default: "#ffff00" - example: "#ffff00" + example: "#C96741" background: description: The background color behind the active word using hexadecimal color notation. type: string