|
188 | 188 | <TextBlock |
189 | 189 | Margin="16,0,0,0" |
190 | 190 | Style="{DynamicResource CaptionTextBlockStyle}" |
191 | | - Foreground="{DynamicResource TextFillColorSecondaryBrush}" |
| 191 | + Foreground="{DynamicResource {x:Static ui:ThemeKeys.TextFillColorSecondaryBrushKey}}" |
192 | 192 | Text="Example" /> |
193 | 193 | <TextBlock |
194 | 194 | Grid.Column="1" |
195 | 195 | Style="{DynamicResource CaptionTextBlockStyle}" |
196 | | - Foreground="{DynamicResource TextFillColorSecondaryBrush}" |
| 196 | + Foreground="{DynamicResource {x:Static ui:ThemeKeys.TextFillColorSecondaryBrushKey}}" |
197 | 197 | Text="Variable Font" /> |
198 | 198 | <TextBlock |
199 | 199 | Grid.Column="2" |
200 | 200 | Style="{DynamicResource CaptionTextBlockStyle}" |
201 | | - Foreground="{DynamicResource TextFillColorSecondaryBrush}" |
| 201 | + Foreground="{DynamicResource {x:Static ui:ThemeKeys.TextFillColorSecondaryBrushKey}}" |
202 | 202 | Text="Size/Line height" /> |
203 | 203 | <TextBlock |
204 | 204 | Grid.Column="3" |
205 | 205 | Style="{DynamicResource CaptionTextBlockStyle}" |
206 | | - Foreground="{DynamicResource TextFillColorSecondaryBrush}" |
| 206 | + Foreground="{DynamicResource {x:Static ui:ThemeKeys.TextFillColorSecondaryBrushKey}}" |
207 | 207 | Text="Style" /> |
208 | 208 | <TextBlock |
209 | 209 | Grid.Column="4" |
210 | 210 | Style="{DynamicResource CaptionTextBlockStyle}" |
211 | | - Foreground="{DynamicResource TextFillColorSecondaryBrush}" |
| 211 | + Foreground="{DynamicResource {x:Static ui:ThemeKeys.TextFillColorSecondaryBrushKey}}" |
212 | 212 | Text="Usage (XAML)" FontWeight="SemiBold" /> |
213 | 213 | </Grid> |
214 | 214 |
|
215 | 215 | <uc:TypographyControl |
216 | 216 | HorizontalAlignment="Stretch" |
217 | | - Background="{DynamicResource CardBackgroundFillColorDefaultBrush}" |
| 217 | + Background="{DynamicResource {x:Static ui:ThemeKeys.CardBackgroundFillColorDefaultBrushKey}}" |
218 | 218 | Example="Caption" |
219 | 219 | ExampleStyle="{DynamicResource CaptionTextBlockStyle}" |
220 | 220 | VariableFont="Small, Regular" |
|
231 | 231 | Weight="400" /> |
232 | 232 |
|
233 | 233 | <uc:TypographyControl |
234 | | - Background="{DynamicResource CardBackgroundFillColorDefaultBrush}" |
| 234 | + Background="{DynamicResource {x:Static ui:ThemeKeys.CardBackgroundFillColorDefaultBrushKey}}" |
235 | 235 | Example="Body Strong" |
236 | 236 | ExampleStyle="{DynamicResource BodyStrongTextBlockStyle}" |
237 | 237 | VariableFont="Text, SemiBold" |
|
248 | 248 | Weight="600" /> |
249 | 249 |
|
250 | 250 | <uc:TypographyControl |
251 | | - Background="{DynamicResource CardBackgroundFillColorDefaultBrush}" |
| 251 | + Background="{DynamicResource {x:Static ui:ThemeKeys.CardBackgroundFillColorDefaultBrushKey}}" |
252 | 252 | Example="Title" |
253 | 253 | ExampleStyle="{DynamicResource TitleTextBlockStyle}" |
254 | 254 | VariableFont="Display, SemiBold" |
|
265 | 265 | Weight="600" /> |
266 | 266 |
|
267 | 267 | <uc:TypographyControl |
268 | | - Background="{DynamicResource CardBackgroundFillColorDefaultBrush}" |
| 268 | + Background="{DynamicResource {x:Static ui:ThemeKeys.CardBackgroundFillColorDefaultBrushKey}}" |
269 | 269 | Example="Display" |
270 | 270 | ExampleStyle="{DynamicResource DisplayTextBlockStyle}" |
271 | 271 | VariableFont="Display, SemiBold" |
|
0 commit comments