refactor(tagcloud): switch custom_colors from inline styles to CSS classes

This commit is contained in:
Void4m0n committed 2026-01-12 11:42:43 +01:00
1 parent d15620198c
commit 5878e3b7ee
3 files changed
+26 -9

No files matched your search

+2 -1
View File
@@ -1,2 +1,3 @@
- let { colormode, custom_colors } = theme.aside.card_tags
.tag-cloud-list.text-center
!=cloudTags({source: site.tags, orderby: page.orderby || 'random', order: page.order || 1, minfontsize: 1.2, maxfontsize: 1.5, limit: 0, unit: 'em', colormode: page.colormode, custom_colors: page.custom_colors})
!=cloudTags({source: site.tags, orderby: page.orderby || 'random', order: page.order || 1, minfontsize: 1.2, maxfontsize: 1.5, limit: 0, unit: 'em', colormode: colormode, custom_colors: custom_colors})