private void ColorizeInLight() { LightTheme theme = new LightTheme(); MainGrid.Background = new SolidColorBrush(theme.LayoutLeftColumn); MainText.Foreground = new SolidColorBrush(theme.PencilColor); }
private void ColorizeInLight() { LightTheme theme = new LightTheme(); MainGrid.Background = new SolidColorBrush(theme.LayoutRightColumn); TopGrid.Background = new SolidColorBrush(theme.LayoutTopGrid); TextWord.Foreground = new SolidColorBrush(theme.PencilColor); }
private void ColorizeInLight() { LightTheme light = new LightTheme(); MainGrid.Background = new SolidColorBrush(light.LayoutRightColumn); TopGrid.Background = new SolidColorBrush(light.LayoutRightColumn); btnArg1.BorderBrush = new SolidColorBrush(light.PencilColor); btnArg2.BorderBrush = new SolidColorBrush(light.PencilColor); TextArg1.Foreground = new SolidColorBrush(light.PencilColor); TextArg2.Foreground = new SolidColorBrush(light.PencilColor); MessageText.Foreground = new SolidColorBrush(light.PencilColor); }
public void ColorizeInLight() { // change color of main grids and dockpanels LightTheme light = new LightTheme(); Window.Background = new SolidColorBrush(light.LayoutRTB); Tools_Grid.Background = new SolidColorBrush(light.LayoutTopGrid); TopGrid.Background = new SolidColorBrush(light.LayoutTopGrid); DockPanelRight.Background = new SolidColorBrush(light.LayoutRightColumn); GridMenu.Background = new SolidColorBrush(light.LayoutTopGrid); btnChooseColor.BorderBrush = new SolidColorBrush(light.LayoutTopGrid); btnColourful.BorderBrush = new SolidColorBrush(light.LayoutTopGrid); btnStyle_right.BorderBrush = new SolidColorBrush(light.LayoutTopGrid); btnStyle_right.Foreground = new SolidColorBrush(light.PencilColor); btnLayout_right.BorderBrush = new SolidColorBrush(light.LayoutTopGrid); btnLayout_right.Foreground = new SolidColorBrush(light.PencilColor); btnMore_right.BorderBrush = new SolidColorBrush(light.LayoutTopGrid); btnMore_right.Foreground = new SolidColorBrush(light.PencilColor); //change color of pencils TextAccount.Foreground = new SolidColorBrush(light.PencilColor); TextAddPage.Foreground = new SolidColorBrush(light.PencilColor); TextAfterParagraph.Foreground = new SolidColorBrush(light.PencilColor); TextAlignment.Foreground = new SolidColorBrush(light.PencilColor); TextBeforeParagraph.Foreground = new SolidColorBrush(light.PencilColor); TextCharacterStyle.Foreground = new SolidColorBrush(light.PencilColor); TextChart.Foreground = new SolidColorBrush(light.PencilColor); TextCopy.Foreground = new SolidColorBrush(light.PencilColor); TextFind.Foreground = new SolidColorBrush(light.PencilColor); TextFont.Foreground = new SolidColorBrush(light.PencilColor); TextHome.Foreground = new SolidColorBrush(light.PencilColor); TextImage.Foreground = new SolidColorBrush(light.PencilColor); TextInsert.Foreground = new SolidColorBrush(light.PencilColor); TextNewFile.Foreground = new SolidColorBrush(light.PencilColor); TextOpen.Foreground = new SolidColorBrush(light.PencilColor); TextPasteAll.Foreground = new SolidColorBrush(light.PencilColor); TextPrint.Foreground = new SolidColorBrush(light.PencilColor); TextSave.Foreground = new SolidColorBrush(light.PencilColor); TextSettings.Foreground = new SolidColorBrush(light.PencilColor); TextSpacing.Foreground = new SolidColorBrush(light.PencilColor); TextStyle.Foreground = new SolidColorBrush(light.PencilColor); TextTable.Foreground = new SolidColorBrush(light.PencilColor); TextText.Foreground = new SolidColorBrush(light.PencilColor); TextZoom.Foreground = new SolidColorBrush(light.PencilColor); }