Skip to content

Commit 4e795d4

Browse files
doc changes
1 parent f741a3e commit 4e795d4

1 file 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
@@ -69,9 +69,9 @@ void SetTheme(CoreWebView2ThemeKind value)
6969
interface ICoreWebView2Profile3 : ICoreWebView2Profile2 {
7070
/// The Theme property sets the overall theme of the WebView2's associated
7171
/// with this profile. This sets the theme for WebView2 UI like dialogs,
72-
/// prompts, context menus, and so on. Additionally, this sets the
72+
/// prompts, and context menus by setting the
7373
/// ['prefers-color-scheme'](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme)
74-
/// CSS media feature.
74+
/// CSS media feature for websites to respond to.
7575
///
7676
/// The default value for this is COREWEBVIEW2_THEME_KIND_SYSTEM, which will
7777
/// follow whatever theme the OS is currently set to.
@@ -122,7 +122,7 @@ namespace Microsoft.Web.WebView2.Core
122122
123123
[interface_name("Microsoft.Web.WebView2.Core.ICoreWebView2Profile3")]
124124
{
125-
[doc_string("The Theme property sets the overall theme of the WebView2's associated with this profile. This sets the theme for WebView2 UI like dialogs, prompts, context menus, and so on. Additionally, this sets the ['prefers-color-scheme'](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) CSS media feature. The default value for this is COREWEBVIEW2_THEME_KIND_SYSTEM, which will follow whatever theme the OS is currently set to.")]
125+
[doc_string("The Theme property sets the overall theme of the WebView2's associated with this profile. This sets the theme for WebView2 UI like dialogs, prompts, and context menus by setting the ['prefers-color-scheme'](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) CSS media feature for websites to respond to. The default value for this is COREWEBVIEW2_THEME_KIND_SYSTEM, which will follow whatever theme the OS is currently set to.")]
126126
CoreWebView2ThemeKind Theme { get; set };
127127
}
128128
}

0 commit comments

Comments
 (0)