fix(tagcloud): independent tags page and card_tags, drop colormode, use inline css, keep tag-color classes

This commit is contained in:
Void4m0n
2026-01-12 13:18:09 +01:00
Unverified
parent 5878e3b7ee
commit bdc97cc22b
5 changed files with 8 additions and 22 deletions
-13
View File
@@ -89,16 +89,3 @@
.page-title
& + .tag-cloud-list
text-align: left
tag_colors = hexo-config('aside.card_tags.custom_colors')
.tag-cloud-list .tag-cloud-item
background-color var(--tag-cloud-color)
.card-tag-cloud .tag-cloud-item
color var(--tag-cloud-color)
if tag_colors && length(tag_colors) > 0
for c, i in tag_colors
.tag-cloud-item.tag-color-{i}
--tag-cloud-color convert(c)