コード例 #1
0
        public DefaultTheme()
        {
            WindowBackColor   = MaterialColors.Black;
            WindowForeColor   = MaterialColors.White;
            WindowBorderColor = MaterialColors.White;

            ControlBackColor = MaterialColors.Black;
            ControlForeColor = MaterialColors.White;

            ButtonBackColor         = MaterialColors.Grey(ColorDepth.C900);
            ButtonForeColor         = MaterialColors.White;
            SelectedButtonBackColor = MaterialColors.Grey();
            SelectedButtonForeColor = ButtonForeColor;

            ButtonBorderSize    = 1;
            ButtonBorderColor   = MaterialColors.Grey(ColorDepth.C400);
            ButtonDownBackColor = MaterialColors.Grey();
            ButtonOverBackColor = MaterialColors.Grey(ColorDepth.C600);

            ConfirmButtonColor         = MaterialColors.Green(ColorDepth.C600);
            ConfirmButtonDownBackColor = MaterialColors.Green(ColorDepth.C300);
            ConfirmButtonOverBackColor = MaterialColors.Green(ColorDepth.C400);

            CancelButtonColor         = MaterialColors.Red();
            CancelButtonDownBackColor = MaterialColors.Red(ColorDepth.A700);
            CancelButtonOverBackColor = MaterialColors.Red(ColorDepth.C400);

            ToolBarBackground = MaterialColors.Grey(ColorDepth.C800);

            InfoBackColor    = MaterialColors.Green();
            WarningBackColor = MaterialColors.Amber();
            ErrorBackColor   = MaterialColors.Red();

            FreeTableColor    = MaterialColors.Green();
            OpenedTableColor  = MaterialColors.Amber();
            OcupiedTableColor = MaterialColors.Red();

            StornoOrderItemBackColor = MaterialColors.Red(ColorDepth.C200);

            FormTransparentBackColor = MaterialColors.Grey(ColorDepth.C200);

            LoadingColors = new[]
            {
                MaterialColors.Red(),
                    MaterialColors.Amber(),
                    MaterialColors.Green(),
                    MaterialColors.Pink(),
                    MaterialColors.Purple(),
                    MaterialColors.DeepOrange(),
                    MaterialColors.Blue(),
                    MaterialColors.Amber()
            };
        }