diff --git a/src/data/common.tsx b/src/data/common.tsx index b421460..64fa63b 100644 --- a/src/data/common.tsx +++ b/src/data/common.tsx @@ -323,5 +323,5 @@ export function createCollapsibleModifierSections( * @param color The color to change the content to look like. Defaults to the current theme's accent 2 variable. */ export function colorText(textToColor: string, color = "var(--accent2)"): JSX.Element { - return ${textToColor}; + return {textToColor}; }