Skip to main content

dark_mode

Function dark_mode 

Source
pub fn dark_mode() -> bool
Expand description

Whether the platform is rendering in dark appearance (see Toolkit::dark_mode): the branch apps take when painting custom OPAQUE surfaces so fills track the theme that the default text colors already follow.

Day API ↩ Guides· daybrite.dev