From 0e8b8761a4aeb3f6068e5d84668fad2ea3868697 Mon Sep 17 00:00:00 2001 From: Andreas Johansson Date: Mon, 17 Nov 2025 02:56:24 +0100 Subject: [PATCH] docs: Fix theme_name type (#1614) --- docs/docs/theme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/theme.md b/docs/docs/theme.md index d5497cad..497c12c6 100644 --- a/docs/docs/theme.md +++ b/docs/docs/theme.md @@ -31,7 +31,7 @@ use gpui::{App, SharedString}; use gpui_component::{Theme, ThemeRegistry}; pub fn init(cx: &mut App) { - let theme_name = "Ayu Light"; + let theme_name = SharedString::from("Ayu Light"); // Load and watch themes from ./themes directory if let Err(err) = ThemeRegistry::watch_dir(PathBuf::from("./themes"), cx, move |cx| { if let Some(theme) = ThemeRegistry::global(cx)