mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 11:00:39 +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),
|
'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>
|
||||||
|
|||||||
@@ -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';
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user