[NUI] Apply ContentPage UX - BackgroundColor, CornerRadius, BoxShadow
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 13 Apr 2022 07:53:08 +0000 (16:53 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Wed, 20 Apr 2022 08:38:08 +0000 (17:38 +0900)
The latest ContentPage UX has been applied.
BackgroundColor has been changed.
CornerRadius and BoxShadow are newly applied.

src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs

index e1ad2da..88f4246 100755 (executable)
@@ -414,7 +414,10 @@ namespace Tizen.NUI.Components
             // ContentPage base style
             theme.AddStyleWithoutClone("Tizen.NUI.Components.ContentPage", new ViewStyle()
             {
-                BackgroundColor = new Color("#EEEFF1"),
+                BackgroundColor = new Color("#FAFAFA"),
+                CornerRadius = new Vector4(24.0f, 24.0f, 24.0f ,24.0f),
+                CornerRadiusPolicy = VisualTransformPolicyType.Absolute,
+                BoxShadow = new Shadow(8.0f, new Color(0.0f, 0.0f, 0.0f, 0.16f), new Vector2(0.0f, 2.0f)),
             });
 
             // AppBar base style