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; +}