|
<?php if ($menuLocation === 'top'): ?> |
|
bg-gray-800 |
|
<?php else: ?> |
|
bg-gray-800 md:bg-white md:shadow |
|
<?php endif; ?> |
1 - Why switch to a white background?
I find the bar not contrasting enough in the overall interface.
I would prefer even a light color:

2 - For me, the shadow is not visible.
For it to be visible, a relative position and z-index must be added to the .layout-topmenu element.
Also I would have chosen a wider shadow (shadow-md).
Actual - invisible shadow:

With shadow visible :

With shadow-md visible :

I would be pleased to hear your thoughts on this.
wn-tailwindui-plugin/skins/tailwindui/layouts/_menu-top.php
Lines 13 to 17 in cceeac9
1 - Why switch to a white background?
I find the bar not contrasting enough in the overall interface.
I would prefer even a light color:

2 - For me, the shadow is not visible.
For it to be visible, a relative position and z-index must be added to the
.layout-topmenuelement.Also I would have chosen a wider shadow (
shadow-md).Actual - invisible shadow:

With

shadowvisible :With

shadow-mdvisible :I would be pleased to hear your thoughts on this.