[NUI] Update Tizen 7.0 UX for Button, Check and Switch
authorTaehyub Kim <taehyub.kim@samsung.com>
Mon, 2 May 2022 05:00:25 +0000 (14:00 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Tue, 3 May 2022 09:00:21 +0000 (02:00 -0700)
- reduce button font size
- add focus image for check and switch

src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs
src/Tizen.NUI.Components/res/IoT_check_off_f.png
src/Tizen.NUI.Components/res/IoT_check_on_f.png
src/Tizen.NUI.Components/res/IoT_switch_track_off_f.png
src/Tizen.NUI.Components/res/IoT_switch_track_on_f.png

index 26bf2d9..16e52f3 100755 (executable)
@@ -47,13 +47,14 @@ namespace Tizen.NUI.Components
                 {
                     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),
+                    Focused = new Color(1.0f, 0.827f, 0.624f, 1),
+                    Selected = new Color(0.624f, 0.239f, 0.0f, 1),
                     Disabled = new Color(0.792f, 0.792f, 0.792f, 1),
                 },
                 Text = new TextLabelStyle()
                 {
                     TextColor = Color.White,
-                    PixelSize = 32,
+                    PixelSize = 24,
                 }
             });
 
index 14020e8..d7153a0 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 0c81fb3..07c4f81 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 9a6b604..b681e43 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 9a6b604..dc830fe 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