pub fn platform_preset_name() -> &'static strExpand description
Map the current platform to its matching live preset name.
Live presets contain only geometry/metrics (no colors, fonts, or icons) and are used as the merge base in the OS-first pipeline.
- macOS ->
"macos-sonoma-live" - Windows ->
"windows-11-live" - Linux KDE ->
"kde-breeze-live" - Linux other/GNOME ->
"adwaita-live" - Unknown platform ->
"adwaita-live"
Returns the live preset name for the current platform.
This is the public API for what SystemTheme::from_system() uses internally.
Showcase UIs use this to build the “default (…)” label.