|
5 | 5 | xmlns:local="clr-namespace:iNKORE.UI.WPF.Modern.Controls" |
6 | 6 | xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" |
7 | 7 | xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" |
| 8 | + xmlns:m="http://schemas.inkore.net/lib/ui/wpf/modern" |
8 | 9 | xmlns:common="clr-namespace:iNKORE.UI.WPF.Modern.Common;assembly=iNKORE.UI.WPF.Modern" |
9 | 10 | xmlns:sys="clr-namespace:System;assembly=netstandard"> |
10 | 11 |
|
|
291 | 292 | <Grid ui:ThemeManager.HasThemeResources="True" Height="{TemplateBinding Height}"> |
292 | 293 | <Grid.Resources> |
293 | 294 | <ui:ResourceDictionaryEx> |
294 | | - <!--<ui:ResourceDictionaryEx.ThemeDictionaries> |
| 295 | + <ui:ResourceDictionaryEx.ThemeDictionaries> |
295 | 296 | <ResourceDictionary x:Key="Light" ui:ThemeDictionary.Key="Light"> |
296 | | - <ui:StaticResource x:Key="RepeatButtonBorderBrushPointerOver" ResourceKey="TextControlBorderBrush" /> |
297 | | - <ui:StaticResource x:Key="RepeatButtonBorderBrushPressed" ResourceKey="TextControlBorderBrush" /> |
| 297 | + <m:StaticResource x:Key="RepeatButtonBackground" ResourceKey="TextControlButtonBackground" /> |
| 298 | + <m:StaticResource x:Key="RepeatButtonBackgroundPointerOver" ResourceKey="TextControlButtonBackgroundPointerOver" /> |
| 299 | + <m:StaticResource x:Key="RepeatButtonBackgroundPressed" ResourceKey="TextControlButtonBackgroundPressed" /> |
| 300 | + <m:StaticResource x:Key="RepeatButtonForeground" ResourceKey="TextControlButtonForeground" /> |
| 301 | + <m:StaticResource x:Key="RepeatButtonForegroundPointerOver" ResourceKey="TextControlButtonForegroundPointerOver" /> |
| 302 | + <m:StaticResource x:Key="RepeatButtonForegroundPressed" ResourceKey="TextControlButtonForegroundPressed" /> |
| 303 | + <m:StaticResource x:Key="RepeatButtonBorderBrush" ResourceKey="TextControlButtonBorderBrush" /> |
| 304 | + <ui:StaticResource x:Key="RepeatButtonBorderBrushPointerOver" ResourceKey="TextControlButtonBorderBrushPointerOver" /> |
| 305 | + <ui:StaticResource x:Key="RepeatButtonBorderBrushPressed" ResourceKey="TextControlButtonBorderBrushPressed" /> |
| 306 | + <ui:StaticResource x:Key="RepeatButtonBorderBrushDisabled" ResourceKey="TextControlButtonBorderBrush" /> |
298 | 307 | </ResourceDictionary> |
299 | 308 |
|
300 | 309 | <ResourceDictionary x:Key="Dark" ui:ThemeDictionary.Key="Dark"> |
301 | | - <ui:StaticResource x:Key="RepeatButtonBorderBrushPointerOver" ResourceKey="TextControlBorderBrush" /> |
302 | | - <ui:StaticResource x:Key="RepeatButtonBorderBrushPressed" ResourceKey="TextControlBorderBrush" /> |
| 310 | + <m:StaticResource x:Key="RepeatButtonBackground" ResourceKey="TextControlButtonBackground" /> |
| 311 | + <m:StaticResource x:Key="RepeatButtonBackgroundPointerOver" ResourceKey="TextControlButtonBackgroundPointerOver" /> |
| 312 | + <m:StaticResource x:Key="RepeatButtonBackgroundPressed" ResourceKey="TextControlButtonBackgroundPressed" /> |
| 313 | + <m:StaticResource x:Key="RepeatButtonForeground" ResourceKey="TextControlButtonForeground" /> |
| 314 | + <m:StaticResource x:Key="RepeatButtonForegroundPointerOver" ResourceKey="TextControlButtonForegroundPointerOver" /> |
| 315 | + <m:StaticResource x:Key="RepeatButtonForegroundPressed" ResourceKey="TextControlButtonForegroundPressed" /> |
| 316 | + <m:StaticResource x:Key="RepeatButtonBorderBrush" ResourceKey="TextControlButtonBorderBrush" /> |
| 317 | + <ui:StaticResource x:Key="RepeatButtonBorderBrushPointerOver" ResourceKey="TextControlButtonBorderBrushPointerOver" /> |
| 318 | + <ui:StaticResource x:Key="RepeatButtonBorderBrushPressed" ResourceKey="TextControlButtonBorderBrushPressed" /> |
| 319 | + <ui:StaticResource x:Key="RepeatButtonBorderBrushDisabled" ResourceKey="TextControlButtonBorderBrush" /> |
303 | 320 | </ResourceDictionary> |
304 | 321 |
|
305 | 322 | <ResourceDictionary x:Key="HighContrast" ui:ThemeDictionary.Key="HighContrast"> |
306 | | - <ui:StaticResource x:Key="RepeatButtonBorderBrushPointerOver" ResourceKey="SystemControlHighlightBaseMediumLowBrush" /> |
307 | | - <ui:StaticResource x:Key="RepeatButtonBorderBrushPressed" ResourceKey="SystemControlHighlightTransparentBrush" /> |
| 323 | + <m:StaticResource x:Key="RepeatButtonBackground" ResourceKey="TextControlButtonBackground" /> |
| 324 | + <m:StaticResource x:Key="RepeatButtonBackgroundPointerOver" ResourceKey="TextControlButtonBackgroundPointerOver" /> |
| 325 | + <m:StaticResource x:Key="RepeatButtonBackgroundPressed" ResourceKey="TextControlButtonBackgroundPressed" /> |
| 326 | + <m:StaticResource x:Key="RepeatButtonForeground" ResourceKey="TextControlButtonForeground" /> |
| 327 | + <m:StaticResource x:Key="RepeatButtonForegroundPointerOver" ResourceKey="TextControlButtonForegroundPointerOver" /> |
| 328 | + <m:StaticResource x:Key="RepeatButtonForegroundPressed" ResourceKey="TextControlButtonForegroundPressed" /> |
| 329 | + <m:StaticResource x:Key="RepeatButtonBorderBrush" ResourceKey="TextControlButtonBorderBrush" /> |
| 330 | + <ui:StaticResource x:Key="RepeatButtonBorderBrushPointerOver" ResourceKey="TextControlButtonBorderBrushPointerOver" /> |
| 331 | + <ui:StaticResource x:Key="RepeatButtonBorderBrushPressed" ResourceKey="TextControlButtonBorderBrushPressed" /> |
| 332 | + <ui:StaticResource x:Key="RepeatButtonBorderBrushDisabled" ResourceKey="TextControlButtonBorderBrush" /> |
308 | 333 | </ResourceDictionary> |
309 | | - </ui:ResourceDictionaryEx.ThemeDictionaries>--> |
310 | | - <ui:StaticResource x:Key="RepeatButtonBorderBrushPointerOver" ResourceKey="TextControlBorderBrush" /> |
311 | | - <ui:StaticResource x:Key="RepeatButtonBorderBrushPressed" ResourceKey="TextControlBorderBrush" /> |
312 | | - |
313 | | - |
| 334 | + </ui:ResourceDictionaryEx.ThemeDictionaries> |
314 | 335 | </ui:ResourceDictionaryEx> |
315 | 336 | </Grid.Resources> |
316 | 337 |
|
|
0 commit comments