hibbitts-design / grav-theme-quark-open-publishing

A customized version of the Quark theme with Git Sync and 'chromeless' mode support.
http://demo.hibbittsdesign.org/grav-open-publishing-quark/
MIT License
21 stars 13 forks source link

how to inherit from this 'inherited' theme? #42

Closed vecjh closed 3 years ago

vecjh commented 3 years ago

Hi, I'd like to make use of the grav inheriance feature. But inheriting this theme doesn't seem to work. Also, "class Mytheme extends quark-open-publishing" doesn't seem to work as class name doesn't allow hyphens.

paulhibbitts commented 3 years ago

Hi @lustyffh , this is all setup in the Open Publishing Skeleton with a pre-built 'mytheme' , available at https://getgrav.org/downloads/skeletons

Please let me know if you can get things going from there etc.

paulhibbitts commented 3 years ago

Closing this, but please feel free to re-open.

vecjh commented 3 years ago

@paulhibbitts Thanks a lot! As to the class Mytheme extends - the key was to type in theme name omitting hyphens - something not mentioned explicitly in Theme Inheritance documentation. Also, one shouldn't forget to copy all theme configurations in user/config/themes to the new theme file.