Skip to content

Commit 11152b7

Browse files
fixed image
1 parent 8ce49c2 commit 11152b7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

specs/Theme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ Theme API
22
===
33

44
# Background
5-
This API's main use is to set the overall appearance/theme for WebView2. The options are similar to Edge: match the system default theme, change to light theme, or change to dark theme.
6-
This API has 2 main changes relevant to the end users. First, it sets appearance for WebView2 UI like dialogs, prompts, context menu, etc. And second, this API sets the ['prefers-color-scheme'](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) [media feature](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries#media_features). Websites typically media query for this setting in order to set CSS themes for light/dark.
5+
This API's main use is to set the overall theme for WebView2. The options are similar to Edge: match the system default theme, change to light theme, or change to dark theme.
6+
This API has 2 main changes relevant to the end users. First, it sets theme for WebView2 UI like dialogs, prompts, context menu, etc. And second, this API sets the ['prefers-color-scheme'](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) [media feature](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries#media_features). Websites typically media query for this setting in order to set CSS themes for light/dark.
77

88
Please note this API will only set the overall appearance, but not theme as defined in the Edge browser.
99
For reference, in the screenshot below, this API is meant to expose the Overall Appearance section as a WebView2 API.
1010

11-
![Alt text](./media/EdgeSettingsAppearance.png "a title")
11+
![Edge Settings Appearance Page](/specs/images/EdgeSettingsAppearance.png)
1212
# Examples
1313

1414
## C++

0 commit comments

Comments
 (0)