bevy_cobweb_ui 0.22.2

UI framework for the bevy game engine
use bevy::prelude::*;

use super::*;

//-------------------------------------------------------------------------------------------------------------------

pub struct StyleExtPlugin;

impl Plugin for StyleExtPlugin
{
    fn build(&self, app: &mut App)
    {
        app.add_plugins(NodeWrappersPlugin)
            .add_plugins(UiOpacityPlugin)
            // IMPORTANT: These plugins must be added after NodeWrappersPlugin so the loadables defined here will
            // overwrite style fields correctly.
            .add_plugins(UiComponentWrappersPlugin)
            // IMPORTANT: These plugins must be added after NodeWrappersPlugin so the loadables defined here will
            // overwrite style fields correctly.
            .add_plugins(NodeFieldWrappersPlugin)
            .add_plugins(UiTextExtPlugin)
            .add_plugins(UiTextRenderingExtPlugin)
            .add_plugins(ImageNodeExtPlugin)
            .add_plugins(bevy_slow_text_outline::prelude::SlowTextOutlinePlugin::default());
    }
}

//-------------------------------------------------------------------------------------------------------------------