diff --git a/src/bundle/Controller/DefaultProfileImageController.php b/src/bundle/Controller/DefaultProfileImageController.php index 4a2835b1..30c41d63 100644 --- a/src/bundle/Controller/DefaultProfileImageController.php +++ b/src/bundle/Controller/DefaultProfileImageController.php @@ -30,7 +30,6 @@ public function initialsAction(Request $request): Response return $this->render('@IbexaUser/profile_image/initials.svg.twig', [ 'initials' => $initials, 'text_color' => $colors['text'], - 'border_color' => $colors['text'], 'background_color' => $colors['background'], ], $response); } diff --git a/src/bundle/Resources/config/ibexa_core_default_settings.yaml b/src/bundle/Resources/config/ibexa_core_default_settings.yaml index 6abf7649..9b511823 100644 --- a/src/bundle/Resources/config/ibexa_core_default_settings.yaml +++ b/src/bundle/Resources/config/ibexa_core_default_settings.yaml @@ -71,11 +71,4 @@ parameters: ibexa.site_access.config.default.pagination_user.user_settings_limit: 10 ibexa.site_access.config.default.user.default_profile_image.colors: - - { background: '#FFF7EC', text: '#FCAE42' } - - { background: '#FDF3F0', text: '#F18A6B' } - - { background: '#FFECE7', text: '#FF4713' } - - { background: '#F6E7EF', text: '#AE1164' } - - { background: '#E5EDEE', text: '#004D5D' } - - { background: '#ECF8FB', text: '#47BEDB' } - - { background: '#E5F5E9', text: '#00A42B' } - - { background: '#ECF4FF', text: '#4191FF' } + - { background: '#4E24A5', text: '#FFFFFF' } diff --git a/src/bundle/Resources/views/profile_image/initials.svg.twig b/src/bundle/Resources/views/profile_image/initials.svg.twig index 33073856..4b629889 100644 --- a/src/bundle/Resources/views/profile_image/initials.svg.twig +++ b/src/bundle/Resources/views/profile_image/initials.svg.twig @@ -1,6 +1,15 @@ - - + + {{ initials }}