diff --git a/src/plugins/themeAttributes/index.ts b/src/plugins/themeAttributes/index.ts index b80844546..2a613967c 100644 --- a/src/plugins/themeAttributes/index.ts +++ b/src/plugins/themeAttributes/index.ts @@ -55,6 +55,8 @@ export default definePlugin({ ], getAvatarStyles(src: string) { + if (src.startsWith("data:")) return {}; + return Object.fromEntries( [128, 256, 512, 1024, 2048, 4096].map(size => [ `--avatar-url-${size}`,