eda_sys_window_get_current_theme
Retrieve the active EDA window's current theme (light or dark) to adjust UI elements accordingly.
Instructions
sys_Window.getCurrentTheme() -> Promise 获取当前主题 remarks: 获取当前 EDA 主题,浅色 或 深色 returns: 当前主题
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |