default color for avatar was changed

This commit is contained in:
Čarodej
2022-04-07 15:44:41 +02:00
parent 85d4f535eb
commit 6ed2efcc4e
3 changed files with 12 additions and 8 deletions
+10 -6
View File
@@ -10,12 +10,16 @@ return [
'is_admin_vuefilemanager_bar' => env('IS_ADMIN_VUEFILEMANAGER_BAR', true), 'is_admin_vuefilemanager_bar' => env('IS_ADMIN_VUEFILEMANAGER_BAR', true),
'colors' => [ 'colors' => [
'#9ad2bf', '#1BE7FF',
'#9ad2cd', '#6eeb83',
'#d29a9a', '#e4ff1a',
'#d2ce9a', '#E8AA14',
'#9aadd2', '#FF5714',
'#c59ad2', '#541388',
'#D90368',
'#F1E9DA',
'#2E294E',
'#FFD400',
], ],
'avatar_sizes' => [ 'avatar_sizes' => [
@@ -28,7 +28,7 @@
background: member.data.attributes.color ? member.data.attributes.color : '', 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 }} {{ letter }}
</span> </span>
</div> </div>
+1 -1
View File
@@ -102,7 +102,7 @@ class UserSetting extends Model
static::creating(function ($user) { static::creating(function ($user) {
$user->id = Str::uuid(); $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->emoji_type = 'twemoji';
$user->theme_mode = 'system'; $user->theme_mode = 'system';
}); });