Exemple #1
0
        void ApplyTheme()
        {
            View.BackgroundColor = Theme.Current.BackgroundColor;

            ThemeUtils.ApplyCurrentFont(Input);

            DescriptionTopLbl.Font      = Theme.Current.MessageFont;
            DescriptionTopLbl.TextColor = Theme.Current.DescriptionDimmedColor;

            DescriptionBottomlbl.Font      = Theme.Current.MessageFont;
            DescriptionBottomlbl.TextColor = Theme.Current.TitleTextColor;

            SausageButtons.ApplyCurrentTheme(ContinueBtn);
            SausageButtons.UpdateBackgoundColor(ContinueBtn);
        }
        void ApplyCurrentTheme()
        {
            NavBarBlendView.BackgroundColor = Theme.Current.MainColor;

            ThemeUtils.ApplyCurrentFont(Input);
            ThemeUtils.ApplyCurrentFont(NickName);

            SausageButtons.ApplyCurrentTheme(ContinueBtn);
            SausageButtons.UpdateBackgoundColor(ContinueBtn);

            SwitchSignUpType.SetTitleColor(Theme.Current.MainSaturatedColor, UIControlState.Normal);
            SwitchSignUpType.Font = Theme.Current.SausageSwitchIdentityButtonFont;
            SwitchSignUpType.Layer.BorderColor = Theme.Current.MainSaturatedColor.CGColor;

            BubbleImg.Image = Theme.Current.ApplyEffects(Theme.Current.SignUpIcon);
        }
Exemple #3
0
        void ApplyCurrentTheme()
        {
            NavBarBlendView.BackgroundColor = Theme.Current.BackgroundColor;

            ThemeUtils.ApplyCurrentFont(Input);
            ThemeUtils.ApplyCurrentFont(NickName);

            SausageButtons.ApplyCurrentTheme(ContinueBtn);
            SausageButtons.UpdateBackgoundColor(ContinueBtn);

            SwitchSignUpType.Font = Theme.Current.SausageSwitchIdentityButtonFont;
            UIColor switchSignUpTypeColor = UIColor.FromPatternImage(ImageUtils.GetGradientImage(
                                                                         Theme.Current.MainGradientStartColor.CGColor, Theme.Current.MainGradientEndColor.CGColor, SwitchSignUpType.Bounds.Size));

            SwitchSignUpType.SetTitleColor(switchSignUpTypeColor, UIControlState.Normal);
            SwitchSignUpType.Layer.BorderColor = switchSignUpTypeColor.CGColor;

            BubbleImg.Image     = Theme.Current.SignUpIcon.ImageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate);
            BubbleImg.TintColor = UIColor.FromPatternImage(ImageUtils.GetGradientImage(
                                                               Theme.Current.MainGradientStartColor.CGColor, Theme.Current.MainGradientEndColor.CGColor, BubbleImg.Image.Size));
        }