matteocontrini Oooh 🤦♂️ I see. You should be able to replace it by using the Frontend extender, much like how it does it there. Something like this, but you can move the callable function into an invokable class, which is exactly what Flarum\Frontend\Content\Meta
is.
(new Frontend('forum'))
->css(...)
->js(...)
->content(function (Document $document) {
$document->meta['theme-color'] = '#fff';
}