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)