Files
komari-theme-purcarte/komari-theme.json

159 lines
6.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "Komari Theme PurCart",
"short": "PurCarte",
"description": "A frosted glass theme for Komari",
"version": "1.0.7",
"author": "Montia & Gemini",
"url": "https://github.com/Montia37/Komari-theme-purcarte",
"preview": "preview.png",
"configuration": {
"type": "managed",
"data": [
{
"name": "样式调整",
"type": "title"
},
{
"key": "backgroundImage",
"name": "背景图片链接",
"type": "string",
"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": "标签默认颜色列表",
"type": "string",
"default": "ruby,gray,gold,bronze,brown,yellow,amber,orange,tomato,red,crimson,pink,plum,purple,violet,iris,indigo,blue,cyan,teal,jade,green,grass,lime,mint,sky",
"help": "标签默认颜色列表用于修改默认解析颜色顺序以及使用的颜色池逗号分隔可用的颜色列表请参考https://www.radix-ui.com/themes/docs/theme/color改完没有生效则说明填写有误"
},
{
"name": "标题栏设置",
"type": "title"
},
{
"key": "enableLogo",
"name": "启用标题栏左侧 Logo",
"type": "switch",
"default": false,
"help": "启用后默认在标题栏左侧显示 Logo"
},
{
"key": "logoUrl",
"name": "Logo 图片链接",
"type": "string",
"required": false,
"default": "/assets/logo.png",
"help": "Logo 图片链接eg: https://test.com/logo.png"
},
{
"key": "enableTitle",
"name": "启用标题栏标题",
"type": "switch",
"default": true,
"help": "启用后默认在顶栏左侧显示标题"
},
{
"key": "titleText",
"name": "标题栏标题文本",
"type": "string",
"default": "",
"help": "标题栏左侧显示的文本(留空则使用站点标题)"
},
{
"key": "enableSearchButton",
"name": "启用搜索按钮",
"type": "switch",
"default": true,
"help": "启用后默认在标题栏右侧显示搜索按钮"
},
{
"key": "selectedDefaultView",
"name": "默认展示视图",
"type": "select",
"options": "grid,table",
"default": "grid",
"help": "设置默认展示视图为网格或表格(优先使用 localStorage"
},
{
"key": "selectedDefaultAppearance",
"name": "默认外观",
"type": "select",
"options": "system,light,dark",
"default": "system",
"help": "设置默认外观为浅色、深色或系统主题(优先使用 localStorage"
},
{
"key": "enableAdminButton",
"name": "启用管理按钮",
"type": "switch",
"default": true,
"help": "启用后默认在标题栏右侧显示管理按钮"
},
{
"name": "内容设置",
"type": "title"
},
{
"key": "enableStatsBar",
"name": "启用统计栏",
"type": "switch",
"default": true,
"help": "启用后默认显示统计栏"
},
{
"key": "enableGroupedBar",
"name": "启用分组栏",
"type": "switch",
"default": true,
"help": "启用后默认显示分组栏"
},
{
"key": "enableSwap",
"name": "启用 SWAP 显示",
"type": "switch",
"default": true,
"help": "启用后默认显示 SWAP 信息"
},
{
"name": "Instance 设置",
"type": "title"
},
{
"key": "enableInstanceDetail",
"name": "启用 Instance 详情信息",
"type": "switch",
"default": true,
"help": "启用后默认显示 Instance 详情"
},
{
"key": "enablePingChart",
"name": "启用延迟图表",
"type": "switch",
"default": true,
"help": "启用后默认显示延迟图表"
},
{
"key": "pingChatrtMaxPoints",
"name": "延迟图表最大渲染点数",
"type": "number",
"default": 0,
"help": "设置延迟图表的最大渲染点数来优化图表渲染0 表示不限制,推荐值为 2000 或更小的值"
}
]
}
}