记得(/important-dates) - 修复 500:th:classappend 里 BEM 类名 wi-id__car 的两个 __ 触发 Thymeleaf __...__ 预处理,提取片段含引号导致 Could not parse as expression; 皮肤修饰类改为 wi-id-skin-cool/cute/neutral(表达式内不再出现 __) - 牵挂的人卡片:倒计时改到右上角与日期卡片一致,生日一行显示不再折行; 网格改为桌面三列 / 平板两列 / 手机一列 - 页头与订阅/记得统一(标题-副标题-强调线间距) 友链(/links) - 再次消除两处 __ 预处理隐患:回执修饰类改 wi-links-check-ok/error, 验证码 onerror 由 th:onerror="|...|" 改为普通静态属性(不参与表达式解析) - 新增反链/可达性检测徽章:读取 link.status.verification,头像右下角 绿点=访问正常(反链有效),红点=访问异常或未检测到反链,未检测不显示 留言板 - 移除 -124px 负 margin 补偿(头部卡片顶部被导航盖住的根因), 装饰引号 top 改为正值不再被 overflow 裁掉 瞬间 - 修复九宫格失效根因:lightgallery 处理时把每张图包进 <a>,导致 :has(:only-child) 恒真、全部图片退化为单列大图;改为直接把 img 作为图库项(data-src),瀑布流样式同样补上 4 图 2x2 规则 全局 - 暗色模式配色调为偏中性暖灰(bg #1e1c1a / raised #292623),降低黄褐闷感, 同步 theme-color 与依赖旧色值的变量 - 正文排版:p 字号 1.05~1.15rem、行高 1.85,H1~H6 逐级放大、层级更清晰 新增「文章组件」插件适配 - 新增 src/styles/_widgets.scss,将插件 --xhhao-com-* 变量映射到主题变量, 明暗模式自动跟随
38 lines
881 B
JSON
38 lines
881 B
JSON
{
|
|
"version": "1.1.12",
|
|
"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"
|
|
}
|
|
}
|