@@ -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
|
.gradle
|
||||||
build
|
build
|
||||||
|
|
||||||
dev/data
|
docker/data
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ services:
|
|||||||
image: registry.fit2cloud.com/halo/halo:2.20.10
|
image: registry.fit2cloud.com/halo/halo:2.20.10
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/root/.halo2
|
- ./data:/root/.halo2
|
||||||
- ../theme-terminal:/root/.halo2/themes/theme-terminal
|
- ../:/root/.halo2/themes/theme-terminal
|
||||||
ports:
|
ports:
|
||||||
- "8090:8090"
|
- "8090:8090"
|
||||||
environment:
|
environment:
|
||||||
第三方依赖
@@ -8,9 +8,11 @@
|
|||||||
border: 1px solid var(--red);
|
border: 1px solid var(--red);
|
||||||
color: var(--red);
|
color: var(--red);
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
|
||||||
*:first-child {
|
*:first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
*:last-child {
|
*:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -6,7 +6,7 @@ export const typewriterEffect = (selectors: string) => {
|
|||||||
|
|
||||||
const text = typedTextContainer.innerText
|
const text = typedTextContainer.innerText
|
||||||
|
|
||||||
// 清楚原有的文本
|
// 清除原有的文本
|
||||||
typedTextContainer.innerText = ''
|
typedTextContainer.innerText = ''
|
||||||
|
|
||||||
// 实现打字机效果
|
// 实现打字机效果
|
||||||
|
之前 宽度: | 高度: | 大小: 11 KiB 之后 宽度: | 高度: | 大小: 11 KiB |
@@ -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
|
|
||||||
@@ -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,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
@@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
在新议题中引用
屏蔽一个用户