From 5dad97779afaad0176d1b46ed70d03d6e9ca54df Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 12 Sep 2023 07:34:42 -0600 Subject: [PATCH] WIP --- Cargo.lock | 1 + crates/gpui2/src/style.rs | 2 ++ crates/refineable/src/refineable.rs | 6 ++++++ crates/storybook/Cargo.toml | 1 + crates/storybook/build.rs | 5 +++++ 5 files changed, 15 insertions(+) create mode 100644 crates/storybook/build.rs diff --git a/Cargo.lock b/Cargo.lock index 775e1d2b8e..6cf5d23d57 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7378,6 +7378,7 @@ dependencies = [ "anyhow", "gpui2", "log", + "refineable", "rust-embed", "serde", "settings", diff --git a/crates/gpui2/src/style.rs b/crates/gpui2/src/style.rs index e3e0f5b0c4..7cd497e85c 100644 --- a/crates/gpui2/src/style.rs +++ b/crates/gpui2/src/style.rs @@ -22,6 +22,8 @@ use gpui2_macros::styleable_helpers; use refineable::{Refineable, RefinementCascade}; use std::sync::Arc; +pub type StyleCascade = RefinementCascade