Skip to content

Commit d2c605e

Browse files
authored
additional styles to account for taskbar updated paths
affects search, instead of visual states each search style gets its own target now. can no longer use visual states with search on taskbar, as search pill still crashes when customized, and can no longer be set separately from search icon Shouldn't affect users that do not have this updated taskbar search, which has now moved under Taskbar.TaskbarExtensionElement in the update
1 parent 1ab87e9 commit d2c605e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Themes/CleanSlate/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,18 @@ The theme styles can also be imported manually. To do that, follow these steps:
155155
"controlStyles[30].styles[0]": "Background:=<AcrylicBrush TintColor=\"{ThemeResource SystemAccentColorDark2}\" TintOpacity=\"0.4\" FallbackColor=\"{ThemeResource SystemAccentColorDark2}\" />",
156156
"controlStyles[30].styles[1]": "Background@InactivePointerOver:=<AcrylicBrush TintColor=\"{ThemeResource SystemAccentColorDark1}\" TintOpacity=\"0.4\" FallbackColor=\"{ThemeResource SystemAccentColorDark1}\" />",
157157
"controlStyles[31].target": "Taskbar.TaskListLabeledButtonPanel",
158-
"controlStyles[31].styles[0]": "Margin=0"
158+
"controlStyles[31].styles[0]": "Margin=0",
159+
"controlStyles[32].target": "SearchUx.SearchUI.SearchIconButton > SearchUx.SearchUI.SearchButtonRootGrid@CommonStates > Border#BackgroundElement",
160+
"controlStyles[32].styles[0]": "CornerRadius=100",
161+
"controlStyles[32].styles[1]": "Background:=<AcrylicBrush TintColor=\"{ThemeResource SystemAccentColorDark2}\" TintOpacity=\"0.4\" FallbackColor=\"{ThemeResource SystemAccentColorDark2}\" />",
162+
"controlStyles[33].target": "SearchUx.SearchUI.SearchButtonRootGrid",
163+
"controlStyles[33].styles[0]": "Margin=0,0,3,0",
164+
"controlStyles[34].target": "SearchUx.SearchUI.SearchButtonRootGrid > Border#BackgroundElement",
165+
"controlStyles[34].styles[0]": "Background:=<AcrylicBrush TintColor=\"{ThemeResource SystemAccentColorDark2}\" TintOpacity=\"0.4\" FallbackColor=\"{ThemeResource SystemAccentColorDark2}\" />",
166+
"controlStyles[35].target": "Border#SearchPillBackgroundElement",
167+
"controlStyles[35].styles[0]": "BorderBrush:=<AcrylicBrush TintColor=\"{ThemeResource SystemAccentColorDark2}\" TintOpacity=\"0.4\" FallbackColor=\"{ThemeResource SystemAccentColorDark2}\" />",
168+
"controlStyles[35].styles[1]": "BorderThickness=16",
169+
"controlStyles[35].styles[2]": "CornerRadius=8"
159170
}
160171
```
161172

0 commit comments

Comments
 (0)