summaryrefslogtreecommitdiffci
path: root/internal/glightbox/html_renderer.go
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2025-10-19 21:45:19 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2025-10-19 21:45:19 +0700
commit501c05f0c959000228024a3d65d9dd3c84921c6a (patch)
tree0703dfe342822f9761d28461506b59a958f9da5b /internal/glightbox/html_renderer.go
parent324c6df1ab878aa0c34f80c58f730e01aca1f4e9 (diff)
downloadweb-501c05f0c959000228024a3d65d9dd3c84921c6a.tar.gz
web-501c05f0c959000228024a3d65d9dd3c84921c6a.zip
format: rename main-dark & main-light colors to main-hard & main-soft
Diffstat (limited to 'internal/glightbox/html_renderer.go')
-rw-r--r--internal/glightbox/html_renderer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/glightbox/html_renderer.go b/internal/glightbox/html_renderer.go
index 8974ab4..deafb4d 100644
--- a/internal/glightbox/html_renderer.go
+++ b/internal/glightbox/html_renderer.go
@@ -134,12 +134,12 @@ func (r *GLightboxHTMLRenderer) renderGLightbox(w util.BufWriter, source []byte,
w.WriteString(fmt.Sprintf(`
<div class="justify-content-center display-block m-1">
- <hr class="border-t-3 border-dotted border-main-dark mt-1 mb-2 w-[80%%] ml-auto mr-auto">
+ <hr class="border-t-3 border-dotted border-main-hard mt-1 mb-2 w-[80%%] ml-auto mr-auto">
<div class="grid masonry-grid-%s mx-auto">
<div class="grid-sizer grid-sizer-%s"></div>
%s
</div>
- <hr class="border-t-3 border-dotted border-main-dark mt-1 mb-2 w-[80%%] ml-auto mr-auto">
+ <hr class="border-t-3 border-dotted border-main-hard mt-1 mb-2 w-[80%%] ml-auto mr-auto">
</div>`, galleryID, galleryID, strings.Join(elements, "\n")))
w.WriteString(fmt.Sprintf(`