Fixed $ appearing in colorText

This commit is contained in:
thepaperpilot 2022-07-25 21:30:19 -05:00
parent 783d5a8a6b
commit 351d4873be

View file

@ -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 <span style={{ color }}>${textToColor}</span>;
return <span style={{ color }}>{textToColor}</span>;
}