From 95e77e591d3f436622c1d1f7e26079273ad8c4b3 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Thu, 23 Jun 2022 15:31:12 -0300 Subject: [PATCH] docs(api): enhance theme api doc --- tooling/api/src/window.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tooling/api/src/window.ts b/tooling/api/src/window.ts index 77e76db15..1f28e0c9f 100644 --- a/tooling/api/src/window.ts +++ b/tooling/api/src/window.ts @@ -663,7 +663,10 @@ class WindowManager extends WebviewWindowHandle { /** * Gets the window's current theme. * - * Only implemented on Windows and macOS 10.14+. + * #### Platform-specific + * + * - **Linux:** Not implemented, always returns `light`. + * - **macOS:** Theme was introduced on macOS 10.14. Returns `light` on macOS 10.13 and below. * * @example * ```typescript