|
35 | 35 | <Color x:Key="BackgroundAcrylicTintColor">#202020</Color>
|
36 | 36 | <Color x:Key="BackgroundAcrylicTintFallbackColor">#C92C2C2C</Color>
|
37 | 37 | <x:Double x:Key="BackgroundAcrylicTintOpacity">0.5</x:Double>
|
38 |
| - <StaticResource x:Key="HeaderBackgroundGradientBrush" ResourceKey="HeaderBackgroundLinearGradient" /> |
39 |
| - <StaticResource x:Key="ControlsBackgroundGradientBrush" ResourceKey="ControlsBackgroundLinearGradient" /> |
| 38 | + |
| 39 | + <LinearGradientBrush x:Key="HeaderBackgroundBrush" StartPoint="0.5,0" EndPoint="0.5,1"> |
| 40 | + <LinearGradientBrush.GradientStops> |
| 41 | + <GradientStop Offset="0" Color="{StaticResource SystemAltMediumColor}" /> |
| 42 | + <GradientStop Offset="0.5" Color="{StaticResource SystemAltLowColor}" /> |
| 43 | + <GradientStop Offset="1" Color="#00000000" /> |
| 44 | + </LinearGradientBrush.GradientStops> |
| 45 | + </LinearGradientBrush> |
| 46 | + <LinearGradientBrush x:Key="PlayerControlsBackgroundBrush" StartPoint="0.5,0" EndPoint="0.5,1"> |
| 47 | + <LinearGradientBrush.GradientStops> |
| 48 | + <GradientStop Offset="0" Color="#00000000" /> |
| 49 | + <GradientStop Offset="1" Color="{StaticResource SystemAltMediumColor}" /> |
| 50 | + </LinearGradientBrush.GradientStops> |
| 51 | + </LinearGradientBrush> |
40 | 52 | </ResourceDictionary>
|
41 | 53 | <ResourceDictionary x:Key="Light">
|
42 | 54 | <Color x:Key="BackgroundAcrylicTintColor">#FCFCFC</Color>
|
43 | 55 | <Color x:Key="BackgroundAcrylicTintFallbackColor">#C9F9F9F9</Color>
|
44 | 56 | <x:Double x:Key="BackgroundAcrylicTintOpacity">0.45</x:Double>
|
45 |
| - <StaticResource x:Key="HeaderBackgroundGradientBrush" ResourceKey="HeaderBackgroundLinearGradient" /> |
46 |
| - <StaticResource x:Key="ControlsBackgroundGradientBrush" ResourceKey="ControlsBackgroundLinearGradient" /> |
| 57 | + |
| 58 | + <LinearGradientBrush x:Key="HeaderBackgroundBrush" StartPoint="0.5,0" EndPoint="0.5,1"> |
| 59 | + <LinearGradientBrush.GradientStops> |
| 60 | + <GradientStop Offset="0" Color="{StaticResource SystemAltMediumColor}" /> |
| 61 | + <GradientStop Offset="0.5" Color="{StaticResource SystemAltLowColor}" /> |
| 62 | + <GradientStop Offset="1" Color="#00FFFFFF" /> |
| 63 | + </LinearGradientBrush.GradientStops> |
| 64 | + </LinearGradientBrush> |
| 65 | + <LinearGradientBrush x:Key="PlayerControlsBackgroundBrush" StartPoint="0.5,0" EndPoint="0.5,1"> |
| 66 | + <LinearGradientBrush.GradientStops> |
| 67 | + <GradientStop Offset="0" Color="#00FFFFFF" /> |
| 68 | + <GradientStop Offset="1" Color="{StaticResource SystemAltMediumColor}" /> |
| 69 | + </LinearGradientBrush.GradientStops> |
| 70 | + </LinearGradientBrush> |
47 | 71 | </ResourceDictionary>
|
48 | 72 | <ResourceDictionary x:Key="HighContrast">
|
49 | 73 | <StaticResource x:Key="BackgroundAcrylicTintColor" ResourceKey="SystemColorWindowColor" />
|
50 | 74 | <StaticResource x:Key="BackgroundAcrylicTintFallbackColor" ResourceKey="SystemColorWindowColor" />
|
51 | 75 | <x:Double x:Key="BackgroundAcrylicTintOpacity">1</x:Double>
|
52 |
| - <StaticResource x:Key="HeaderBackgroundGradientBrush" ResourceKey="SystemColorWindowColorBrush" /> |
53 |
| - <StaticResource x:Key="ControlsBackgroundGradientBrush" ResourceKey="SystemColorWindowColorBrush" /> |
| 76 | + |
54 | 77 | <StaticResource x:Key="ProgressBarBackground" ResourceKey="SystemColorButtonTextColorBrush" />
|
55 | 78 | <Thickness x:Key="ProgressBarBorderThemeThickness">0</Thickness>
|
| 79 | + |
| 80 | + <StaticResource x:Key="HeaderBackgroundBrush" ResourceKey="SystemColorWindowColorBrush" /> |
| 81 | + <StaticResource x:Key="PlayerControlsBackgroundBrush" ResourceKey="SystemColorWindowColorBrush" /> |
56 | 82 | </ResourceDictionary>
|
57 | 83 | </ResourceDictionary.ThemeDictionaries>
|
58 | 84 |
|
59 |
| - <LinearGradientBrush x:Key="HeaderBackgroundLinearGradient" StartPoint="0.5,0" EndPoint="0.5,1"> |
60 |
| - <LinearGradientBrush.GradientStops> |
61 |
| - <GradientStop Offset="0" Color="{StaticResource SystemChromeBlackMediumLowColor}" /> |
62 |
| - <GradientStop Offset="1" Color="#00000000" /> |
63 |
| - </LinearGradientBrush.GradientStops> |
64 |
| - </LinearGradientBrush> |
65 |
| - <LinearGradientBrush x:Name="ControlsBackgroundLinearGradient" StartPoint="0.5,0" EndPoint="0.5,1"> |
66 |
| - <LinearGradientBrush.GradientStops> |
67 |
| - <GradientStop Offset="0" Color="#00000000" /> |
68 |
| - <GradientStop Offset="1" Color="{StaticResource SystemChromeBlackMediumLowColor}" /> |
69 |
| - </LinearGradientBrush.GradientStops> |
70 |
| - </LinearGradientBrush> |
71 |
| - |
72 | 85 | <ctConverters:BoolToObjectConverter
|
73 | 86 | x:Key="FilledPlayPauseGlyphConverter"
|
74 | 87 | FalseValue=""
|
|
161 | 174 | Grid.Column="0"
|
162 | 175 | Height="72"
|
163 | 176 | MinHeight="32"
|
164 |
| - Background="{ThemeResource HeaderBackgroundGradientBrush}" |
| 177 | + Background="{ThemeResource HeaderBackgroundBrush}" |
165 | 178 | Canvas.ZIndex="3" />
|
166 | 179 |
|
167 | 180 | <Grid
|
|
580 | 593 | x:Name="PlayerControlsBackground"
|
581 | 594 | Grid.Row="2"
|
582 | 595 | Grid.Column="0"
|
583 |
| - Background="{ThemeResource ControlsBackgroundGradientBrush}" |
| 596 | + Background="{ThemeResource PlayerControlsBackgroundBrush}" |
584 | 597 | Tapped="PlayerControlsBackground_OnTapped" />
|
585 | 598 |
|
586 | 599 | <controls:PlayerControls
|
|
0 commit comments