From: Taehyub Kim Date: Thu, 28 Apr 2022 05:29:33 +0000 (-0700) Subject: [NUI] Apply Tizen 7.0 UX for Button, Check, Switch and Notification X-Git-Tag: accepted/tizen/unified/20231205.024657~1002 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cfa538ee4806abfcdf8779858bf00b7d7c1d3c77;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Apply Tizen 7.0 UX for Button, Check, Switch and Notification --- diff --git a/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs b/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs index d7375e3..66207cf 100755 --- a/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs +++ b/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs @@ -40,15 +40,15 @@ namespace Tizen.NUI.Components theme.AddStyleWithoutClone("Tizen.NUI.Components.Button", new ButtonStyle() { Size = new Size(339, 96), - CornerRadius = 28.0f, + CornerRadius = 12.0f, ItemHorizontalAlignment = HorizontalAlignment.Center, ItemVerticalAlignment = VerticalAlignment.Center, BackgroundColor = new Selector() { - Normal = new Color(0.039f, 0.055f, 0.29f, 1), - Pressed = new Color(0.106f, 0.412f, 0.792f, 1), + Normal = new Color(1.0f, 0.384f, 0.0f, 1), + Pressed = new Color(0.85f, 0.325f, 0.0f, 1), Focused = new Color(0, 0.2f, 0.545f, 1), - Disabled = new Color(0.765f, 0.792f, 0.824f, 1), + Disabled = new Color(0.792f, 0.792f, 0.792f, 1), }, Text = new TextLabelStyle() { @@ -229,7 +229,7 @@ namespace Tizen.NUI.Components ItemVerticalAlignment = VerticalAlignment.Center, Track = new ImageViewStyle() { - Size = new Size(80, 40), + Size = new Size(84, 44), ResourceUrl = new Selector() { Normal = FrameworkInformation.ResourcePath + "IoT_switch_track_off.png", @@ -244,7 +244,7 @@ namespace Tizen.NUI.Components }, Thumb = new ImageViewStyle() { - Size = new Size(40, 40), + Size = new Size(44, 44), ResourceUrl = new Selector() { Normal = FrameworkInformation.ResourcePath + "IoT_switch_thumb.png", @@ -583,17 +583,17 @@ namespace Tizen.NUI.Components // NotificationToast base style theme.AddStyleWithoutClone("NotificationToast", new TextLabelStyle() { - BackgroundColor = new Color("#F2F7FF"), - CornerRadius = 20.0f, - BoxShadow = new Shadow(5.0f, new Color("#00000066"), new Vector2(2.0f, 2.0f)), - TextColor = new Color("#000C2B"), + BackgroundColor = new Color("#FAFAFA"), + CornerRadius = 12.0f, + BoxShadow = new Shadow(8.0f, new Color(0.0f, 0.0f, 0.0f, 0.16f), new Vector2(0.0f, 2.0f)), + TextColor = new Color("#090E21"), PixelSize = 32, WidthResizePolicy = ResizePolicyType.UseNaturalSize, HeightResizePolicy = ResizePolicyType.UseNaturalSize, PositionUsesPivotPoint = true, HorizontalAlignment = HorizontalAlignment.Center, VerticalAlignment = VerticalAlignment.Center, - Padding = new Extents(40, 40, 24, 24), + Padding = new Extents(16, 16, 16, 16), PositionY = 120, }); diff --git a/src/Tizen.NUI.Components/res/IoT_check_off.png b/src/Tizen.NUI.Components/res/IoT_check_off.png index 9e45fd2..14020e8 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_check_off.png and b/src/Tizen.NUI.Components/res/IoT_check_off.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_check_off_d.png b/src/Tizen.NUI.Components/res/IoT_check_off_d.png index 7aba7cf..f83e8b7 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_check_off_d.png and b/src/Tizen.NUI.Components/res/IoT_check_off_d.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_check_off_f.png b/src/Tizen.NUI.Components/res/IoT_check_off_f.png index b8a7d0d..14020e8 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_check_off_f.png and b/src/Tizen.NUI.Components/res/IoT_check_off_f.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_check_off_p.png b/src/Tizen.NUI.Components/res/IoT_check_off_p.png index 31f454a..14020e8 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_check_off_p.png and b/src/Tizen.NUI.Components/res/IoT_check_off_p.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_check_on.png b/src/Tizen.NUI.Components/res/IoT_check_on.png index 43ed9f3..0c81fb3 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_check_on.png and b/src/Tizen.NUI.Components/res/IoT_check_on.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_check_on_d.png b/src/Tizen.NUI.Components/res/IoT_check_on_d.png index c5996ee..6f4edce 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_check_on_d.png and b/src/Tizen.NUI.Components/res/IoT_check_on_d.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_check_on_f.png b/src/Tizen.NUI.Components/res/IoT_check_on_f.png index 91be569..0c81fb3 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_check_on_f.png and b/src/Tizen.NUI.Components/res/IoT_check_on_f.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_check_on_p.png b/src/Tizen.NUI.Components/res/IoT_check_on_p.png index b4079c4..0c81fb3 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_check_on_p.png and b/src/Tizen.NUI.Components/res/IoT_check_on_p.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_thumb.png b/src/Tizen.NUI.Components/res/IoT_switch_thumb.png index 2f3b0c9..b529b60 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_thumb.png and b/src/Tizen.NUI.Components/res/IoT_switch_thumb.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_thumb_d.png b/src/Tizen.NUI.Components/res/IoT_switch_thumb_d.png index 3dc08b6..dc20519 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_thumb_d.png and b/src/Tizen.NUI.Components/res/IoT_switch_thumb_d.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_thumb_s.png b/src/Tizen.NUI.Components/res/IoT_switch_thumb_s.png index 70f901d..068d518 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_thumb_s.png and b/src/Tizen.NUI.Components/res/IoT_switch_thumb_s.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_thumb_sf.png b/src/Tizen.NUI.Components/res/IoT_switch_thumb_sf.png index 1dd042c..068d518 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_thumb_sf.png and b/src/Tizen.NUI.Components/res/IoT_switch_thumb_sf.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_thumb_sp.png b/src/Tizen.NUI.Components/res/IoT_switch_thumb_sp.png index 2bec135..068d518 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_thumb_sp.png and b/src/Tizen.NUI.Components/res/IoT_switch_thumb_sp.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_track_off.png b/src/Tizen.NUI.Components/res/IoT_switch_track_off.png index 866c29f..ad86151 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_track_off.png and b/src/Tizen.NUI.Components/res/IoT_switch_track_off.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_track_off_d.png b/src/Tizen.NUI.Components/res/IoT_switch_track_off_d.png index b2f0f27..87f3e27 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_track_off_d.png and b/src/Tizen.NUI.Components/res/IoT_switch_track_off_d.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_track_off_f.png b/src/Tizen.NUI.Components/res/IoT_switch_track_off_f.png index f9e8e5c..9a6b604 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_track_off_f.png and b/src/Tizen.NUI.Components/res/IoT_switch_track_off_f.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_track_off_p.png b/src/Tizen.NUI.Components/res/IoT_switch_track_off_p.png index 02c01b7..ad86151 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_track_off_p.png and b/src/Tizen.NUI.Components/res/IoT_switch_track_off_p.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_track_on.png b/src/Tizen.NUI.Components/res/IoT_switch_track_on.png index aa6b93f..9a6b604 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_track_on.png and b/src/Tizen.NUI.Components/res/IoT_switch_track_on.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_track_on_d.png b/src/Tizen.NUI.Components/res/IoT_switch_track_on_d.png index 5046ce8..87f3e27 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_track_on_d.png and b/src/Tizen.NUI.Components/res/IoT_switch_track_on_d.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_track_on_f.png b/src/Tizen.NUI.Components/res/IoT_switch_track_on_f.png index e8340c2..9a6b604 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_track_on_f.png and b/src/Tizen.NUI.Components/res/IoT_switch_track_on_f.png differ diff --git a/src/Tizen.NUI.Components/res/IoT_switch_track_on_p.png b/src/Tizen.NUI.Components/res/IoT_switch_track_on_p.png index cf2a9f4..9a6b604 100644 Binary files a/src/Tizen.NUI.Components/res/IoT_switch_track_on_p.png and b/src/Tizen.NUI.Components/res/IoT_switch_track_on_p.png differ