diff --git a/src/plugins/themeAttributes/index.ts b/src/plugins/themeAttributes/index.ts index b8084454..2a613967 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}`,