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;
```
# 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
It is recommended use `Background="{DynamicResource WindowBackgroundBrush}"` for Window markup

View File

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