From 59d3882c9fab9c0492105019c7201197a5810a4b Mon Sep 17 00:00:00 2001 From: MC Naveen <8493007+mcnaveen@users.noreply.github.com> Date: Mon, 16 Oct 2023 20:07:04 +0530 Subject: [PATCH] Added theme version in design settings (#18623) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Why this PR? This PR adds back the current theme version in Design Settings screen ![image](https://github.com/TryGhost/Ghost/assets/8493007/88f475f6-9bba-4dda-8db7-0bddd2fee8a3) - [x] There's a clear use-case for this code change, explained above - [x] Commit message has a short title & references relevant issues - [x] The build will pass (run `yarn test:all` and `yarn lint`) --- ### 🤖 Generated by Copilot at 2796daf This pull request improves the code quality and user interface of the design modal component for site settings. It applies code formatting rules and shows the active theme version on the save button. --- .../src/components/settings/site/DesignModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin-x-settings/src/components/settings/site/DesignModal.tsx b/apps/admin-x-settings/src/components/settings/site/DesignModal.tsx index 4b1fcd2020..444de06a70 100644 --- a/apps/admin-x-settings/src/components/settings/site/DesignModal.tsx +++ b/apps/admin-x-settings/src/components/settings/site/DesignModal.tsx @@ -70,7 +70,7 @@ const Sidebar: React.FC<{ }}>
Change theme
-
Current theme: {activeTheme?.name}
+
Current theme: {activeTheme?.name} - v{activeTheme?.package.version}