mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-16 15:11:25 +00:00
18431051d9
This PR reworks the theme definition in the `theme2` crate to be based off of the new theme work that @iamnbutler has been working on. We're still developing the new theme system, but it is complete enough that we can now load the default theme and use it to theme the storybook (albeit with some further refining of the color palette required). --------- Co-authored-by: Nate Butler <iamnbutler@gmail.com> Co-authored-by: Marshall Bowers <marshall@zed.dev>
36 lines
796 B
TOML
36 lines
796 B
TOML
[package]
|
|
name = "theme2"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[features]
|
|
test-support = [
|
|
"gpui2/test-support",
|
|
"fs/test-support",
|
|
"settings2/test-support"
|
|
]
|
|
|
|
[lib]
|
|
path = "src/theme2.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
fs = { path = "../fs" }
|
|
gpui2 = { path = "../gpui2" }
|
|
indexmap = "1.6.2"
|
|
parking_lot.workspace = true
|
|
refineable.workspace = true
|
|
schemars.workspace = true
|
|
serde.workspace = true
|
|
serde_derive.workspace = true
|
|
serde_json.workspace = true
|
|
settings2 = { path = "../settings2" }
|
|
toml.workspace = true
|
|
util = { path = "../util" }
|
|
|
|
[dev-dependencies]
|
|
gpui2 = { path = "../gpui2", features = ["test-support"] }
|
|
fs = { path = "../fs", features = ["test-support"] }
|
|
settings2 = { path = "../settings2", features = ["test-support"] }
|