Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

theme2: Correctly reference the dark alpha scale

Marshall Bowers49571127dac3
diff --git a/crates/theme2/src/scale.rs b/crates/theme2/src/scale.rs
index ba379243751..22a607bf076 100644
--- a/crates/theme2/src/scale.rs
+++ b/crates/theme2/src/scale.rs
@@ -133,7 +133,7 @@ impl ColorScaleSet {
}
pub fn dark_alpha(&self, step: ColorScaleStep) -> Hsla {
- self.dark[step - 1]
+ self.dark_alpha[step - 1]
}
fn current_appearance(cx: &AppContext) -> Appearance {