Sync multilingual versions (#1875)

* Sync multilingual docs and comments

* Refactor zensical extra.css

* Refine zensical styles

* Tune zensical landing buttons

* Refine landing section themes
This commit is contained in:
Yudong Jin
2026-03-31 18:31:56 +08:00
committed by GitHub
parent 323eb92c0f
commit e3c74cfa01
15 changed files with 366 additions and 442 deletions
+2 -2
View File
@@ -46,7 +46,7 @@
/* Set palette on initial load */
var palette = __md_get("__palette")
if (palette && typeof palette.color === "object") {
var theme = palette.color.scheme === "slate" ? "dark_dimmed" : "light"
var theme = palette.color.scheme === "slate" ? "noborder_dark" : "light"
giscus.setAttribute("data-theme", theme)
}
@@ -56,7 +56,7 @@
ref.addEventListener("change", function() {
var palette = __md_get("__palette")
if (palette && typeof palette.color === "object") {
var theme = palette.color.scheme === "slate" ? "dark_dimmed" : "light"
var theme = palette.color.scheme === "slate" ? "noborder_dark" : "light"
/* Instruct Giscus to change theme */
var frame = document.querySelector(".giscus-frame")