diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 37b8436f5..645b13e35 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -2000,5 +2000,12 @@
"background_effects_title": "Background effects are now stable",
"background_effects_message": "On Windows devices, background effects are now fully stable. The background effects adds a touch of color to the user interface by blurring the background behind it. This technique is also used in other applications such as Windows Explorer.",
"background_effects_button": "Enable background effects"
+ },
+ "settings": {
+ "related_settings": "Related settings"
+ },
+ "settings_appearance": {
+ "related_code_blocks": "Color scheme for code blocks in text notes",
+ "related_code_notes": "Color scheme for code notes"
}
}
diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx
index b63628569..59e08f444 100644
--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx
+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx
@@ -13,6 +13,7 @@ import { FontFamily, OptionNames } from "@triliumnext/commons";
import FormTextBox, { FormTextBoxWithUnit } from "../../react/FormTextBox";
import FormText from "../../react/FormText";
import Button from "../../react/Button";
+import RelatedSettings from "./components/RelatedSettings";
const MIN_CONTENT_WIDTH = 640;
@@ -88,6 +89,16 @@ export default function AppearanceSettings() {
{overrideThemeFonts === "true" && }
{isElectron() && }
+
)
}
diff --git a/apps/client/src/widgets/type_widgets/options/appearance/related_settings.ts b/apps/client/src/widgets/type_widgets/options/appearance/related_settings.ts
deleted file mode 100644
index e05f3d0d2..000000000
--- a/apps/client/src/widgets/type_widgets/options/appearance/related_settings.ts
+++ /dev/null
@@ -1,71 +0,0 @@
-import type { OptionPages } from "../../content_widget";
-import OptionsWidget from "../options_widget";
-
-const TPL = `\
-