grav-theme-bones icon indicating copy to clipboard operation
grav-theme-bones copied to clipboard

Theme modification

Open aleskl opened this issue 9 years ago • 8 comments

Hi, tried to modify theme using theme inheritance (as described in https://getgrav.org/blog/theme-development-with-inheritance), but when I create a child theme and activate it, I get only unstyled content, so I guess I'm missing some extra file to properly import CSS.

Cheers, Ales

aleskl avatar Nov 26 '16 11:11 aleskl

I second that. I just created a whole site for a customer editing a copy of the theme. But inheriting is way cleaner and future proof.

ghost avatar Jan 22 '17 20:01 ghost

Third time's the charm: inheritance does not work with Bones, a template that otherwise would be a great base to build on.

This problem was reported here

ganar avatar Mar 14 '17 02:03 ganar

Hi. Bones is well done i think. The switches in the Backend are nice, to toggle specific css/js on and off.

Seems like the switches are useless, when you want do use the Foundation SCSS settings file. Because of that I'll try to start with a simple boilerplate and compile Sass files with Gulp (automatic browser reload on SCSS file and twig template changes): https://github.com/core77/grav-theme-foundation

core77 avatar Mar 14 '17 10:03 core77

Hi @core77: I saw the foundation theme that you referenced, but it looked that the last commit was a long time ago. Is the code of the theme up to date?

ganar avatar Mar 14 '17 13:03 ganar

I commited yesterday.

I'm the second one, who forked the repo. Perhaps you looked at another folk's fork.

core77 avatar Mar 14 '17 13:03 core77

I can see that in your fork: but where are all the foundation SCSS files? which version of foundation are you using?

ganar avatar Mar 14 '17 13:03 ganar

Doesn't make sense too keep them in the repo. There's a reference in the bower.json file.

Fire a bower install (or later bower update) and you have them in the bower_components folder.

core77 avatar Mar 14 '17 13:03 core77

Ah : ok. I'll try with your repo, forget about inheritance, and don't use bones. Thanks a lot for your help @core77

ganar avatar Mar 14 '17 13:03 ganar