Thanks Mikko Ohtamaa and David Glick for the tip and the information.
I subclassed plonetheme.bootstrap layer instead of the default one and it worked.
You'll also need to add that layer into Diazo theme's browserlayer through manifest.cfg
, eg:
[theme:browserlayer]
layer1 = lanlankernel.theme2013.browser.interfaces.IThemeSpecific
There must be a way, may be a patch in plone.app.themeplugin
, to make sure the layer that's auto-generated by the browserlayer plugin is on top of the lookup chain. But the current solution works for me so I marked the question as answered.