Skip to content

Conversation

@juanjcardona13
Copy link
Contributor

Description

  • What: Set the default $avatar-background to rgb(var(--v-theme-surface)).
  • Why: Aligns VAvatar with Vuetify’s RGB theme variable format for consistency with other components and base styles.
  • Impact: No breaking changes; standardizes the variable format.
  • Files: packages/vuetify/src/components/VAvatar/_variables.scss

Markup:


<template>
  <VContainer class="bg-success">
    <VAvatar variant="elevated">JJ</VAvatar>
    <VAvatar variant="flat">JJ</VAvatar>
  </VContainer>
</template>

@J-Sek J-Sek merged commit 4c5a4d8 into vuetifyjs:master Nov 10, 2025
10 checks passed
Rhilip added a commit to pt-plugins/PT-depiler that referenced this pull request Nov 15, 2025
vuetify 3.10.10 update background variable for VAvatar, it makes our ptdIcon in contentScript has white color for transparent png image.
so, we should overwrite it by color attr.

refs: vuetifyjs/vuetify#22310
pgalhardo pushed a commit to pgalhardo/vuetify that referenced this pull request Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants