From 351d4873becefd38581c2b9d9ac362475c9bf5a1 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Mon, 25 Jul 2022 21:30:19 -0500 Subject: [PATCH] Fixed $ appearing in colorText --- src/data/common.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; }