Skip to content

Custom theme is not being used. #3593

Answered by sfinktah
sfinktah asked this question in Q&A
Discussion options

You must be logged in to vote

I ended up with a rather hacky solution, adding a line to app/Providers/NovaServiceProvider.php

public function boot()
{
    parent::boot();
    Nova::style('farmhand_one', asset('example/farmhand_one/theme.css'));
}

This is obviously not a very correct solution, as it bypasses the entire process described in https://nova.laravel.com/docs/3.0/customization/themes.html, doesn't get processed by mix.js and is general not very laravelesque.

Not doubt, it also defeats any attempt properly use tailwind.

Unfortunately the nova theme documentation failed to convey any helpful information on how to actually activate or integrate themes -- or I simply cannot read.

Update: So it turns out, that it…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sfinktah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #3592 on October 17, 2021 12:48.