Skip to content

Build your personal knowledge base with Trilium Notes

feat(options/appearance): mark Modern Auto as recommended

Elian Dorana1e29ed45dad
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 28bdc66e1c..8e8104aa9c 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -1297,6 +1297,7 @@
"modern_themes": "Modern",
"legacy_themes": "Legacy",
"custom_themes": "Custom",
+ "recommended": "Recommended",
"layout": "Layout",
"layout-vertical-title": "Vertical",
"layout-horizontal-title": "Horizontal",
diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx
index c375b05594..b562d82868 100644
--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx
+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx
@@ -148,6 +148,7 @@ function UserInterface() {
icon={th.icon}
selected={theme === th.val}
onClick={() => setTheme(th.val)}
+ badges={th.val === "next" ? [{ text: t("theme.recommended") }] : undefined}
>
{th.title}
</FormListItem>