feat(theme): 主题结构调整 增加actions自动构建
Theme CD / cd (release) Failing after 1s

这个提交包含在:
rohow
2026-01-20 17:06:13 +08:00
未验证
父节点 4d7d4cc4e3
当前提交 dc0e443f01
修改 66 个文件,包含 52 行新增60 行删除
+16
查看文件
@@ -0,0 +1,16 @@
name: Theme CD
on:
release:
types:
- published
jobs:
cd:
uses: halo-sigs/reusable-workflows/.github/workflows/theme-cd.yaml@v3
permissions:
contents: write
with:
skip-appstore-release: true
node-version: 22
pnpm-version: 10
+1 -1
查看文件
@@ -27,4 +27,4 @@ release
.gradle
build
dev/data
docker/data
@@ -3,7 +3,7 @@ services:
image: registry.fit2cloud.com/halo/halo:2.20.10
volumes:
- ./data:/root/.halo2
- ../theme-terminal:/root/.halo2/themes/theme-terminal
- ../:/root/.halo2/themes/theme-terminal
ports:
- "8090:8090"
environment:
查看文件
查看文件
@@ -8,9 +8,11 @@
border: 1px solid var(--red);
color: var(--red);
padding: 20px;
*:first-child {
margin-top: 0;
}
*:last-child {
margin-bottom: 0;
}
+15
查看文件
@@ -0,0 +1,15 @@
/* 光标样式 */
.typed-text::after {
content: '|';
display: inline-block;
opacity: 0;
animation: blink 0.7s infinite alternate; /* 闪烁动画 */
vertical-align: text-bottom;
}
/* 闪烁动画 */
@keyframes blink {
to {
opacity: 1;
}
}
+1 -1
查看文件
@@ -6,7 +6,7 @@ export const typewriterEffect = (selectors: string) => {
const text = typedTextContainer.innerText
// 清原有的文本
// 清原有的文本
typedTextContainer.innerText = ''
// 实现打字机效果

之前

宽度:  |  高度:  |  大小: 11 KiB

之后

宽度:  |  高度:  |  大小: 11 KiB

-12
查看文件
@@ -1,12 +0,0 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
-14
查看文件
@@ -1,14 +0,0 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "prettier"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
],
env: {
node: true,
},
};
-15
查看文件
@@ -1,15 +0,0 @@
/* 光标样式 */
.typed-text::after {
content: '|';
display: inline-block;
opacity: 0;
animation: blink 0.7s infinite alternate; /* 闪烁动画 */
vertical-align: text-bottom;
}
/* 闪烁动画 */
@keyframes blink {
to {
opacity: 1;
}
}