Skip to content

Commit fbc40b0

Browse files
authored
Merge pull request #5 from maximehuran/feature/fixes
2 parents df47357 + 95657dc commit fbc40b0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

templates/security/logo.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{% set logo = setting('monsieurbiz_better_admin.admin', 'logo')|default('') %}
22

3-
<div class="mb-4 text-center">
3+
<div class="mb-4 text-center">
44
{% if logo is not empty %}
55
{% if is_svg_image(logo) %}
66
<img src="{{ logo }}" class="monsieurbiz-better-admin-login-logo" id="logo" alt="Logo">
77
{% else %}
88
<img src="{{ logo|imagine_filter('admin_login_logo') }}" class="monsieurbiz-better-admin-login-logo" id="logo" alt="Logo">
99
{% endif %}
1010
{% else %}
11-
<img src="{{ asset('build/admin/images/sylius-logo.svg', 'admin') }}" alt="Sylius" class="navbar-brand-image" />
11+
<img src="{{ asset('build/admin/images/sylius-logo-dark-text.png', 'admin') }}" alt="Sylius" class="navbar-brand-image" />
1212
{% endif %}
1313
</div>

templates/styles.html.twig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ input:focus, textarea:focus, select:focus {
2828
background-color: {{ mainColor|monsieurbiz_better_admin_hex_to_rgba(0.14) }} !important;
2929
}
3030
31+
svg.text-primary, .nav svg {
32+
color: {{ mainColor }} !important;
33+
}
34+
3135
.btn-check:checked + .btn,
3236
:not(.btn-check) + .btn:active,
3337
.btn:first-child:active,

0 commit comments

Comments
 (0)