Page 1 of 1

Copy existing theme ?

Posted: Sun Nov 09, 2025 10:29 am
by Joe90
I like the Sky theme, but want to make some changes to the colour scheme. I can see where to do this and it works.

However I wish to preserve the Sky theme in its natural state as well.

Can I simply make a copy of the Sky theme folder and files, renaming to something like "DarkSky", then use this theme instead ?

(sorry, I should have put this in Themes... :( )

Re: Copy existing theme ?

Posted: Mon Nov 10, 2025 11:07 pm
by NorfolkGreg
Joe90 wrote: Sun Nov 09, 2025 10:29 amCan I simply make a copy of the Sky theme folder and files, renaming to something like "DarkSky", then use this theme instead ?
Yes!

Re: Copy existing theme ?

Posted: Mon Nov 10, 2025 11:59 pm
by Joe90
Thank you, will test this out. Worked perfectly.

For completeness, one has to change the theme name in the database.js file. I name my copied theme darksky (no spaces on purpose).

Code: Select all

{
    "config": {
        "siteTitle": "MySite",
        "siteLang": "en",
        "adminLang": "en",
        "theme": "darksky",
        "defaultPage": "home",

Re: Copy existing theme ?

Posted: Thu Nov 13, 2025 12:33 am
by NorfolkGreg
Apologies! I should have said more.

I was assuming that having copied the theme you'd want the original to stay available to activate.

To do that you'd need to edit the json file in your copy and use the facility at the bottom of the themes page to tell your site where to find it.