From ce79530a3fbe97c2992743ffe8772562c7c38abd Mon Sep 17 00:00:00 2001 From: wangguan Date: Thu, 19 Dec 2024 20:12:54 +0800 Subject: [PATCH] =?UTF-8?q?toast/popup/menu=20=E6=94=AF=E6=8C=81=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E5=88=86=E5=B1=82=E5=8F=82=E6=95=B0=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E9=98=B4=E5=BD=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangguan --- systemres/main/resources/base/element/float.json | 12 ++++++++++++ .../main/resources/base/element/id_defined.json | 15 +++++++++++++++ .../main/resources/base/element/pattern.json | 12 ++++++++++++ 3 files changed, 39 insertions(+) diff --git a/systemres/main/resources/base/element/float.json b/systemres/main/resources/base/element/float.json index 24639604..bb98582c 100644 --- a/systemres/main/resources/base/element/float.json +++ b/systemres/main/resources/base/element/float.json @@ -3731,6 +3731,18 @@ { "name": "swiper_crown_translocation_ratio", "value": "0.6" + }, + { + "name": "toast_default_shadow_style", + "value": "$float:ohos_id_default_shadow_m" + }, + { + "name": "popup_default_shadow_style", + "value": "$float:ohos_id_default_shadow_m" + }, + { + "name": "menu_default_shadow_style", + "value": "$float:ohos_id_default_shadow_m" } ] } \ No newline at end of file diff --git a/systemres/main/resources/base/element/id_defined.json b/systemres/main/resources/base/element/id_defined.json index 05b93af4..311fedff 100644 --- a/systemres/main/resources/base/element/id_defined.json +++ b/systemres/main/resources/base/element/id_defined.json @@ -28585,6 +28585,21 @@ "type": "string", "name": "res_menu_search_is_support", "order": 5668 + }, + { + "type": "float", + "name": "toast_default_shadow_style", + "order": 5669 + }, + { + "type": "float", + "name": "popup_default_shadow_style", + "order": 5670 + }, + { + "type": "float", + "name": "menu_default_shadow_style", + "order": 5671 } ] } \ No newline at end of file diff --git a/systemres/main/resources/base/element/pattern.json b/systemres/main/resources/base/element/pattern.json index 8c703b00..ff85c51d 100644 --- a/systemres/main/resources/base/element/pattern.json +++ b/systemres/main/resources/base/element/pattern.json @@ -3404,6 +3404,10 @@ { "name": "popup_expand_display", "value": "$string:ohos_id_expand_display" + }, + { + "name": "popup_default_shadow_style", + "value": "$float:popup_default_shadow_style" } ] }, @@ -5412,6 +5416,10 @@ { "name": "toast_default_bg_color", "value": "$color:toast_default_bg_color" + }, + { + "name": "toast_default_shadow_style", + "value": "$float:toast_default_shadow_style" } ] }, @@ -6235,6 +6243,10 @@ { "name": "select_slide_more_offset", "value": "$float:select_slide_more_offset" + }, + { + "name": "menu_default_shadow_style", + "value": "$float:menu_default_shadow_style" } ] }, -- Gitee