update tw-theme plugin

This commit is contained in:
Somrat 2025-02-16 17:12:21 +06:00
parent 64cd288a1d
commit 93cbe58238

View File

@ -14,7 +14,7 @@ const fontFamilies = Object.entries(themeConfig.fonts.font_family)
.filter(([key]) => !key.includes("type"))
.reduce((acc, [key, font]) => {
acc[key] =
`${findFont(font)}, ${themeConfig.fonts.font_family[`${key}-type`] || "sans-serif"}`;
`${findFont(font)}, ${themeConfig.fonts.font_family[`${key}_type`] || "sans-serif"}`;
return acc;
}, {});