From ac5c35b3df32a0a68e74ed6dbf288bcc7055e050 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Tue, 17 Sep 2024 13:26:34 -0400 Subject: [PATCH] theme: Fix casing of "ANSI" in doc comments (#17952) This PR fixes the casing of "ANSI" in some doc comments after #17611. Release Notes: - N/A --- crates/theme/src/schema.rs | 2 +- crates/theme/src/styles/colors.rs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/theme/src/schema.rs b/crates/theme/src/schema.rs index cc62e2976b..0229b1ea98 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, - /// Terminal ansi background color. + /// Terminal ANSI background color. #[serde(rename = "terminal.ansi.background")] pub terminal_ansi_background: Option, diff --git a/crates/theme/src/styles/colors.rs b/crates/theme/src/styles/colors.rs index 04aba89a0d..0b37be0992 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.