Roots as Parent on Multisite

I am wanting to use Roots as a parent theme on a multisite. Roots will have many child themes hanging off of it. Is this possible and if so then how can I achieve it?

Thank you in advance.

Sure - wouldn’t be any different than using any other theme as a parent theme. Have you attempted it and ran into issues?

No I haven’t tried but I will and report back. Was just wondering how to handle the LESS compiling.

If you’re going to use Grunt like Roots does, you’d just need to have a Gruntfile in your child theme directory setup based on your needs

Awesome … I’m just learning Grunt so it will be a good exercise

Thank you so much

I am also trying to use my roots theme as a parent for different child themes but everything in /themes/child-theme/style.css is being ignored and I am guessing that it has to do with the fact that roots does not use the standard convention for linking to its own css

Can you recommend a good way to handle this?

Thanks — and btw I am really loving roots!

http://codex.wordpress.org/Function_Reference/get_template_directory_uri

https://github.com/roots/roots/blob/master/lib/scripts.php#L14

Thanks swalkinshaw!

So this is what I did and it seems to work great:

wp_enqueue_style('roots_main', get_template_directory_uri() . '/assets/css/main.min.css', false, 'd52a49b12771ea7017a180e6ae2eb0b4');

wp_enqueue_style('roots_child', get_stylesheet_directory_uri() . '/style.css', 'roots_main');

And passing that dependency parameter of ‘roots_main’ seems to negate the need for this in the child CSS:

@import url("../parent-theme/assets/css/main.min.css");

I want to test templates and functions in the child theme now but so-far-so-good