Add CSS class to <html>
I implemented different themes using the
tw-colors
tailwind package. Now I have to render the configured class name from .env into the <html> tag, e.g. <html class="classic-theme">
.
But I could not find any way to achieve this so far. I created resources/views/layouts/app.blade.php
but this file seems to be ignored for the admin panel.
Edit: Or alternatively I can add
4 Replies
I can't think of a single way to do this that we'd reccomend
i can only think of downsides
Isn't it possible to override the dashboard blade ?
there is but we dont reccomend it
you'd open yourself up to breaking changes
I think this would be ok for now, unitl I find a different solution