Hi there,
After creating a new theme [based on what's currently available] I'm having trouble getting the new theme to show up in the list of themes I can choose. How can I get the new theme recognised? [Wasn't able to find anything in the documentation...].
Cheers!
You have to put it in the theme folder and have the same architecture than other themes.
Did you forget to add a metadata.json file?
@aledeg Thanks for your response.
That's exactly what I did though. And I did adjust metadata.json as well. That's why I don't understand why it doesn't show up in the list!
Could you share it in a gist for instance? I'll have a look at it later today.
Sure... but share what exactly? What I have is pretty much the original theme from here:
https://github.com/FreshRSS/FreshRSS/tree/master/p/themes/Origine
The only difference is what's in metadata.json, mine looks like this:
{
"name": "Blue",
"author": "Aasemoon",
"description": "A blue theme for FreshRSS",
"version": 0.1,
"files": ["_template.css", "origine.css"]
}
I didn't really get to changing anything yet, was just trying to tweak a couple of colours for starters.
I've tried to create a template and it's working correctly.
Here are the steps I've followed:
Did you follow those steps?
@aledeg Thanks for your help. The problem seems to have just solved itself, though to be honest I'm not sure exactly how! I originally did all of what you've suggested here. And I was still seeing 7 themes. Now I just went ahead and repeated all of this again, the only thing I did different is that I created a new CSS file as well for the new theme. Now it shows up. Odd! =)
It might be a permission issue, I think server was not able to access your files and/or repository so was not able to show your theme… but I may be wrong as well :).
@Aasemoon could we close that issue?
@aledeg Yes, the issue is resolved. Thanks.
@Aasemoon If you end up with a new theme, please share :-)
@Alkarex Sure, if I end up with anything more than a few tweaked colours I'll certainly share it. =)
i'm interested too