From 769c3844e59f4f6df92e99ccc67c8a05d0c696b2 Mon Sep 17 00:00:00 2001 From: shuaiyutao Date: Fri, 7 Jan 2022 10:50:43 +0800 Subject: [PATCH] support ColorMode Signed-off-by: shuaiyutao --- api/@ohos.bundle.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) mode change 100644 => 100755 api/@ohos.bundle.d.ts diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts old mode 100644 new mode 100755 index 2a1ed79838..0cb2fe2d8b --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -62,6 +62,20 @@ declare namespace bundle { GET_ABILITY_INFO_SYSTEMAPP_ONLY = 0x00000080, } +/** + * @name ColorMode + * @since 7 + * @SysCap SystemCapability.Appexecfwk + * @import NA + * @permission NA + * @devices phone, tablet, tv, wearable + */ + export enum ColorMode { + AUTO_MODE = -1, + DARK_MODE = 0, + LIGHT_MODE = 1, + } + /** * @name GrantStatus * @since 7 -- Gitee