I just worked a bit on Radix to make it work with the current D8 Beta6.

CommentFileSizeAuthor
#17 radix.png85.58 KBbwoods
#17 bootstrap.png125.54 KBbwoods
fix_radix_d8.patch3.79 KBk4v
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

k4v’s picture

Status: Active » Needs review
shadcn’s picture

Thanks. Actually we have a working Radix for d8. Not pushed yet. I'll push this over the weekend and we can work on it.

k4v’s picture

hi, could you push your changes please? I'm visiting dev days in montpellier and would like to work a bit with radix =).

k4v’s picture

Status: Needs review » Needs work
shadcn’s picture

Assigned: Unassigned » shadcn

Will do. Thanks.

shadcn’s picture

This is now pushed to branch 8.x-3.x. Thanks for all your help.

capfive’s picture

Where can we get 8.x-3.x?

shadcn’s picture

You can get it here: https://github.com/radixtheme/radix/tree/8.x-3.x

Not sure if it will work correctly with the latest beta. It has been not been tested yet.

capfive’s picture

working with mine :) but i can't get the sub theme to work, I guess it's all part of the beta testing! I will post a new issue based on this

pyxio’s picture

does d8 version work yet? the drush commands for quick setup do not work since they are for d7. if this works, can you provide a quick setup version for d8 too? thanks so much for this great theme.

shadcn’s picture

Yes the 8.x-3.0-alpha1 works. Here's a quick guide:

  1. Download Radix 8.x-3.0-alpha1 to /themes.
  2. Enable the Radix theme: drush en radix (Note: the drush command fails if Radix is not enabled).
  3. Generate a new subtheme: drush radix "Subtheme"
  4. Go to Appearance and enable your new subtheme.
  5. Go to the root of subtheme cd /themes/subtheme and run npm run setup.
  6. When done, update the browserSyncProxy value in config.json
  7. Run gulp to watch and compile Scss.

Note: not all elements have been ported yet. We're still working on it. But this shouldn't be an issue if you're using a subtheme and not the Radix theme itself.

shadcn’s picture

Quick tip: if you look at the SUBTHEME.style.scss file under /themes/subtheme/scss, you will see that the Bootstrap Sass files are imported individually. This means you can choose which ones you need.

Comment out the partials you don't need in your subtheme.

capfive’s picture

Great tips guys!

Thanks to #11 and #12!

pyxio’s picture

@arshadcn - works perfectly. thanks much!

bwoods’s picture

I followed #11 but noticed that I didn't have a bootstrap sass directory. I ended up copying the stylesheet files from https://github.com/twbs/bootstrap-sass, which seems to solve the issue. One thing I'm a little confused about, though, are the options within the Appearance admin section. For the bootstrap theme, there are a few additional options that are not present with the Radix theme. Is this accurate, or do I have something else wrong with my setup? Thanks!

shadcn’s picture

@bwoods which options? Can you send a screenshot please?

bwoods’s picture

FileSize
125.54 KB
85.58 KB

@arshadcn - Thanks for the quick response. I've uploaded a screenshot of both Bootstrap and Radix appearance settings. You can see that there are a fair number of settings available through Bootstrap but not Radix. I just wasn't sure if Radix should contain these settings or if I should account for the items I want to use/edit directly in the code. Thanks again!

steveoriol’s picture

Hello,
I use a subtheme of Radix create with procedure #11 on D8.0.6
It is works well, gulp rebuild and reloading the browser...
but I need to "Flush all caches" each time I modify an scss to really see my modifications.
Do you how why ?

shadcn’s picture

@bwoods Yes. We don't have theme settings in Radix (for now). Everything is done in code.

@steveoriol, do you have caching on? See https://www.chapterthree.com/blog/how-to-turn-off-drupal-8-caching on how to turn off caching.

steveoriol’s picture

@arshadcn, thank you for the link, it works perfectly now :-)

shadcn’s picture

Status: Needs work » Fixed

Marking this as fixed.

shadcn’s picture

shadcn’s picture

Status: Fixed » Closed (fixed)

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