예제 #1
0
        private AppManager()
        {
            //Set All Tab Pages
            AllTabPages = new ObservableCollection <MainPageMenuItem>(new[]
            {
                new MainPageMenuItem {
                    Id = 0, Title = "Federal"
                },
                new MainPageMenuItem {
                    Id = 1, Title = "State"
                },
                new MainPageMenuItem {
                    Id = 2, Title = "Local"
                },
                new MainPageMenuItem {
                    Id = 3, Title = "Settings"
                }
            });

            //Set Themes
            Dictionary <string, AppTheme> Themes = new Dictionary <string, AppTheme>()
            {
                //Seasonal Themes
                //{ "Halloween", new AppTheme("#F26430", "#3A3337", "#1A1A1A" ) },

                //Standard Themes
                { "Default", new AppTheme("#F9F3EB", "#CF1942", "#1D407C") },
                { "Light", new AppTheme("#FFFFFF", "#2081CC", "#596977") },
                { "Dark", new AppTheme("#FFFFFF", "#3A3337", "#1A1A1A") },
            };

            AppThemeManager.Create(Themes);
        }
예제 #2
0
        private AppManager()
        {
            //Set Themes
            Dictionary <string, AppTheme> Themes = new Dictionary <string, AppTheme>()
            {
                { "Default", new AppTheme("#FFFFFF", "#000000", "#336699", "#424242") }
            };

            AppThemeManager.Create(Themes);
        }