diff options
author | 2022-05-26 19:02:15 +0200 | |
---|---|---|
committer | 2022-05-26 19:02:15 +0200 | |
commit | 7f3b7075db68a215f4331b4bfba1c8ddd1c4d7f3 (patch) | |
tree | fb616dc39053d3249829c8a31976a1fd569153e5 /style/src/application.rs | |
parent | 3e8f4cdd138d3f927ce8a3ea451cbfcca52af0d9 (diff) | |
download | iced-7f3b7075db68a215f4331b4bfba1c8ddd1c4d7f3.tar.gz iced-7f3b7075db68a215f4331b4bfba1c8ddd1c4d7f3.tar.bz2 iced-7f3b7075db68a215f4331b4bfba1c8ddd1c4d7f3.zip |
Rename `theme::Definition` to `application::StyleSheet`
Diffstat (limited to '')
-rw-r--r-- | style/src/application.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/style/src/application.rs b/style/src/application.rs new file mode 100644 index 00000000..4aa950fb --- /dev/null +++ b/style/src/application.rs @@ -0,0 +1,7 @@ +use iced_core::Color; + +pub trait StyleSheet { + fn background_color(&self) -> Color; + + fn text_color(&self) -> Color; +} |