Beispiel #1
0
        public static IColorPack Accent1(this IColorPack colorPack, System.Windows.Media.Color color)
        {
            colorPack.Accent1 = new SolidColorBrush(color);

            return(colorPack);
        }
Beispiel #2
0
 public ThemeColors(IColorPack text, IColorPack control, IColorPack outline)
 {
     this.Text    = text;
     this.Control = control;
     this.Outline = outline;
 }
Beispiel #3
0
        public static IColorPack Selected(this IColorPack colorPack, System.Windows.Media.Color color)
        {
            colorPack.Selected = new SolidColorBrush(color);

            return(colorPack);
        }
Beispiel #4
0
        public static IColorPack Over(this IColorPack colorPack, System.Windows.Media.Color color)
        {
            colorPack.Over = new SolidColorBrush(color);

            return(colorPack);
        }
Beispiel #5
0
        public static IThemeColors Text(this IThemeColors themeColors, IColorPack colorPack)
        {
            themeColors.Text = colorPack;

            return(themeColors);
        }
Beispiel #6
0
        public static IThemeColors Outline(this IThemeColors themeColors, IColorPack colorPack)
        {
            themeColors.Outline = colorPack;

            return(themeColors);
        }
Beispiel #7
0
        public static IThemeColors Control(this IThemeColors themeColors, IColorPack colorPack)
        {
            themeColors.Control = colorPack;

            return(themeColors);
        }