mirror of
https://github.com/Codennnn/vue-color-avatar.git
synced 2025-02-23 14:59:07 +00:00
leoku
This commit is contained in:
parent
f9243a41bc
commit
b6fc6eef52
@ -5,6 +5,11 @@
|
|||||||
<link rel="icon" href="/favicon.svg" />
|
<link rel="icon" href="/favicon.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta name="description" content="A pure front-end avatar generator." />
|
<meta name="description" content="A pure front-end avatar generator." />
|
||||||
|
<meta
|
||||||
|
name="keywords"
|
||||||
|
content="vector avatar,illustrations,avatar generator,avatar creator,fun avatar,随机头像,卡通头像在线免费生成工具"
|
||||||
|
/>
|
||||||
|
<meta content="dark" name="color-scheme" />
|
||||||
|
|
||||||
<meta property="og:title" content="Vue Color Avatar" />
|
<meta property="og:title" content="Vue Color Avatar" />
|
||||||
<meta
|
<meta
|
||||||
|
@ -11,6 +11,10 @@
|
|||||||
local(Arial), local(sans-serif);
|
local(Arial), local(sans-serif);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -73,7 +73,8 @@ export function getRandomAvatarOption(
|
|||||||
color: getRandomValue(SETTINGS.backgroundColor, {
|
color: getRandomValue(SETTINGS.backgroundColor, {
|
||||||
avoid: [
|
avoid: [
|
||||||
useOption.background?.color,
|
useOption.background?.color,
|
||||||
hairShape === TopsShape.Punk && hairColor, // Handle special cases and prevent color conflicts.
|
(hairShape === TopsShape.Punk || hairShape === TopsShape.Fonze) &&
|
||||||
|
hairColor, // Handle special cases and prevent color conflicts.
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user