模板支持自定义参数

This commit is contained in:
puke
2025-11-05 23:01:46 +08:00
parent 15899afb6f
commit 2a07aa9567
8 changed files with 334 additions and 18 deletions

View File

@@ -12,7 +12,7 @@
margin: 0;
padding: 0;
width: 1080px;
background: #764ba2;
background: {{accent_color:color=#764ba2}};
font-family: 'PingFang SC', 'Source Han Sans', 'Microsoft YaHei', sans-serif;
position: relative;
overflow: hidden;
@@ -174,7 +174,7 @@
.video-title-dot:nth-child(3) { background: #FFE66D; }
.video-title {
font-size: 72px;
font-size: {{title_font_size:number=72}}px;
font-weight: bold;
color: white;
line-height: 1.3;
@@ -558,7 +558,7 @@
<div class="author-desc">Open Source Omnimodal AI Creative Agent</div>
</div>
<div class="logo-wrapper">
<div class="logo">Pixelle-Video</div>
<div class="logo">{{custom_brand=Pixelle-Video}}</div>
<div class="logo-dots">
<div class="logo-dot"></div>
<div class="logo-dot"></div>