docs(api): enhance theme api doc

This commit is contained in:
Lucas Nogueira 2022-06-23 15:31:12 -03:00
parent d38e66aca2
commit 95e77e591d
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

View File

@ -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