diff options
Diffstat (limited to '')
-rw-r--r-- | core/src/theme.rs (renamed from style/src/theme.rs) | 0 | ||||
-rw-r--r-- | core/src/theme/palette.rs (renamed from style/src/theme/palette.rs) | 2 | ||||
-rw-r--r-- | style/Cargo.toml | 18 | ||||
-rw-r--r-- | style/src/lib.rs | 21 |
4 files changed, 1 insertions, 40 deletions
diff --git a/style/src/theme.rs b/core/src/theme.rs index 21ba2a37..21ba2a37 100644 --- a/style/src/theme.rs +++ b/core/src/theme.rs diff --git a/style/src/theme/palette.rs b/core/src/theme/palette.rs index 15a964cd..985a54a8 100644 --- a/style/src/theme/palette.rs +++ b/core/src/theme/palette.rs @@ -1,5 +1,5 @@ //! Define the colors of a theme. -use crate::core::{color, Color}; +use crate::{color, Color}; use once_cell::sync::Lazy; use palette::color_difference::Wcag21RelativeContrast; diff --git a/style/Cargo.toml b/style/Cargo.toml deleted file mode 100644 index 3f00e787..00000000 --- a/style/Cargo.toml +++ /dev/null @@ -1,18 +0,0 @@ -[package] -name = "iced_style" -description = "The default set of styles of Iced" -version.workspace = true -edition.workspace = true -authors.workspace = true -license.workspace = true -repository.workspace = true -homepage.workspace = true -categories.workspace = true -keywords.workspace = true - -[dependencies] -iced_core.workspace = true -iced_core.features = ["palette"] - -palette.workspace = true -once_cell.workspace = true diff --git a/style/src/lib.rs b/style/src/lib.rs deleted file mode 100644 index bc0e37e9..00000000 --- a/style/src/lib.rs +++ /dev/null @@ -1,21 +0,0 @@ -//! The styling library of Iced. -//! -//! It contains a set of styles and stylesheets for most of the built-in -//! widgets. -//! -//!  -#![doc( - html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" -)] -#![forbid(unsafe_code, rust_2018_idioms)] -#![deny( - unused_results, - // missing_docs, - unused_results, - rustdoc::broken_intra_doc_links -)] -pub use iced_core as core; - -pub mod theme; - -pub use theme::Theme; |