From 34e7c6593a9e0f56cee5db18b7258717cf6bc11b Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 6 Mar 2024 20:30:58 +0100 Subject: Use `Style` struct pattern instead of trait for all widgets --- style/src/theme.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'style/src') diff --git a/style/src/theme.rs b/style/src/theme.rs index fd93f776..41e76d99 100644 --- a/style/src/theme.rs +++ b/style/src/theme.rs @@ -4,7 +4,6 @@ pub mod palette; pub use palette::Palette; use crate::application; -use crate::core::widget::text; use std::fmt; use std::sync::Arc; @@ -265,5 +264,3 @@ impl application::Appearance> application::StyleSheet for T { (self)(style) } } - -impl text::StyleSheet for Theme {} -- cgit