Expand description
bevy_feathers is a collection of styled and themed widgets for building editors and
inspectors.
The aesthetic choices made here are designed with a future Bevy Editor in mind, but this crate is deliberately exposed to the public to allow the broader ecosystem to easily create tooling for themselves and others that fits cohesively together.
While it may be tempting to use this crate for your game’s UI, it’s deliberately not intended for that. We’ve opted for a clean, functional style, and prioritized consistency over customization. That said, if you like what you see, it can be a helpful learning tool. Consider copying this code into your own project, and refining the styles and abstractions provided to meet your needs.
§Best practices for event propagation
Generally, when a widget handles an event, propagation of that event to parent entities should be stopped. This is important when writing your custom widgets, and understanding the behavior of existing widgets.
For more guidance on this, see the documentation for EntityEvent.
Modules§
- constants
- Various non-themable constants for the Feathers look and feel.
- containers
- Meta-module containing all feathers containers: passive widgets that hold other widgets.
- controls
- Meta-module containing all feathers controls (widgets that are interactive).
- dark_
theme - The standard
bevy_feathersdark theme. - display
- Static widgets that only display data and are not interactive.
- focus
- This module contains the infrastructure needed for displaying focus outlines.
- font_
styles - A framework for inheritable font styles.
- palette
- The Feathers standard color palette.
- rounded_
corners - Mechanism for specifying which corners of a widget are rounded, used for segmented buttons and control groups.
- theme
- A framework for theming.
- tokens
- Design tokens used by Feathers themes.
Structs§
- Feathers
Core Plugin - Plugin which installs observers and systems for feathers themes, cursors, and all controls.
- Feathers
Plugins - A plugin group that adds all dependencies for Feathers