diff --git a/src/equicordplugins/customUserColors/index.tsx b/src/equicordplugins/customUserColors/index.tsx index b208ea85..db6c1986 100644 --- a/src/equicordplugins/customUserColors/index.tsx +++ b/src/equicordplugins/customUserColors/index.tsx @@ -103,12 +103,12 @@ export default definePlugin({ find: "!1,wrapContent", replacement: [ { - match: /(innerClassName:\i)(\}=\i)/, - replace: "$1,style$2" + match: /(\}=\i)/, + replace: ",style$1" }, { - match: /(nameAndDecorators,)/, - replace: "$1style," + match: /(?<=nameAndDecorators,)/, + replace: "style:style||{}," }, ], },