-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #312 from AvaloniaUI/search-fix-simple-theme
Fix simple theme in SearchPanel
- Loading branch information
Showing
8 changed files
with
94 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<Styles xmlns="https://github.com/avaloniaui"> | ||
|
||
<Styles.Resources> | ||
<ResourceDictionary> | ||
<ResourceDictionary.MergedDictionaries> | ||
<MergeResourceInclude Source="/Themes/Fluent/Base.xaml" /> | ||
</ResourceDictionary.MergedDictionaries> | ||
</ResourceDictionary> | ||
</Styles.Resources> | ||
|
||
<StyleInclude Source="avares://AvaloniaEdit/TextEditor.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/Editing/TextArea.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/CodeCompletion/CompletionList.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/CodeCompletion/InsightWindow.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/Rendering/VisualLineDrawingVisual.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/Search/DropDownButton.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/Search/SearchPanel.xaml" /> | ||
|
||
</Styles> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<ResourceDictionary xmlns="https://github.com/avaloniaui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:sys="using:System"> | ||
<StaticResource x:Key="SearchPanelFontSize" ResourceKey="ControlContentThemeFontSize" /> | ||
<StaticResource x:Key="SearchPanelFontFamily" ResourceKey="ContentControlThemeFontFamily" /> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<SolidColorBrush x:Key="SearchPanelBackgroundBrush" Color="{DynamicResource SystemChromeMediumColor}" /> | ||
<SolidColorBrush x:Key="SearchPanelBorderBrush" Color="{DynamicResource SystemBaseLowColor}" /> | ||
</ResourceDictionary> | ||
<ResourceDictionary x:Key="Dark"> | ||
<SolidColorBrush x:Key="SearchPanelBackgroundBrush" Color="{DynamicResource SystemChromeMediumColor}" /> | ||
<SolidColorBrush x:Key="SearchPanelBorderBrush" Color="{DynamicResource SystemBaseLowColor}" /> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
</ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<Styles xmlns="https://github.com/avaloniaui"> | ||
|
||
<Styles.Resources> | ||
<ResourceDictionary> | ||
<ResourceDictionary.MergedDictionaries> | ||
<MergeResourceInclude Source="/Themes/Simple/Base.xaml" /> | ||
</ResourceDictionary.MergedDictionaries> | ||
</ResourceDictionary> | ||
</Styles.Resources> | ||
|
||
<StyleInclude Source="avares://AvaloniaEdit/TextEditor.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/Editing/TextArea.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/CodeCompletion/CompletionList.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/CodeCompletion/InsightWindow.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/Rendering/VisualLineDrawingVisual.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/Search/DropDownButton.xaml" /> | ||
<StyleInclude Source="avares://AvaloniaEdit/Search/SearchPanel.xaml" /> | ||
|
||
</Styles> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<ResourceDictionary xmlns="https://github.com/avaloniaui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:sys="using:System"> | ||
<StaticResource x:Key="SearchPanelFontSize" ResourceKey="FontSizeNormal" /> | ||
<StaticResource x:Key="SearchPanelFontFamily" ResourceKey="ContentControlThemeFontFamily" /> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<SolidColorBrush x:Key="SearchPanelBackgroundBrush" Color="{DynamicResource ThemeBackgroundColor}" /> | ||
<SolidColorBrush x:Key="SearchPanelBorderBrush" Color="{DynamicResource ThemeBorderLowColor}" /> | ||
</ResourceDictionary> | ||
<ResourceDictionary x:Key="Dark"> | ||
<SolidColorBrush x:Key="SearchPanelBackgroundBrush" Color="{DynamicResource ThemeBackgroundColor}" /> | ||
<SolidColorBrush x:Key="SearchPanelBorderBrush" Color="{DynamicResource ThemeBorderLowColor}" /> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
</ResourceDictionary> |