* feat: add support for dark / light mode switching and simultaneouscustom light / dark mode themes * refactor(color-picker): optional initial color and fallback color * refactor: used FixedPortion for layout of the settings item This makes sure that the control always has at least the specified portion of the available space * refactor: make all members of the ThemeBuilder public * refactor: add and update palette colors * fix(theme): typo and derive PartialEq for ThemeBuilder * fix: update color picker usage * feat: add more variables to the theme * fix: radius on headerbar * fix: Theme CosmicConfigEntry impl * chore: specify rev of taffy * fix: theme CosmicConfigEntry missing variables * fix: apply theme type when theme mode changes * wip: add plus icon to empty color picker button * chore: fix rev and imports * refactor(color-picker): allow custom size for the icon * refactor(color_picker): make color_button public * update iced
26 lines
853 B
TOML
26 lines
853 B
TOML
[package]
|
|
name = "cosmic-theme"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["test_all_features"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[features]
|
|
default = []
|
|
no-default = []
|
|
theme-from-image = ["kmeans_colors", "image"]
|
|
|
|
[dependencies]
|
|
palette = {version = "0.7.3", features = ["serializing"] }
|
|
almost = "0.2"
|
|
kmeans_colors = { version = "0.5", features = ["palette_color"], default-features = false, optional = true }
|
|
image = {version = "0.24.1", optional = true }
|
|
serde = { version = "1.0.129", features = ["derive"] }
|
|
ron = "0.8"
|
|
lazy_static = "1.4.0"
|
|
csscolorparser = {version = "0.6.2", features = ["serde"]}
|
|
cosmic-config = { path = "../cosmic-config/", default-features = false, features = ["subscription", "macro"] }
|