Page 1 of 1

Theme in themes.local stopped working

Posted: 13 Feb 2017, 00:25
by Latimer
I updated my instance of tt-rss to 454292b2, and my custom theme stopped working.

The theme file is located in /themes.local. I updated it to account for the version change, and to import the default theme from default.php instead of default.css, but it doesn't seem to be able to actually import the default theme. Later I moved the updated theme file to /themes, and it started working.

What would be the best way to fix my custom theme while still using /themes.local as a storage directory?

Re: Theme in themes.local stopped working

Posted: 13 Feb 2017, 08:05
by fox
does it try to import default.css which is now default.php?

e: oh right, hmm

well i made a sample theme containing the following. i could select it in preferences and it applied fine.

Code: Select all

/* supports-version:17.1 */

@import "../themes/default.php";

body { background : black ! important; }

Re: Theme in themes.local stopped working

Posted: 14 Feb 2017, 06:29
by Latimer

Code: Select all

@import "../themes/default.php";

this did the trick, thanks