diff --git a/komari-theme.json b/komari-theme.json index 41d5d3a..bceb650 100644 --- a/komari-theme.json +++ b/komari-theme.json @@ -2,7 +2,7 @@ "name": "Komari Theme PurCart", "short": "PurCarte", "description": "A frosted glass theme for Komari", - "version": "1.0.5", + "version": "1.0.7", "author": "Montia & Gemini", "url": "https://github.com/Montia37/Komari-theme-purcarte", "preview": "preview.png", @@ -20,6 +20,20 @@ "default": "/assets/Moonlit-Scenery.webp", "help": "目前仅支持单张背景图片(eg: https://test.com/1.png)" }, + { + "key": "blurValue", + "name": "磨砂玻璃模糊值", + "type": "number", + "default": 10, + "help": "调整模糊值大小,数值越大模糊效果越明显,建议值为 5-20,为 0 则表示不启用模糊效果" + }, + { + "key": "blurBackgroundColor", + "name": "磨砂玻璃背景色", + "type": "string", + "default": "rgba(255, 255, 255, 0.5)|rgba(0, 0, 0, 0.5)", + "help": "调整模糊背景色,推荐 rgba 颜色值,使用“|”分隔亮色模式和暗色模式的颜色值(eg: rgba(255, 255, 255, 0.5)|rgba(0, 0, 0, 0.5))" + }, { "key": "tagDefaultColorList", "name": "标签默认颜色列表", @@ -108,6 +122,13 @@ "default": true, "help": "启用后默认显示分组栏" }, + { + "key": "enableSwap", + "name": "启用 SWAP 显示", + "type": "switch", + "default": true, + "help": "启用后默认显示 SWAP 信息" + }, { "name": "Instance 设置", "type": "title" @@ -135,4 +156,4 @@ } ] } -} +} \ No newline at end of file diff --git a/src/components/sections/Footer.tsx b/src/components/sections/Footer.tsx index 5f791ab..41a2fd2 100644 --- a/src/components/sections/Footer.tsx +++ b/src/components/sections/Footer.tsx @@ -2,8 +2,8 @@ import React from "react"; const Footer: React.FC = () => { return ( -