Per discussion here: https://community.openatrium.com/dev/node/4412#comment-9642

I would like to open up a dialouge about how folks are tackling the subthemeing problem in radix.

What I have taken to doing looks like this:

(top portion of styles.sass)

@import "variables";
@import "../../../radix/assets/sass/radix-style";
@import "bootswatch";
@import "bootstrap-responsive";

Note that this is to bring in bootswatch themes, in most cases you can leave out the bootswatch import obviously! The key thing that I am doing here is importing the radix style SASS from the parent theme. This leads to somewhat of a lag with compass watch at times (sometimes I prune out unused bootstrap components if necessary in the parent Radix theme, which is obviously a no-no, but hey..!)

Then, I am sure to do this:

1. rename style.scss to radix-style.scss
2. I then update the .info file appropriately, to reflect the change stylesheets[all][] = assets/stylesheets/radix-style.css
3. This then overrides the parent theme's radix-style.css stylesheet

This allows you to provide a subtheme without having to maintain a seperate clone of twitter bootstrap, and without duplicating or supplanting the radix-style setup!

Might there be a better way? What say we?

Comments

shadcn’s picture

Assigned: Unassigned » shadcn

I have something awesome coming up ^^

shadcn’s picture

Status: Active » Fixed

See #1891590: Radix Quickstart Guide.

Make sure you're running the latest Radix. (Clone it from the repo).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.