This commit is contained in:
2017-08-19 15:11:20 +03:00
2 changed files with 116 additions and 103 deletions

View File

@@ -18,5 +18,18 @@ Change by static property
ThemeManager.CurrentTheme = ColorThemes.Classic; ThemeManager.CurrentTheme = ColorThemes.Classic;
``` ```
# Change themes by ResourceDictionary
Also you can change theme by adding resource dictionary after generic.xaml. Use one of them:
```xml
<ResourceDictionary Source="/brightsharp;component/style.devlab.xaml" />
or
<ResourceDictionary Source="/brightsharp;component/style.blue.xaml" />
or
<ResourceDictionary Source="/brightsharp;component/style.darkblue.xaml" />
or
<ResourceDictionary Source="/brightsharp;component/style.silver.xaml" />
```
## NOTE ## NOTE
It is recommended use `Background="{DynamicResource WindowBackgroundBrush}"` for Window markup It is recommended use `Background="{DynamicResource WindowBackgroundBrush}"` for Window markup

View File

@@ -4,106 +4,106 @@
## List of names ## List of names
AlternatingRowBackgroundBrush AlternatingRowBackgroundBrush<br/>
BorderGapMaskConverter BorderGapMaskConverter<br/>
ButtonEllipseFocusVisual ButtonEllipseFocusVisual<br/>
ButtonFocusVisual ButtonFocusVisual<br/>
CalendarButtonStyle CalendarButtonStyle<br/>
CalendarDayButtonStyle CalendarDayButtonStyle<br/>
CalendarItemStyle CalendarItemStyle<br/>
CFocusVisual CFocusVisual<br/>
ComboBoxFocusVisual ComboBoxFocusVisual<br/>
ComboBoxToggleButton ComboBoxToggleButton<br/>
DarkBrush DarkBrush<br/>
DecoPasswordBoxContextMenu DecoPasswordBoxContextMenu<br/>
DecoTextBoxContextMenu DecoTextBoxContextMenu<br/>
DefaultedBorderBrush DefaultedBorderBrush<br/>
DefaultRadiusNormal DefaultRadiusNormal<br/>
DefaultRadiusSmall DefaultRadiusSmall<br/>
DevLabFrameStyle DevLabFrameStyle<br/>
DisabledBackgroundBrush DisabledBackgroundBrush<br/>
DisabledBorderBrush DisabledBorderBrush<br/>
DisabledForegroundBrush DisabledForegroundBrush<br/>
ExpandCollapseToggleStyle ExpandCollapseToggleStyle<br/>
ExpanderToggleButton ExpanderToggleButton<br/>
Expandr2StyleGroupBox Expandr2StyleGroupBox<br/>
ExpandrStyleGroupBox ExpandrStyleGroupBox<br/>
FileItemStyle FileItemStyle<br/>
GlassButton GlassButton<br/>
GlyphBrush GlyphBrush<br/>
GridViewColumnHeaderGripper GridViewColumnHeaderGripper<br/>
HighLightForegroundBrush HighLightForegroundBrush<br/>
HorizontalLightBrush HorizontalLightBrush<br/>
HorizontalNormalBorderBrush HorizontalNormalBorderBrush<br/>
HorizontalScrollBar HorizontalScrollBar<br/>
HorizontalSlider HorizontalSlider<br/>
JournalEntryUnifiedViewConverter JournalEntryUnifiedViewConverter<br/>
LightBorderBrush LightBorderBrush<br/>
LightBrush LightBrush<br/>
LightColorBrush LightColorBrush<br/>
MainMenuForegroundBrush MainMenuForegroundBrush<br/>
NormalBorderBrush NormalBorderBrush<br/>
NormalBrush NormalBrush<br/>
NormalProgressBrush NormalProgressBrush<br/>
OnWindowForegroundBrush OnWindowForegroundBrush<br/>
OptionMarkFocusVisualBottom OptionMarkFocusVisualBottom<br/>
OptionMarkFocusVisualLeft OptionMarkFocusVisualLeft<br/>
OptionMarkFocusVisualRight OptionMarkFocusVisualRight<br/>
OptionMarkFocusVisualTop OptionMarkFocusVisualTop<br/>
OptionRadioButtonStyle OptionRadioButtonStyle<br/>
PressedBorderBrush PressedBorderBrush<br/>
PressedBrush PressedBrush<br/>
ProgressBarIndeterminateFillBrush ProgressBarIndeterminateFillBrush<br/>
ProgressBarIndeterminateRootBrush ProgressBarIndeterminateRootBrush<br/>
ProgressBarIndicatorAnimatedFill ProgressBarIndicatorAnimatedFill<br/>
RadioButtonFocusVisual RadioButtonFocusVisual<br/>
RoundedTabItemStyle RoundedTabItemStyle<br/>
RowBackgroundBrush RowBackgroundBrush<br/>
ScrollBarBackgroundBrush ScrollBarBackgroundBrush<br/>
ScrollBarLineButton ScrollBarLineButton<br/>
ScrollBarPageButtonHoriz ScrollBarPageButtonHoriz<br/>
ScrollBarPageButtonHorizBrush ScrollBarPageButtonHorizBrush<br/>
ScrollBarPageButtonVert ScrollBarPageButtonVert<br/>
ScrollBarPageButtonVertBrush ScrollBarPageButtonVertBrush<br/>
ScrollBarThumb ScrollBarThumb<br/>
SelectedBackgroundBrush SelectedBackgroundBrush<br/>
SliderButtonStyle SliderButtonStyle<br/>
SliderThumbStyle SliderThumbStyle<br/>
SliderThumbStyleDirected SliderThumbStyleDirected<br/>
SliderThumbStyleDirectedHor SliderThumbStyleDirectedHor<br/>
SolidBorderBrush SolidBorderBrush<br/>
SubMenuItemRadioButtonTemplate SubMenuItemRadioButtonTemplate<br/>
SwitchButtonFocusVisual SwitchButtonFocusVisual<br/>
SwitchCheckBoxStyle SwitchCheckBoxStyle<br/>
SynWindowBackgroundBrush SynWindowBackgroundBrush<br/>
TabItemRadius TabItemRadius<br/>
TabItemSelectedBackgroundBrush TabItemSelectedBackgroundBrush<br/>
TabRadiusBottom TabRadiusBottom<br/>
TabRadiusLeft TabRadiusLeft<br/>
TabRadiusRight TabRadiusRight<br/>
TabRadiusTop TabRadiusTop<br/>
TestWindowStyle TestWindowStyle<br/>
TextBoxBorder TextBoxBorder<br/>
ThickConv ThickConv<br/>
TogglePressedBrush TogglePressedBrush<br/>
TopLevelMenuBackgroundHover TopLevelMenuBackgroundHover<br/>
UiForegroundBrush UiForegroundBrush<br/>
VerticalDarkBrush VerticalDarkBrush<br/>
VerticalNormalBrush VerticalNormalBrush<br/>
VerticalPressedBrush VerticalPressedBrush<br/>
VerticalScrollBar VerticalScrollBar<br/>
VerticalScrollBarThumb VerticalScrollBarThumb<br/>
VerticalSlider VerticalSlider<br/>
WindowBackgroundBrush WindowBackgroundBrush<br/>
WindowSolidBrush WindowSolidBrush<br/>
ControlDarkColor ControlDarkColor<br/>
ControlLightColor ControlLightColor<br/>
ControlMediumColor ControlMediumColor<br/>
ControlMouseOverColor ControlMouseOverColor<br/>
ControlPressedColor ControlPressedColor<br/>
OnWindowForegroundColor OnWindowForegroundColor<br/>
SelectedBackgroundColor SelectedBackgroundColor<br/>
SelectedUnfocusedColor SelectedUnfocusedColor<br/>
UiForegroundColor UiForegroundColor<br/>
ValidationErrorColor ValidationErrorColor<br/>
WindowBackgroundHoverColor WindowBackgroundHoverColor<br/>