I have a issue regarding setting my own theme on windows 7, it works as desired on Win10. Resource code looks like this:
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarBackgroundActiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarBackgroundInactiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarInnerBorderActiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarForegroundInactiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowBorderActiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<CornerRadius x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderNormalCornerRadiusKey}">3,3,3,3</CornerRadius>
<CornerRadius x:Key="{x:Static themes:AssetResourceKeys.WindowControlBorderNormalCornerRadiusKey}">3,3,3,3</CornerRadius>
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderActivePressedBrushKey}" Color="{DynamicResource Col-118}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderInactiveDisabledBrushKey}" Color="{DynamicResource Col-118}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderActiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderInactiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderActiveDisabledBrushKey}" Color="{DynamicResource Col-96}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBorderActiveHoverBrushKey}" Color="{DynamicResource Col-142}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonHighlightActivePressedBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonForegroundActivePressedBrushKey}" Color="{DynamicResource Col-142}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderInactiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderActiveHoverBrushKey}" Color="{DynamicResource Col-142}" />
<!--maximize knappen når man hoverer over-->
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderActiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
<!--maximize knappenb border farge-->
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderActiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderActiveHoverBrushKey}" Color="{DynamicResource Col-142}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderActiveDisabledBrushKey}" Color="{DynamicResource Col-96}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderInactiveDisabledBrushKey}" Color="{DynamicResource Col-96}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderInactiveNormalBrushKey}" Color="{DynamicResource Col-96}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateInnerBorderActivePressedBrushKey}" Color="{DynamicResource Col-118}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBackgroundActivePressedBrushKey}" Color="{DynamicResource Col-118}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBackgroundActiveHoverBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateHighlightActiveHoverBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonHighlightActiveHoverBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonForegroundActiveHoverBrushKey}" Color="{DynamicResource Col-255}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBackgroundActiveHoverBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBackgroundActiveDisabledBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBackgroundActivePressedBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateBackgroundInactiveDisabledBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateForegroundActiveDisabledBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonAlternateForegroundActiveHoverBrushKey}" Color="{DynamicResource Col-255}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonInnerBorderActivePressedBrushKey}" Color="{DynamicResource Col-118}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarButtonBorderActivePressedBrushKey}" Color="{DynamicResource Col-118}" />
<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.WindowTitleBarInnerBorderInactiveBrushKey}" Color="{DynamicResource TabBackgroundColor}" />
But for some reasons, the maximize and close button on windows 7 don't get the right colors, the rest of the titlebar get's correct colors.. any suggestions?