reeseovine / searx-material

Material design theme for Searx
27 stars 2 forks source link

Stylus failed to parse usercss #4

Closed Le-Kat closed 1 year ago

Le-Kat commented 1 year ago

I'm following the instructions given. But on step 3, when I click either the material light or dark theme buttons, I get a banner error that reads:

Stylus failed to parse usercss:

2585:51 Expected "{" but found "".

I'm assuming this is some issue with stylus, since when I open the file with my IDE it doesn't show any errors whatsoever. I'm using firefox 111.0.1, and stylus version 1.5.30

Le-Kat commented 1 year ago

I was able to solve this on my end by going to the stylus style manager, creating a new Usercss, and copying all the sections manually. I also changed @-moz-document domain("") to be @-moz-document domain("searx.be") (the searx instance I use), not sure if that might be what fixed the issue.