exponentcms / exponent-cms

Content Management, Simple.
exponentcms.org
GNU General Public License v2.0
60 stars 24 forks source link

Bug: Should't preview another style of current theme w/ .less stylesheets #1249

Open exponentcms opened 4 years ago

exponentcms commented 4 years ago

While we can (locally) preview themes of frameworks different than the current site theme (since we save compiled templates by framework)...we can't always do this with different styles of the same theme, esp. due to .less stylesheet compilation.

For simpletheme, we have two styles and each gets a set of hard-coded style sheets, with the 'Fall' variation cascading over the other styles (last say). This works ok since it's simple stylesheet cascading. However, in themes which use variables to compile stylesheets from .less files (bootstraptheme, bootstrap3theme this would cause the site to recompile the stylesheets on every page load requesting a different style.

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

[bulk edit]

exponentcms commented 4 years ago

Lighthouse URL: https://exponentcms.lighthouseapp.com/projects/61783/tickets/1205