Пример #1
0
        public FullScreenLauncher()
        {
            InitializeComponent();
            textLaunch.Text = GetLauncherText();
            pallet          = new PaletteHelper();

            BaseTheme darkTheme = BaseTheme.Dark;

            var theme = Theme.Create(darkTheme.GetBaseTheme(),
                                     SwatchHelper.Lookup[(MaterialDesignColor)PrimaryColor.DeepPurple],
                                     SwatchHelper.Lookup[(MaterialDesignColor)SecondaryColor.Lime]);

            pallet.SetTheme(theme);
        }
Пример #2
0
 protected override ITheme GetTheme()
 {
     return(Theme.Create(BaseTheme.GetBaseTheme(), Primary, Accent));
 }
Пример #3
0
 protected override ITheme GetTheme()
 {
     return(Theme.Create(BaseTheme.GetBaseTheme(),
                         SwatchHelper.Lookup[(MaterialDesignColor)PrimaryColor],
                         SwatchHelper.Lookup[(MaterialDesignColor)AccentColor]));
 }
 protected override ITheme GetTheme()
 {
     return(Theme.Create(BaseTheme.GetBaseTheme(), Primary, Secondary));
 }