20 lines
615 B
Rust
20 lines
615 B
Rust
//! GPUI components that feel native to the operating system.
|
|
//!
|
|
//! A thin facade: depend on `gpui-native-core` (and later siblings) directly
|
|
//! for a lean build, or on this crate for everything behind features.
|
|
|
|
pub use gpui_native_icons as icons;
|
|
pub use gpui_native_theme as theme;
|
|
|
|
#[cfg(feature = "core")]
|
|
#[allow(unused_imports)] // empty until the first component lands
|
|
pub use gpui_native_core::*;
|
|
|
|
use gpui::App;
|
|
|
|
/// Initializes the framework: installs the theme global from the current
|
|
/// system appearance. Call once before opening windows.
|
|
pub fn init(cx: &mut App) {
|
|
theme::Theme::init(cx);
|
|
}
|