Skip to content

Commit

Permalink
Windows 11 Start Menu Styler v1.1.5 (#823)
Browse files Browse the repository at this point in the history
* Updated SideBySide2 theme with several fixes.
  • Loading branch information
m417z authored Jul 28, 2024
1 parent 5ceffe5 commit b6c907a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions mods/windows-11-start-menu-styler.wh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @id windows-11-start-menu-styler
// @name Windows 11 Start Menu Styler
// @description Customize the start menu with themes contributed by others or create your own
// @version 1.1.4
// @version 1.1.5
// @author m417z
// @github https://github.com/m417z
// @twitter https://twitter.com/m417z
Expand Down Expand Up @@ -336,13 +336,14 @@ const Theme g_themeSideBySide2 = {{
L"Margin=2,0,0,0"}},
ThemeTargetStyles{L"Windows.UI.Xaml.Controls.Button#HideMoreSuggestionsButton > Windows.UI.Xaml.Controls.ContentPresenter#ContentPresenter > Windows.UI.Xaml.Controls.StackPanel > Windows.UI.Xaml.Controls.FontIcon ", {
L"FontSize=12"}},
ThemeTargetStyles{L"StartDocked.SearchBoxToggleButton#StartMenuSearchBox > Grid > Border#BorderElement", {
L"Background=White"}},
ThemeTargetStyles{L"Windows.UI.Xaml.Controls.FlyoutPresenter[1]", {
L"Transform3D:=<CompositeTransform3D TranslateX=\"-240\" TranslateY=\"-10\"/>",
L"Margin=0,-10,0,0"}},
L"Margin=-240,-20,0,0"}},
ThemeTargetStyles{L"Windows.UI.Xaml.Controls.FlyoutPresenter > Grid", {
L"Margin=-450,0,450,0"}},
ThemeTargetStyles{L"Panel", {
L"FlowDirection=1"}},
ThemeTargetStyles{L"Windows.UI.Xaml.Controls.FlyoutPresenter", {
L"Margin=-10,-8,0,0"}},
}};

const Theme g_themeSideBySideMinimal = {{
Expand Down Expand Up @@ -733,7 +734,7 @@ const Theme g_themeWindows10 = {{
L"BorderBrush:=<RevealBorderBrush Color=\"Transparent\" TargetTheme=\"1\" Opacity=\"0.8\"/>"}},
}};

const Theme g_themeWindows10_24H2 = {{
const Theme g_themeWindows10_variant_24H2 = {{
ThemeTargetStyles{L"Grid", {
L"RequestedTheme=2"}},
ThemeTargetStyles{L"Grid#RootContent", {
Expand Down Expand Up @@ -2386,7 +2387,7 @@ void ProcessAllStylesFromSettings() {
theme = &g_themeFluent2Inspired;
} else if (wcscmp(themeName, L"Windows10") == 0) {
if (IsVersionAtLeast(10, 0, 26100, 0)) {
theme = &g_themeWindows10_24H2;
theme = &g_themeWindows10_variant_24H2;
} else {
theme = &g_themeWindows10;
}
Expand Down

0 comments on commit b6c907a

Please sign in to comment.