Skip to content

feat: add configurable gallery backdrop color - #36

Closed
LIlGG wants to merge 3 commits into
halo-sigs:mainfrom
LIlGG:feat/configure-gallery-backdrop
Closed

LIlGG wants to merge 3 commits into
halo-sigs:mainfrom
LIlGG:feat/configure-gallery-backdrop

Conversation

@LIlGG

@LIlGG LIlGG commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

已汇总至 #38,本 PR 关闭并由其替代。

What this PR does / why we need it:

使用 Halo 原生颜色控件设置背景及透明度,默认不透明黑色。服务端只接受六位或八位十六进制颜色,缺失及非法值回退黑色。

8 个颜色测试通过。内置浏览器保存 #80808099 并重新加载文章,实际样式为 rgba(128, 128, 128, 0.6),截图可见背景页面。

依赖 #32:本分支已同步其完整基线提交,可独立执行 CI。建议先合并 #32;在此之前 Files changed 会包含公共基线,审核功能改动可比较 feat/update-halo-build-baseline 与本分支。本分支已单独通过 ./gradlew clean build,并检查 JAR 静态资源。

Which issue(s) this PR fixes:

Fixes #24

Does this PR introduce a user-facing change?

支持自定义灯箱背景颜色和透明度。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

建议灯箱背景为半透明样式

1 participant