[package]
name = "theme"
version = "0.1.0"
edition = "2021"
publish = false
license = "GPL-3.0-only"


[features]
default = []
importing-themes = []
stories = ["dep:itertools", "dep:story"]
test-support = [
    "gpui/test-support",
    "fs/test-support",
    "settings/test-support"
]

[lib]
path = "src/theme.rs"
doctest = false

[dependencies]
anyhow.workspace = true
fs = { path = "../fs" }
gpui = { path = "../gpui" }
indexmap = { version = "1.6.2", features = ["serde"] }
palette = { version = "0.7.3", default-features = false, features = ["std"] }
parking_lot.workspace = true
refineable.workspace = true
schemars = { workspace = true, features = ["indexmap"] }
serde.workspace = true
serde_derive.workspace = true
serde_json.workspace = true
settings = { path = "../settings" }
story = { path = "../story", optional = true }
toml.workspace = true
uuid.workspace = true
util = { path = "../util" }
color = {path = "../color"}
itertools = { version = "0.11.0", optional = true }

[dev-dependencies]
gpui = { path = "../gpui", features = ["test-support"] }
fs = { path = "../fs", features = ["test-support"] }
settings = { path = "../settings", features = ["test-support"] }
