setTheme
이 콘텐츠는 아직 번역되지 않았습니다.
Module @netwiv/api/app · Kind Function
import { setTheme } from '@netwiv/api/app';Sets the application’s theme. Pass in null or undefined to follow
the system theme.
Signature
Section titled “Signature”function setTheme(theme?: Theme | null | undefined): Promise<void>Example
Section titled “Example”import { setTheme } from '@netwiv/api/app';await setTheme('dark');Platform-specific
Section titled “Platform-specific”- iOS / Android: Unsupported.
Upstream since 2.0.0
Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.