Hi,

Thank you for your happy help, arshadcn !

The subtheme drush command create a SUBTHEME.style.scss file which contains an compass import. But compass isn't used now, if I don't mistake...

Gulp notify the error :

gulp-notify: [Gulp] Error: scss/oculus.style.scss
17:1 File to import not found or unreadable: compass
Parent style sheet: stdin

Is the solution to delete the next line in the SUBTHEME.style.scss file ?

@import "compass";

Comments

FO created an issue. See original summary.

shadcn’s picture

Yep. If you don't need compass, you can comment the line and run gulp.

FO’s picture

Thank you !
But is it always possible to use compass with node-sass ?
I'm going to make some tests...

FO’s picture

In fact, I've another problem...
To make some tests, I made another subtheme but Bootstrap isn't imported.
Bootstrap must be imported with the "npm run setup" command ?

My bower version is 1.7.9
Gulp : CLI version 3.9.1 - Local version 3.9.1
npm : 3.8.9
nodejs : v6.2.0

shadcn’s picture

npm run setup will install all dependencies. gulp will create the CSS files and watch for changes.

FO’s picture

Yes... Gulp can't create the CSS files because don't find bootstrap files...
npm run setup normally installs bootstrap-sass ?

shadcn’s picture

Yeah it should install it. If not try installing it using: bower install bootstrap-sass.

FO’s picture

Ok ! Thanks ! bootstrap-sass is well installed !

Now gulp notify a new error :

gulp-notify: [Gulp] Error: ../radix/scss/radix/_form.scss
50:5 ".media-widget > a" failed to @extend "%btn".
The selector "%btn" was not found.
Use "@extend %btn !optional" if the extend should be able to fail.

Is my subtheme.info.yml correct ?

name: oculi
description: A theme based on Radix.
screenshot: screenshot.png
# core: 8.x
# version: VERSION
engine: twig
type: theme
base theme: radix

regions:
navbar_branding: 'Navbar branding'
navbar_left: 'Navbar left'
navbar_right: 'Navbar right'
content: Content
footer: Footer

libraries:
- oculi/base

# Information added by Drupal.org packaging script on 2016-05-14
version: '8.x-3.0-alpha3'
core: '8.x'
project: 'radix'
datestamp: 1463212449

shadcn’s picture

Hmm, this is an old bug. Are you using the latest version? 7.x-3.4? We fixed this in the recent release.

FO’s picture

It's the 8.x-3.0-alpha3 version...
Yes, on drupal 7 installation I don't have this problem.. But I wanted to work with radix on drupal 8 installation.

Joachim Namyslo’s picture

I can confirm this bug is steill existing started using 8.3 yesterday, Noticed the same issues.

shadcn’s picture

Assigned: FO » shadcn
Status: Active » Needs work

@dinmikkith This has not been fixed in the 8.x branch yet. We'll do so today and release a new alpha. Thanks for helping test it.

shadcn’s picture

Status: Needs work » Fixed

This is fixed in the latest 8.x-3.0-alpha4 release.

shadcn’s picture

Status: Fixed » Closed (fixed)

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