Draft first-class Theme support
RFC: https://github.com/iced-rs/rfcs/pull/6
This commit is contained in:
parent
5de337f214
commit
664251f3f5
113 changed files with 767 additions and 878 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/// A generic widget.
|
||||
///
|
||||
/// This is an alias of an `iced_native` element with a default `Renderer`.
|
||||
pub type Element<'a, Message> =
|
||||
crate::runtime::Element<'a, Message, crate::renderer::Renderer>;
|
||||
pub type Element<'a, Message, Theme = iced_native::Theme> =
|
||||
crate::runtime::Element<'a, Message, crate::Renderer<Theme>>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue