[NUI] Apply Tizen 7.0 UX for Button, Check, Switch and Notification
authorTaehyub Kim <taehyub.kim@samsung.com>
Thu, 28 Apr 2022 05:29:33 +0000 (22:29 -0700)
committerTaehyub Kim <taehyub.kim@samsung.com>
Tue, 3 May 2022 09:00:21 +0000 (02:00 -0700)
22 files changed:
src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs
src/Tizen.NUI.Components/res/IoT_check_off.png
src/Tizen.NUI.Components/res/IoT_check_off_d.png
src/Tizen.NUI.Components/res/IoT_check_off_f.png
src/Tizen.NUI.Components/res/IoT_check_off_p.png
src/Tizen.NUI.Components/res/IoT_check_on.png
src/Tizen.NUI.Components/res/IoT_check_on_d.png
src/Tizen.NUI.Components/res/IoT_check_on_f.png
src/Tizen.NUI.Components/res/IoT_check_on_p.png
src/Tizen.NUI.Components/res/IoT_switch_thumb.png
src/Tizen.NUI.Components/res/IoT_switch_thumb_d.png
src/Tizen.NUI.Components/res/IoT_switch_thumb_s.png
src/Tizen.NUI.Components/res/IoT_switch_thumb_sf.png
src/Tizen.NUI.Components/res/IoT_switch_thumb_sp.png
src/Tizen.NUI.Components/res/IoT_switch_track_off.png
src/Tizen.NUI.Components/res/IoT_switch_track_off_d.png
src/Tizen.NUI.Components/res/IoT_switch_track_off_f.png
src/Tizen.NUI.Components/res/IoT_switch_track_off_p.png
src/Tizen.NUI.Components/res/IoT_switch_track_on.png
src/Tizen.NUI.Components/res/IoT_switch_track_on_d.png
src/Tizen.NUI.Components/res/IoT_switch_track_on_f.png
src/Tizen.NUI.Components/res/IoT_switch_track_on_p.png

index d7375e3..66207cf 100755 (executable)
@@ -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<Color>()
                 {
-                    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<string>()
                     {
                         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<string>()
                     {
                         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,
             });
 
index 9e45fd2..14020e8 100644 (file)
Binary files a/src/Tizen.NUI.Components/res/IoT_check_off.png and b/src/Tizen.NUI.Components/res/IoT_check_off.png differ
index 7aba7cf..f83e8b7 100644 (file)
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
index b8a7d0d..14020e8 100644 (file)
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
index 31f454a..14020e8 100644 (file)
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
index 43ed9f3..0c81fb3 100644 (file)
Binary files a/src/Tizen.NUI.Components/res/IoT_check_on.png and b/src/Tizen.NUI.Components/res/IoT_check_on.png differ
index c5996ee..6f4edce 100644 (file)
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
index 91be569..0c81fb3 100644 (file)
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
index b4079c4..0c81fb3 100644 (file)
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
index 2f3b0c9..b529b60 100644 (file)
Binary files a/src/Tizen.NUI.Components/res/IoT_switch_thumb.png and b/src/Tizen.NUI.Components/res/IoT_switch_thumb.png differ
index 3dc08b6..dc20519 100644 (file)
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
index 70f901d..068d518 100644 (file)
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
index 1dd042c..068d518 100644 (file)
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
index 2bec135..068d518 100644 (file)
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
index 866c29f..ad86151 100644 (file)
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
index b2f0f27..87f3e27 100644 (file)
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
index f9e8e5c..9a6b604 100644 (file)
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
index 02c01b7..ad86151 100644 (file)
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
index aa6b93f..9a6b604 100644 (file)
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
index 5046ce8..87f3e27 100644 (file)
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
index e8340c2..9a6b604 100644 (file)
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
index cf2a9f4..9a6b604 100644 (file)
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