forked from profectus/Profectus
Fixed $ appearing in colorText
This commit is contained in:
parent
783d5a8a6b
commit
351d4873be
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
* @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 {
|
export function colorText(textToColor: string, color = "var(--accent2)"): JSX.Element {
|
||||||
return <span style={{ color }}>${textToColor}</span>;
|
return <span style={{ color }}>{textToColor}</span>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue