mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
default color for avatar was changed
This commit is contained in:
@@ -10,12 +10,16 @@ return [
|
||||
'is_admin_vuefilemanager_bar' => env('IS_ADMIN_VUEFILEMANAGER_BAR', true),
|
||||
|
||||
'colors' => [
|
||||
'#9ad2bf',
|
||||
'#9ad2cd',
|
||||
'#d29a9a',
|
||||
'#d2ce9a',
|
||||
'#9aadd2',
|
||||
'#c59ad2',
|
||||
'#1BE7FF',
|
||||
'#6eeb83',
|
||||
'#e4ff1a',
|
||||
'#E8AA14',
|
||||
'#FF5714',
|
||||
'#541388',
|
||||
'#D90368',
|
||||
'#F1E9DA',
|
||||
'#2E294E',
|
||||
'#FFD400',
|
||||
],
|
||||
|
||||
'avatar_sizes' => [
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
background: member.data.attributes.color ? member.data.attributes.color : '',
|
||||
}"
|
||||
>
|
||||
<span :class="fontSize" class="font-extrabold uppercase dark:text-gray-800 text-gray-900">
|
||||
<span :class="fontSize" class="font-extrabold uppercase text-white">
|
||||
{{ letter }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -102,7 +102,7 @@ class UserSetting extends Model
|
||||
|
||||
static::creating(function ($user) {
|
||||
$user->id = Str::uuid();
|
||||
$user->color = config('vuefilemanager.colors')[rand(0, 5)];
|
||||
$user->color = config('vuefilemanager.colors')[rand(0, 9)];
|
||||
$user->emoji_type = 'twemoji';
|
||||
$user->theme_mode = 'system';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user