This commit is contained in:
thororen1234 2025-01-24 12:46:31 -05:00
parent 0f4230ca05
commit e9a262d529

View file

@ -226,7 +226,7 @@ export default definePlugin({
// also set the colors
{
match: /.botText,children:(\i)}\)]/,
replace: "$&,'data-tag':$1.toLowerCase(),style:{'background-color':moreTags_bgColor,'color':moreTags_fgColor},'data-moreTags-darkFg':moreTags_fgColor && moreTags_fgColor.includes('0') ? moreTags_fgColor : undefined"
replace: "$&,'data-tag':$1.toLowerCase(),style:{'background-color':moreTags_bgColor,'color':moreTags_fgColor},'data-moreTags-darkFg':(moreTags_fgColor || '').includes('0')"
}
],
},