Comparing Themes - Error Fruit.Less not found in main.Less

Permalink
Hello all,

This is a question about workflow.
Say I have filled my first page with content and now I want to show my client how the page will look like using different themes.

So far so good - but as soon as I have activated a design template on one theme that is not available in another theme I will get the above error on trying to switch themes.
And what if I have even made edits to the template?

What I would have to do, I guess - to change the theme is go back to the default template
-- question here - will my edits to the current template be saved or not?
then change themes, and then chose the template I had on that theme ...
pretty nuisance !
What if my edits to the template are gone then?

So what is your workflow? Do you clone the pages to test themes? Have a page for each theme?
Or is there some way to automatically reset the chosen template if I change the theme? Why doesn't it happen that way anyway?

Because if I use a layout template for instance, like Side - main - side and I change the theme to a theme that has not got a side - main - side php template then it uses the default template and I don't have to worry about it.

Why should it be like that

rritz
 
ob7dev replied on at Permalink Reply
ob7dev
Good thing that theme doesn't have a brain.less file, or even worse, a heart.less file! Ok just kidding...

Are what you saying in your question is that when you switch the theme applied to every page of the site, you loose all custom theme design options applied from the settings gear??? I'm not 100% sure what you're saying but I will try to help!
rritz replied on at Permalink Reply
rritz
Hi ob7dev, thxs for wanting to help!

No this is not what I am saying, this is part of what I was asking.

To break it down:
1.) How can I switch between themes on a page without running into errors? At the moment I have an "File `build/fonts/hisui.less` not found. in main.less" Error on one of my pages

Or to say it in other words:
why - if I switch themes, does the page still look for a Less file that is specific to the theme that was activated on the page before? Why does the page not get reset and start on a "default" Less file every time I switch themes?

Or to give details: I am using Stucco theme, Hisui preset
Now I switch the theme to Fruitful and get the above error. The page for is looking for Hisui preset. But I have a new theme activated now. The logical thing for the page would be to "forget" about the Hisui preset (unless the Hisui preset should actually be available in the new theme)
How I can I make my pages "forget" presets?

I compared it to page layouts - if I switch themes, and my new theme doesn't have a specific layout that I used on the page, then it uses the default layout. - Why does this not work with the Less files in the same way?

Seems totally absurd to me

2. The other question is, if I make edits to a theme preset.
Ok Hisui preset is fine for me, but I like my greens a shade brighter. I make edits to Hisui preset. Will these edits be saved? If I switch the theme (and I have to go and select a different preset first, or else I will simply get an error -- see question1) and at a later date go back to Stucco and Hisui, will my edits still be there or not?
Steevb replied on at Permalink Reply
Steevb
Tried to replicate errors, cannot. There could be something else causing problems.

Themes tested:
Elemental (default)
Blankcon (my theme)
Fruitful
Neat
Stucco
Gondwana replied on at Permalink Reply
Gondwana
This could be a caching issue.