Re: [Tiki-devel] Light and dark in menu module configuration
Jonny Bradley via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Gary
Yes, it looks like you're right. There is this in the mod-menu.tpl class attribute:
{if $prefs.theme_navbar_color_variant eq 'dark'}navbar-dark bg-dark {else}navbar-light bg-light{/if}
I suppose ideally it should be a module parameter and use the system pref if not set...
jonny
> On 22 Jun 2021, at 16:56, Gary Cunningham-Lee <gary_c-39LOpZwlz1/[email protected]> wrote:
>
> Hi,
>
> It seems that it's no longer necessary to input navbar-dark/-light bg-dark/-light as a parameter when assigning a menu module (in master/trunk). Is this correct? I assume this info is now provided by the light/dark navbar setting in the Look and Feel admin page. (I was checking theme navbar colors and started finding duplicate/contradicting navbar color classes in the page source, until I cleared the color parameter from the module configuration :-).)
>
> -- Gary
>
>
>
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel