From eab8b862a384066f050ce2f1e3c4832bada68bca Mon Sep 17 00:00:00 2001 From: fangzhiyuan Date: Fri, 5 Sep 2025 15:19:32 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8F=8D=E8=89=B2?= =?UTF-8?q?=E9=80=83=E7=94=9F=E9=80=9A=E9=81=93=E8=83=BD=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangzhiyuan --- api/@internal/component/ets/common.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 6915951ed1..0d46e136b9 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -30588,6 +30588,16 @@ declare class CommonMethod { */ onAccessibilityActionIntercept(callback: AccessibilityActionInterceptCallback): T; + /** + * Set whether the component enables the ability to invert colors. + * This interface needs to be set as the first attribute of the component. + * @param value - value indicates whether the component enables the ability to invert colors. + * @returns { T } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @atomicservice + * @since 21 + */ + setForceDarkAllowed(value: boolean): T; } /** -- Gitee From 06697d19f8fdf6d38f762b39315bed167baebef9 Mon Sep 17 00:00:00 2001 From: fangzhiyuan Date: Mon, 8 Sep 2025 10:48:56 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangzhiyuan --- api/@internal/component/ets/common.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 0d46e136b9..0a0f7c81ac 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -30597,7 +30597,7 @@ declare class CommonMethod { * @atomicservice * @since 21 */ - setForceDarkAllowed(value: boolean): T; + allowForceDark(value: boolean): T; } /** -- Gitee From 9462bc09f7ccc09ea9877417af3287765913ef08 Mon Sep 17 00:00:00 2001 From: fangzhiyuan Date: Wed, 10 Sep 2025 11:37:17 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=A3=80=E8=A7=86=E6=84=8F=E8=A7=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangzhiyuan --- api/@internal/component/ets/common.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 0a0f7c81ac..fe07794b75 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -30591,7 +30591,7 @@ declare class CommonMethod { /** * Set whether the component enables the ability to invert colors. * This interface needs to be set as the first attribute of the component. - * @param value - value indicates whether the component enables the ability to invert colors. + * @param { boolean } value - value indicates whether the component enables the ability to invert colors. * @returns { T } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice -- Gitee