Skip to main content

use_resolved_theme

Function use_resolved_theme 

Source
pub fn use_resolved_theme() -> Memo<ResolvedTheme>
Expand description

读取实际生效明暗主题。

下游消费者(CodeMirror、图标判定)应优先用此函数:System 模式下系统 偏好变化时,返回值会自动更新。