mirror of
https://github.com/Codennnn/vue-color-avatar.git
synced 2024-12-22 12:02:38 +00:00
Set usually border color
This commit is contained in:
parent
06ad45f138
commit
9197e862c5
@ -2,7 +2,7 @@
|
||||
<div
|
||||
class="avatar-border"
|
||||
:style="{ borderColor: props.color, borderRadius: props.radius }"
|
||||
></div>
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
@ -77,6 +77,7 @@ export function getRandomAvatarOption(
|
||||
}),
|
||||
borderColor: getRandomValue(SETTINGS.borderColor, {
|
||||
avoid: [useOption.background?.color],
|
||||
usually: ['transparent'],
|
||||
}),
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user