use crate::prelude::*;
use gpui::{App, WindowBackgroundAppearance};
fn window_appearance(cx: &mut App) -> WindowBackgroundAppearance {
cx.theme().styles.window_background_appearance
}
pub fn theme_is_transparent(cx: &mut App) -> bool {
matches!(
window_appearance(cx),
WindowBackgroundAppearance::Transparent | WindowBackgroundAppearance::Blurred
)
}