From 98e046c16059164a63daca61a8ab11b9c3461805 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Fri, 21 Nov 2025 00:07:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=86=99=E4=BA=86=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=E5=85=A5=E5=8F=A3=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template/admin/index.php | 170 ++++++++++-------- .../template/admin/theme.css | 34 ++++ 2 files changed, 126 insertions(+), 78 deletions(-) create mode 100644 plugins/addon/theme_configurator/template/admin/theme.css diff --git a/plugins/addon/theme_configurator/template/admin/index.php b/plugins/addon/theme_configurator/template/admin/index.php index 3bb840f..2de3b5a 100644 --- a/plugins/addon/theme_configurator/template/admin/index.php +++ b/plugins/addon/theme_configurator/template/admin/index.php @@ -1,82 +1,96 @@ - - + - - - 主题配置 - - - - -
-

主题配置 JSON

-

此页面演示如何通过插件快速调整 BlackFruit-UI 的导航、页脚、SEO、轮播、侧边栏以及企业信息。直接编辑下方 JSON 提交即可。

- - -
- - - - - + })(); + diff --git a/plugins/addon/theme_configurator/template/admin/theme.css b/plugins/addon/theme_configurator/template/admin/theme.css new file mode 100644 index 0000000..dc19c43 --- /dev/null +++ b/plugins/addon/theme_configurator/template/admin/theme.css @@ -0,0 +1,34 @@ +.theme-card { + margin: 20px; +} + +.theme-card__header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 20px; +} + +.theme-card__header h3 { + margin: 0; + font-size: 20px; +} + +.theme-desc { + margin: 4px 0 0; + color: #6b7280; +} + +.theme-textarea textarea { + font-family: "JetBrains Mono", Consolas, monospace; +} + +.theme-tip { + margin-top: 12px; + color: #9ca3af; + font-size: 12px; +} + +.ml-10 { + margin-left: 10px; +}