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.

theme: Fix casing of "ANSI" in doc comments (#17952)

Marshall Bowersac5c35b3df32
diff --git a/crates/theme/src/schema.rs b/crates/theme/src/schema.rs
index cc62e2976ba..0229b1ea98d 100644
--- a/crates/theme/src/schema.rs
+++ b/crates/theme/src/schema.rs
@@ -421,7 +421,7 @@ pub struct ThemeColorsContent {
#[serde(rename = "terminal.foreground")]
pub terminal_foreground: Option<String>,
- /// Terminal ansi background color.
+ /// Terminal ANSI background color.
#[serde(rename = "terminal.ansi.background")]
pub terminal_ansi_background: Option<String>,
diff --git a/crates/theme/src/styles/colors.rs b/crates/theme/src/styles/colors.rs
index 04aba89a0d5..0b37be09923 100644
--- a/crates/theme/src/styles/colors.rs
+++ b/crates/theme/src/styles/colors.rs
@@ -183,10 +183,8 @@ pub struct ThemeColors {
pub terminal_bright_foreground: Hsla,
/// Dim terminal foreground color.
pub terminal_dim_foreground: Hsla,
-
- /// Terminal ansi background color.
+ /// Terminal ANSI background color.
pub terminal_ansi_background: Hsla,
-
/// Black ANSI terminal color.
pub terminal_ansi_black: Hsla,
/// Bright black ANSI terminal color.