Improve Warp custom theme discovery (#5287)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Brennan Benson
2026-06-12 18:09:06 -07:00
committed by GitHub
co-authored by Orca
parent 71bfbbf840
commit 5dc05e2bd2
13 changed files with 758 additions and 145 deletions
@@ -258,6 +258,14 @@ export function WarpThemeImportModal({
)}
</p>
) : null}
{!preview.error && mode !== 'yaml' ? (
<p>
{translate(
'auto.components.settings.WarpThemeImportModal.custom_theme_yaml_hint',
"Custom and community themes need to exist as YAML files in a Warp themes folder before auto-import can find them. If you cloned Warp's public themes repo, use Choose Folder to import that checkout."
)}
</p>
) : null}
{!desktopOnly ? (
<p>
{translate(
+1
View File
@@ -4682,6 +4682,7 @@
"colors_only": "Colors only",
"no_themes_found": "No custom Warp themes found.",
"builtin_themes_hint": "Warp's preloaded themes are part of the Warp app and can't be read from disk. Orca already includes most of them, like Dracula, Gruvbox, Solarized, and Tokyo Night.",
"custom_theme_yaml_hint": "Custom and community themes need to exist as YAML files in a Warp themes folder before auto-import can find them. If you cloned Warp's public themes repo, use Choose Folder to import that checkout.",
"choose_manually": "Choose a theme YAML file or folder to import manually.",
"skipped_files": "Skipped files",
"more_skipped_files": "{{value0}} more skipped files.",
+1
View File
@@ -7512,6 +7512,7 @@
"colors_only": "Colors only",
"no_themes_found": "No custom Warp themes found.",
"builtin_themes_hint": "Warp's preloaded themes are part of the Warp app and can't be read from disk. Orca already includes most of them, like Dracula, Gruvbox, Solarized, and Tokyo Night.",
"custom_theme_yaml_hint": "Los temas personalizados y de la comunidad deben existir como archivos YAML en una carpeta de temas de Warp para que la importación automática los encuentre. Si clonaste el repositorio público de temas de Warp, usa Choose Folder para importar esa copia.",
"choose_manually": "Choose a theme YAML file or folder to import manually.",
"skipped_files": "Skipped files",
"more_skipped_files": "{{value0}} more skipped files.",
+1
View File
@@ -4667,6 +4667,7 @@
"colors_only": "カラーのみ",
"no_themes_found": "カスタム Warp テーマが見つかりませんでした。",
"builtin_themes_hint": "Warp のプリロードテーマは Warp アプリ本体に含まれており、ディスクから読み取ることはできません。Dracula、Gruvbox、Solarized、Tokyo Night など、その多くは Orca の組み込みテーマとして既に利用できます。",
"custom_theme_yaml_hint": "カスタムテーマやコミュニティテーマは、Warp の themes フォルダー内に YAML ファイルとして存在している必要があります。Warp の公開 themes リポジトリをクローンした場合は、「フォルダーを選択」でそのチェックアウトをインポートしてください。",
"choose_manually": "テーマ YAML ファイルまたはフォルダーを選択して手動でインポートします。",
"skipped_files": "スキップされたファイル",
"more_skipped_files": "他 {{value0}} 件のファイルがスキップされました。",
+1
View File
@@ -7512,6 +7512,7 @@
"colors_only": "Colors only",
"no_themes_found": "No custom Warp themes found.",
"builtin_themes_hint": "Warp's preloaded themes are part of the Warp app and can't be read from disk. Orca already includes most of them, like Dracula, Gruvbox, Solarized, and Tokyo Night.",
"custom_theme_yaml_hint": "사용자 지정 및 커뮤니티 테마는 자동 가져오기가 찾을 수 있도록 Warp themes 폴더에 YAML 파일로 있어야 합니다. Warp의 공개 테마 저장소를 클론했다면 Choose Folder를 사용해 해당 체크아웃을 가져오세요.",
"choose_manually": "Choose a theme YAML file or folder to import manually.",
"skipped_files": "Skipped files",
"more_skipped_files": "{{value0}} more skipped files.",
+1
View File
@@ -7512,6 +7512,7 @@
"colors_only": "Colors only",
"no_themes_found": "No custom Warp themes found.",
"builtin_themes_hint": "Warp's preloaded themes are part of the Warp app and can't be read from disk. Orca already includes most of them, like Dracula, Gruvbox, Solarized, and Tokyo Night.",
"custom_theme_yaml_hint": "自定义和社区主题必须以 YAML 文件形式存在于 Warp themes 文件夹中,自动导入才能发现它们。如果你克隆了 Warp 的公开主题仓库,请使用 Choose Folder 导入该仓库副本。",
"choose_manually": "Choose a theme YAML file or folder to import manually.",
"skipped_files": "Skipped files",
"more_skipped_files": "{{value0}} more skipped files.",