Files
halo-theme-WarmIsland/package.json
T
nxxy335 a127d5a314 feat(v1.2.0): 主题配色系统 + Hero 文字效果/一言颜色;修复 /douban 500、友链悬浮光圈裁切、瞬间顶图间距;Halo 版本要求 2.26+
- 新增官方预设调色板 11 套(浅/深双套色板,玻璃/阴影自动跟随),强调色留空跟随配色
- Hero 一言独立颜色配置(浅/深);文字显示效果:阴影/光晕/半透明遮罩/渐变遮罩/容器;默认无效果,移除自带散光
- /douban 适配 plugin-douban 1.2.6 SQLite 扁平化数据结构(item.spec.* -> item.*)
- 友链卡片去掉 overflow:hidden,修复悬浮光圈被裁切;徽章简化为仅显示可达性
- 瞬间页顶图与首条卡片增加间距;theme-color 随配色/明暗联动
2026-09-27 15:16:46 +08:00

38 lines
880 B
JSON

{
"version": "1.2.0",
"type": "module",
"engines": {
"node": ">=22.12.0"
},
"scripts": {
"dev": "nodemon --config nodemon.json --exec 'astro build'",
"build": "astro build && node -e \"const fs=require('fs');const src='templates/logo.png';const dst='templates/assets/logo.png';if(fs.existsSync(src)){fs.copyFileSync(src,dst)}\"",
"astro": "astro",
"format": "prettier --write ."
},
"prettier": {
"plugins": [
"prettier-plugin-astro"
],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
},
"dependencies": {
"astro": "^6.1.4",
"lightgallery": "^2.9.0"
},
"devDependencies": {
"@halo-dev/theme-package-cli": "^1.1.1",
"nodemon": "^3.1.14",
"prettier": "3.8.1",
"prettier-plugin-astro": "0.14.1",
"sass": "^1.87.0"
}
}